8000 fix(minimal): T70 — A task-entry start sends its requested name by minimal-foundry[bot] · Pull Request #3791 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

fix(minimal): T70 — A task-entry start sends its requested name - #3791

Merged
mitodrummer merged 4 commits into
mainfrom
agent/3196-a-task-entry-start-sends-its-requested-name
Nov 25, 2026
Merged

mitodrummer merged 4 commits into
mainfrom
agent/3196-a-task-entry-start-sends-its-requested-name

Conversation

@minimal-foundry
@minimal-foundry minimal-foundry Bot commented Nov 25, 2026 •
Copy link
Copy Markdown
Contributor

T70 — A task-entry start sends its requested name

slice: S3
kind: task
covers: BCLI-029, BCLI-069, BCLI-079, BCLI-080
size: S
est: 75 code, 145 tests
executor: agent
difficulty: routine
model: standard
depends on:
- blocked by #3752
- blocked by #3753
diagnostics: none new
observability: none new
layers:
- cli:
- crates/minimal/src/task.rs: RunEntry carries box_name; run_entry puts it on request.config.name before put_task_spec and stops calling request_fresh_instance; put_task_spec writes no box name into the spec and takes the request name from --name, else [box] name
- crates/minimal/src/cmd/boxes/create.rs: plan_start passes --name to RunEntry; NameUnsupported (variant, exit code, Display, plan_start arm, interim comment) and its start_refusals_escape_entry_names row are removed
- crates/minimal/src/main.rs: start_entry_refusals_exit_with_their_codes loses the NameUnsupported row
- crates/minimal/src/tests.rs: the five new tests; run_and_start_new_request_fresh_instance and create_verbs_name_flag_overrides_box_name stop pinning the run path's fresh-instance request and the refusal
test: cargo nextest run -p minimal task_entry_start_sends_name_flag_as_requested_name task_entry_start_sends_box_name_from_entry task_entry_start_without_name_sends_no_requested_name task_spec_stores_no_box_name interactive_task_name_flag_is_written
produces: none
consumes: none
proof: the five tests pass, and git grep -n NameUnsupported -- crates prints nothing.


This is a residual of epic #2879 (BCLI).

Proof

The five tests pass, and git grep -n NameUnsupported -- crates prints nothing. min box start <task entry> --name api sends api as the requested name. Without --name it sends the entry's [box] name, else no name. The stored task spec carries no box name.

What changes for the user (at ad584c2e)

  • min box start <task entry> --name <name> creates the box as <name>. Before, it refused with exit 2.
  • min task run <task> --name <name> and min box run <entry> --name <name> are new. The box takes <name>.
  • Without --name, min box start, min task run and min box run of a task entry use the entry's [box] name. Without that, the box takes the derived name <project>-<entry>, with -<n> only when that name is taken. Before, every run box was a fresh instance, <project>-<entry>-<n>, so the first run is now <project>-<entry> with no number.
  • The stored task spec carries no box name. The name lives only in the box record.
  • docs/reference/cli-min.md lists --name for task run and box run and gives the naming rule.

Also delivers #3212 (--name on min task run and min box run), so this PR closes it.

Known gap: #3792

An interactive task (a task whose box has a terminal) sends no Box Spec, so the daemon has no entry to derive a name from. Without --name, min box start of an interactive task still names the box <entry>-<n> (a fresh instance) and does not read the entry's [box] name. With --name, the name is written and exact. Arch accepted this fallback at ad584c2e. #3792 tracks the fix.

Files outside T70's layers

  • crates/minimal/tests/cli.rs: task_run_exits_with_held_open_stdin_pipe pinned the old fresh-instance name <project>-e2e-echo-1. A free derived name now takes no number.
  • crates/minimal/src/cli.rs: arch C1 at f1513689 adds --name to TaskRunArgs and BoxRunArgs and removes the interim comment.
  • scripts/session-e2e.sh: two checks matched the kept task box as <project>-<task>-<n>. They now accept <project>-<task> with an optional -<n>.
  • docs/reference/cli-min.md: arch C1 at 1b31e9fc adds the --name rows and replaces the <TASK>-<n> / <ENTRY>-<n> text.
  • crates/minimal-client/src/box_name.rs: arch C2 corrects a test comment. Only --new asks for a fresh instance now.

Notes

The tests.rs allowlist in every_create_session_asserts_the_daemon_build gets two entries for the new request sites (task_create_request, interactive_task_name_flag_is_written). The helper's return type uses a local alias TaskCreate, because cli_create_requests_use_the_constructor flags a wrapped -> ...CreateSessionRequest { line.

Arch: PASS with no conditions at ad584c2e (arch_rulings 1692), after revise rounds 1 and 2 met C1 and C2. CI is green at ad584c2e.

Tests

line exit tail
cargo nextest run -p minimal task_entry_start_sends_name_flag_as_requested_name task_entry_start_sends_box_name_from_entry task_entry_start_without_name_sends_no_requested_name task_spec_stores_no_box_name interactive_task_name_flag_is_written 0 warning: unknown fields in task runtime-implement-test-0: network help: do you need to update to a newer version of minimal? Running task runtime-implement-test-0 in box runtime-implement-test-0-1... Compiling paths v0.0.1 (/workbench/crates/paths) Compiling ot v0.0.1 (/workbench/crates/ot)

Verify

min task run agent-verify exited 100, so this PR is a draft. The failure is the known flake #3483 (exec_run_attach_and_task_run_share_the_commands_trace), outside this diff. The output below is from the first head, f1513689.

/1283) minimal::bin/min tests::invalid_project_file_prints_toml_error_once
        PASS [   0.007s] (1258/1283) minimal::bin/min tests::invalid_project_file_prints_toml_error_once_for_io
        PASS [   0.007s] (1259/1283) minimal::bin/min tests::loadout_not_found_exits_4
        PASS [   0.010s] (1260/1283) minimal::bin/min tests::local_host_not_found_exits_4
        PASS [   0.009s] (1261/1283) minimal::bin/min tests::machine_mode_answers_write_failures
        PASS [   0.012s] (1262/1283) minimal::bin/min tests::machine_mode_error_line_keeps_an_empty_hint
        PASS [   0.008s] (1263/1283) minimal::bin/min tests::machine_mode_error_object_is_one_stamped_line
        PASS [   0.009s] (1264/1283) minimal::bin/min tests::machine_mode_error_object_on_stderr
        PASS [   0.009s] (1265/1283) minimal::bin/min tests::machine_mode_names_the_grant_refusal_code
        PASS [   0.007s] (1266/1283) minimal::bin/min tests::machine_output_mode_keys_on_the_output_flag
        PASS [   0.008s] (1267/1283) minimal::bin/min tests::misplaced_run_flag_exits_2
        PASS [   0.008s] (1268/1283) minimal::bin/min tests::network_flag_refusal_exits_2
        PASS [   0.007s] (1269/1283) minimal::bin/min tests::project_file_not_found_exits_4
        PASS [   0.008s] (1270/1283) minimal::bin/min tests::prune_off_tty_needs_yes_exits_2
        PASS [   0.009s] (1271/1283) minimal::bin/min tests::resume_and_session_attach_refusals_map_to_exit_codes
        PASS [   0.008s] (1272/1283) minimal::bin/min tests::rm_running_box_refuses_naming_force_with_exit_2
        PASS [   0.008s] (1273/1283) minimal::bin/min tests::row_not_back_exit_codes
        PASS [   0.008s] (1274/1283) minimal::bin/min tests::run_verbs_and_wait_timeout_return_124_with_code_timeout
        PASS [   0.009s] (1275/1283) minimal::bin/min tests::start_entry_refusals_exit_with_their_codes
        PASS [   0.009s] (1276/1283) minimal::bin/min tests::task_file_invalid_exits_3
        PASS [   0.008s] (1277/1283) minimal::bin/min tests::task_network_key_a_task_does_not_apply_exits_3
        PASS [   0.008s] (1278/1283) minimal::bin/min tests::task_not_found_exits_4
        PASS [   0.009s] (1279/1283) minimal::bin/min tests::task_run_is_a_stdout_contract
        PASS [   0.008s] (1280/1283) minimal::bin/min tests::type_refusals_exit_3_and_4
        PASS [   0.991s] (1281/1283) minimal::otel_cli a_silent_collector_costs_min_ls_little_and_prints_nothing
        PASS [   2.063s] (1282/1283) minimal::named_vm named_vm_reaches_autospawn
  stdout ───

    running 1 test
    test exec_run_attach_and_task_run_share_the_commands_trace ... FAILED

    failures:

    failures:
        exec_run_attach_and_task_run_share_the_commands_trace

    test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 5 filtered out; finished in 13.27s

  stderr ───

    ]
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

  Cancelling due to test failure: 
────────────
error: test run failed

Closes #3196
Closes #3212

min box start <task entry> --name <name> now sends <name> as the
requested name, and the run path sends the entry's [box] name, else no
name. The run path no longer asks for a fresh instance, and the task's
stored spec carries no box name. The interim --name refusal is gone.
The run path no longer asks for a fresh instance, so a task box under a
free derived name takes no number. Fix the constructor-lint hit in the
new task-request helper, and apply rustfmt.
@coderabbitai
coderabbitai Bot commented Nov 25, 2026 •
Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

Ask an organization administrator to verify that this bot has an active assigned CodeRabbit review seat. See the seat-assignment guide. After the seat is confirmed, request a review again.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c6368eed-a58f-4861-b7f9-20d1881e047e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@agent-137
Copy link
Copy Markdown
Member

Draft reasons: (1) the known flake #3483 (exec_run_attach_and_task_run_share_the_commands_trace), outside this diff; (2) crates/minimal/tests/cli.rs, outside the plan's declared files. That change is needed. task_run_exits_with_held_open_stdin_pipe expected <project>-<task>-1, and with no fresh-instance request a task box with no requested name takes <project>-<task>. The plan missed the file. It stays a draft for the owner.

@agent-137
Copy link
Copy Markdown
Member

/arch-review

@minimal-arch minimal-arch Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arch-review: CONDITIONS · 2 conditions · the full ruling

The task-entry start conforms to "Box names" (architecture.md lines 401-407). --name is the written name, else [box] name, else no name, and the daemon numbers only a derived name. The PR closes #3196, but min task run and min box run still have no --name. The design gives it to run (line 488). The interim comment on TaskRunArgs says to add the flag when RunEntry takes a name, and this PR adds that name. C1 adds the flag to both run verbs and removes the interim. C2 corrects two comments that still say every run is a fresh instance.

Ruled at f151368 against gominimal/arch@4f2eb87d5d12 by claude-opus-5-5.

Comment thread crates/minimal/src/task.rs Outdated
network: args.network,
egress: args.egress,
other: args.other,
box_name: None,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C1 · This sets box_name: None for min task run. The design gives --name to run (architecture.md line 488). Add --name to TaskRunArgs and set box_name: args.name here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 1b31e9fcd6f9: Added --name to TaskRunArgs, and From now sets box_name: args.name. A test asserts that RunEntry carries it.

Comment thread crates/minimal/src/task.rs Outdated
network: args.network,
egress: args.egress,
other: args.other,
box_name: None,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C1 · Do the same for min box run. Add --name to BoxRunArgs and set box_name: args.name here. Then move run --name out of DEFERRED_ARCH_FLAGS.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 1b31e9fcd6f9: Added --name to BoxRunArgs, set box_name: args.name, and moved run --name out of DEFERRED_ARCH_FLAGS into the expected run flags.

// The run path takes no `--name`, so the start refuses that flag
// rather than drop it. That refusal is the #3196 interim: remove it
// when `RunEntry` takes a name.
// `--name` reaches the run path as the requested name (BCLI-069).
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BCLI-069 · This start path conforms to lines 401-402. The run verbs still lack the flag, and C1 adds it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 1b31e9fcd6f9: The run verbs now take --name too (see the C1 threads), so start, min box run and min task run all send it as the requested name.

BCLI-069 gives --name to the run verbs as well as to start. RunEntry
now carries it as the requested name, so both run verbs name the box
exactly <name>. A task argument called --name now goes after --.

The run path asks for no fresh instance, so a task box under a free
derived name takes no number. The session e2e now accepts the
<project>-<task> name with an optional -<n>.
@minimal-foundry
Copy link
Copy Markdown
Contributor Author

Round 1 of 10 on a failed check suite, pushed as 1b31e9fcd6f9.

line exit tail
cargo nextest run -p minimal task_entry_start_sends_name_flag_as_requested_name task_entry_start_sends_box_name_from_entry task_entry_start_without_name_sends_no_requested_name task_spec_stores_no_box_name interactive_task_name_flag_is_written 0 warning: unknown fields in task runtime-implement-test-0: network help: do you need to update to a newer version of minimal? Running task runtime-implement-test-0 in box runtime-implement-test-0-1... Compiling paths v0.0.1 (/workbench/crates/paths) Compiling ot v0.0.1 (/workbench/crates/ot)

Verify min task run agent-verify exited 100.

/1283) minimal::bin/min tests::invalid_project_file_prints_toml_error_once
        PASS [   2.073s] (1258/1283) minimal::named_vm named_vm_reaches_autospawn
        PASS [   0.009s] (1259/1283) minimal::bin/min tests::invalid_project_file_prints_toml_error_once_for_io
        PASS [   0.008s] (1260/1283) minimal::bin/min tests::loadout_not_found_exits_4
        PASS [   0.009s] (1261/1283) minimal::bin/min tests::local_host_not_found_exits_4
        PASS [   0.013s] (1262/1283) minimal::bin/min tests::machine_mode_answers_write_failures
        PASS [   1.043s] (1263/1283) minimal::otel_cli a_silent_collector_costs_min_ls_little_and_prints_nothing
        PASS [   0.018s] (1264/1283) minimal::bin/min tests::machine_mode_error_line_keeps_an_empty_hint
        PASS [   0.013s] (1265/1283) minimal::bin/min tests::machine_mode_error_object_is_one_stamped_line
        PASS [   0.009s] (1266/1283) minimal::bin/min tests::machine_output_mode_keys_on_the_output_flag
        PASS [   0.013s] (1267/1283) minimal::bin/min tests::machine_mode_names_the_grant_refusal_code
        PASS [   0.016s] (1268/1283) minimal::bin/min tests::machine_mode_error_object_on_stderr
        PASS [   0.009s] (1269/1283) minimal::bin/min tests::network_flag_refusal_exits_2
        PASS [   0.011s] (1270/1283) minimal::bin/min tests::misplaced_run_flag_exits_2
        PASS [   0.010s] (1271/1283) minimal::bin/min tests::project_file_not_found_exits_4
        PASS [   0.010s] (1272/1283) minimal::bin/min tests::resume_and_session_attach_refusals_map_to_exit_codes
        PASS [   0.011s] (1273/1283) minimal::bin/min tests::prune_off_tty_needs_yes_exits_2
        PASS [   0.011s] (1274/1283) minimal::bin/min tests::rm_running_box_refuses_naming_force_with_exit_2
        PASS [   0.009s] (1275/1283) minimal::bin/min tests::run_verbs_and_wait_timeout_return_124_with_code_timeout
        PASS [   0.010s] (1276/1283) minimal::bin/min tests::row_not_back_exit_codes
        PASS [   0.009s] (1277/1283) minimal::bin/min tests::start_entry_refusals_exit_with_their_codes
        PASS [   0.008s] (1278/1283) minimal::bin/min tests::task_network_key_a_task_does_not_apply_exits_3
        PASS [   0.011s] (1279/1283) minimal::bin/min tests::task_not_found_exits_4
        PASS [   0.014s] (1280/1283) minimal::bin/min tests::task_file_invalid_exits_3
        PASS [   0.009s] (1281/1283) minimal::bin/min tests::task_run_is_a_stdout_contract
        PASS [   0.009s] (1282/1283) minimal::bin/min tests::type_refusals_exit_3_and_4
  stdout ───

    running 1 test
    test exec_run_attach_and_task_run_share_the_commands_trace ... FAILED

    failures:

    failures:
        exec_run_attach_and_task_run_share_the_commands_trace

    test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 5 filtered out; finished in 13.83s

  stderr ───

    ]
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

  Cancelling due to test failure: 
────────────
error: test run failed

Outside the task's layers::

  • crates/minimal/src/cli.rs
  • crates/minimal/tests/cli.rs
  • scripts/session-e2e.sh

Converted to a draft: verify exited 100; outside the task's layers:: crates/minimal/src/cli.rs, crates/minimal/tests/cli.rs, scripts/session-e2e.sh.

Review threads the coder judged:

  • 👍 valid — crates/minimal/src/task.rs: Added --name to TaskRunArgs, and From now sets box_name: args.name. A test asserts that RunEntry carries it.
  • 👍 valid — crates/minimal/src/task.rs: Added --name to BoxRunArgs, set box_name: args.name, and moved run --name out of DEFERRED_ARCH_FLAGS into the expected run flags.
  • 👍 valid — crates/minimal/src/cmd/boxes/create.rs:905: The run verbs now take --name too (see the C1 threads), so start, min box run and min task run all send it as the requested name.

The five named tests pass, and git grep -n NameUnsupported -- crates prints nothing. min box start <task entry> --name <name>, min task run --name <name> <task> and min box run --name <name> <entry> all send as the requested name.

Notes from the agent: Revise round 1. (1) native-daemon-e2e failed because scripts/session-e2e.sh still expected a task run's box to be --. The run path no longer asks for a fresh instance, so a free derived name takes no number (BCLI-070). Both name matches in the script (task_kept_check and the port-run check) now accept an optional -. shellcheck -S warning is clean. I did not run the e2e on this box. ci-linux-native-success is the lane aggregator and fails only because of that job. (2) Out of layers: crates/minimal/src/cli.rs gets --name on TaskRunArgs and BoxRunArgs (review threads C1). scripts/session-e2e.sh is out of layers for the e2e fix. (3) Behaviour change: min task run greet --name Alice now names the box, the same way --detach and --network already act after the task name. A task argument called --name must go after --. task_run_parses_task_and_path pins this. (4) docs/reference/cli-min.md may still omit --name on the run verbs. I did not change it because it is outside the scope of this round. (5) just clippy-strict was not run.

@agent-137
Copy link
Copy Markdown
Member

/arch-review

@minimal-arch minimal-arch Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arch-review: CONDITIONS · 2 conditions · the full ruling

The code part of C1 is done. min task run and min box run now take --name, and a written name stays exact, as architecture.md lines 404 and 488 require. Two items are still open. C1: docs/reference/cli-min.md does not list --name for task run and box run, and it still says each run box is <TASK>-<n>. C2: the comments on request_fresh_instance in create.rs and in box_name.rs still say that the run verbs ask for a fresh instance. Make these edits, and the change conforms.

Outside the diff

  • docs/reference/cli-min.md:381: C1 · This line says the box is <TASK>-<n>. That is false at this head. Write that the box takes --name, else [box] name, else <project>-<task>, with -<n> only when that name is taken. Add a --name <NAME> row to the table below.
  • docs/reference/cli-min.md:444: C1 · Replace "Each run creates a new box, named <ENTRY>-<n>." with the naming rule of C1. Add a --name <NAME> row to the table (architecture.md line 488).
  • crates/minimal/src/cmd/boxes/create.rs:3826: C2 · Remove "min task run and min box run create every box this way." run_entry no longer calls request_fresh_instance. Only --new calls it.
  • crates/minimal-client/src/box_name.rs:45: C2 · Replace "Only min task run asks for one." with "Only --new asks for one." The run path no longer asks for a fresh instance.

Ruled at 1b31e9f against gominimal/arch@4f2eb87d5d12 by claude-opus-5-5.

@agent-137
Copy link
Copy Markdown
Member

/revise Arch's ruling at 1b31e9f (CONDITIONS): C1 part (4) and C2. Edit only the four places below. Leave the code as it is.

  • C1, docs/reference/cli-min.md, task run (lines 380-384): replace the paragraph's naming sentences so it reads:
    "Runs a task that the project's minimal.toml declares, in a box of its own. The command exits with the task's exit code. The task runs without a terminal. Its stdin, stdout and stderr are the command's. The box takes the name given with --name, else the task's [box] name. Without either, the box is named <project>-<TASK>, with -<n> added when a box already holds that name. The box stays when the task ends: min box show <NAME> shows it and min box rm <NAME> removes it."
    Add the first row of the table below it: | --name | Name the box. This replaces the[box] name in minimal.toml |.
  • C1, docs/reference/cli-min.md, box run (line 444): replace "Each run creates a new box, named <ENTRY>-<n>." with "The box takes the name given with --name, else the entry's [box] name. Without either, the box is named <project>-<ENTRY>, with -<n> added when a box already holds that name." Add the same --name <NAME> row as the first row of its table.
  • C2, crates/minimal/src/cmd/boxes/create.rs, doc comment of request_fresh_instance (lines 3826-3827): remove the sentence "min task run and min box run create every box this way." Only --new calls it now.
  • C2, crates/minimal-client/src/box_name.rs, no_invented_directory_hex_name (lines 45-46): replace "Only min task run asks for one." with "Only --new asks for one."

Run just lint-prose docs/reference/cli-min.md and drive the edited lines to zero. Build and test -p minimal -p minimal-client: cargo nextest run -p minimal-client no_invented_directory_hex_name and cargo nextest run -p minimal task_run_parses_task_and_path. The verify failure in exec_run_attach_and_task_run_share_the_commands_trace is the known flake #3483.

The run verbs take --name and no longer ask for a fresh instance.
Update the CLI reference and two comments that said they did.
@minimal-foundry
Copy link
Copy Markdown
Contributor Author

Round 2 of 10 on a /revise note, pushed as ad584c2ea874.

line exit tail
cargo nextest run -p minimal task_entry_start_sends_name_flag_as_requested_name task_entry_start_sends_box_name_from_entry task_entry_start_without_name_sends_no_requested_name task_spec_stores_no_box_name interactive_task_name_flag_is_written 0 warning: unknown fields in task runtime-implement-test-0: network help: do you need to update to a newer version of minimal? Running task runtime-implement-test-0 in box runtime-implement-test-0-1... Compiling paths v0.0.1 (/workbench/crates/paths) Compiling ot v0.0.1 (/workbench/crates/ot)

Verify min task run agent-verify exited 100.

al-client tests::patch_uploads_map_sort_and_dedup_by_destination
        PASS [   0.013s] (1396/1419) minimal-client tests::set_vm_name_steers_the_default_resolvers
        PASS [   0.022s] (1397/1419) minimal-client tests::probe_git_info_reports_an_unborn_repository
        PASS [   0.009s] (1398/1419) minimal-client tests::socket_path_honors_override
        PASS [   0.009s] (1399/1419) minimal-client tests::socket_path_selects_the_minvmd_dir
        PASS [   0.009s] (1400/1419) minimal-client tests::the_gate_passes_a_match_refuses_a_skew_and_warns_under_the_override
        PASS [   0.008s] (1401/1419) minimal-client tests::the_native_backend_enumerates_no_vms
        PASS [   0.008s] (1402/1419) minimal-client tests::the_override_withholds_the_assertion_rather_than_softening_it
        PASS [   0.007s] (1403/1419) minimal-client tests::vm_name_must_fit_the_allowlist
        PASS [   0.055s] (1404/1419) minimal-client tests::probe_git_info_reports_branch_toplevel_and_worktree
        PASS [   0.026s] (1405/1419) minimal-client tty_relay::tests::chord_bytes_pass_through_unmodified
        PASS [   0.027s] (1406/1419) minimal-client tty_relay::tests::client_raw_mode_matches_ssh_raw_set
        PASS [   0.045s] (1407/1419) minimal-client tty_relay::tests::client_signal_restores_termios_and_reaches_ssh
        PASS [   0.038s] (1408/1419) minimal-client tty_relay::tests::relay_copies_bytes_both_ways_in_order
        PASS [   0.081s] (1409/1419) minimal-client tty_relay::tests::ssh_exit_status_maps_unchanged
        PASS [   1.020s] (1410/1419) minimal-client tty_relay::tests::run_interactive_attach_runs_a_suspend_hook_to_completion
        PASS [   0.029s] (1411/1419) minimal-client tty_relay::tests::suspend_and_resume_are_idempotent
        PASS [   0.028s] (1412/1419) minimal-client tty_relay::tests::suspend_hands_back_attach_start_termios
        PASS [   1.034s] (1413/1419) minimal-client tty_relay::tests::ssh_exit_while_suspended_leaves_terminal_restored
        PASS [   0.021s] (1414/1419) minimal-client tty_relay::tests::termios_restored_on_panic
        PASS [   0.022s] (1415/1419) minimal-client tty_relay::tests::termios_restored_on_transport_drop
        PASS [   0.080s] (1416/1419) minimal-client tty_relay::tests::winsize_follows_sigwinch
        PASS [   1.138s] (1417/1419) minimal-client tty_relay::tests::suspend_keeps_head_and_drops_tail_past_bound
        PASS [   4.449s] (1418/1419) minimal-client tty_relay::tests::resume_after_drop_prints_line_and_nudges_winsize
  stdout ───

    running 1 test
    test exec_run_attach_and_task_run_share_the_commands_trace ... FAILED

    failures:

    failures:
        exec_run_attach_and_task_run_share_the_commands_trace

    test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 5 filtered out; finished in 13.47s

  stderr ───

    ]
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

  Cancelling due to test failure: 
────────────
error: test run failed

Outside the task's layers::

  • crates/minimal-client/src/box_name.rs
  • crates/minimal/src/cli.rs
  • crates/minimal/tests/cli.rs
  • docs/reference/cli-min.md
  • scripts/session-e2e.sh

Converted to a draft: verify exited 100; outside the task's layers:: crates/minimal-client/src/box_name.rs, crates/minimal/src/cli.rs, crates/minimal/tests/cli.rs, docs/reference/cli-min.md, scripts/session-e2e.sh.

The five task tests pass, and git grep -n NameUnsupported -- crates prints nothing. The CLI reference now says that min task run and min box run take --name, and how they name the box without it.

Notes from the agent: This round made only the four edits that the directive names. The code is unchanged. docs/reference/cli-min.md and crates/minimal-client/src/box_name.rs are outside the task layers. The directive asked for these edits by name. just lint-prose docs/reference/cli-min.md did not run: vale is not installed on this box. The prose lane must lint the edited lines.

@agent-137
Copy link
Copy Markdown
Member

/arch-review

@minimal-arch minimal-arch Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arch-review: PASS · the full ruling

The fix commit closes both open conditions. C1 is met: docs/reference/cli-min.md now gives --name on task run and box run. It describes the written and derived names as the Box names rule states them (architecture.md lines 401-404). C2 is met: the request_fresh_instance and no_invented_directory_hex_name comments now name only --new. Nothing is left to do for the design.

Ruled at ad584c2 against gominimal/arch@4f2eb87d5d12 by claude-opus-5-5.

@mitodrummer mitodrummer left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. The five files outside the task's layers are accepted.

@agent-137
agent-137 marked this pull request as ready for review November 25, 2026 15:07
@agent-137
agent-137 requested a review from a team as a code owner November 25, 2026 15:07
@mitodrummer
mitodrummer added this pull request to the merge queue Nov 25, 2026
@minimal-foundry
minimal-foundry Bot commented Nov 25, 2026 •
Copy link
Copy Markdown
Contributor Author

Reviewed: no findings; approval withheld, 3 threads unresolved at ad584c2ea874.

APPROVE withheld: 3 unresolved threads — minimal-arch[bot] crates/minimal/src/task.rs, minimal-arch[bot] crates/minimal/src/task.rs, minimal-arch[bot] crates/minimal/src/cmd/boxes/create.rs:905. Resolving the last thread releases the approval on this head.

Resolve the open threads. Resolving the last one releases the approval on this head; no new review is required.

Verdict APPROVE, posted as a comment: the App cannot review its own pull request; the check and the label carry it.

Clobber: none seen.

@minimal-foundry minimal-foundry Bot left a comment
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minimal-review — approval withheld

Verdict COMMENT — APPROVE withheld: 3 unresolved threads — minimal-arch[bot] crates/minimal/src/task.rs, minimal-arch[bot] crates/minimal/src/task.rs, minimal-arch[bot] crates/minimal/src/cmd/boxes/create.rs:905. No findings.

Panel: 3 of 3 personas ran (correctness, security, supply-chain).

Merged via the queue into main with commit a45436d Nov 25, 2026
41 checks passed
@mitodrummer
mitodrummer deleted the agent/3196-a-task-entry-start-sends-its-requested-name branch November 25, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

min task run and min box run take --name, sent as the requested name min box start of a task entry sends --name or [box] name as the requested name

2 participants

0