Repository navigation
Closed
Labels
kind:taskA task the plan skill rendered; the body carries ## TaskA task the plan skill rendered; the body carries ## Taskmodel:standardA standard model: work that needs care, or routine work that is largeA standard model: work that needs care, or routine work that is largesize:M200 to 500 net lines; one PR200 to 500 net lines; one PR
Description
Task
| slice | size | difficulty | model | who | estimated lines |
|---|---|---|---|---|---|
| Run commands inside a box | M | routine | standard | an agent | 480 (240 code, 240 tests) |
min box showlists a box's live execs, and--exec <id>reads, waits on or stops one of them.
Covers:
- BCLI-067
- BCLI-055
- BCLI-056
- BCLI-057
Layers:
- client:
- crates/minimal/src/cli.rs: the verb's arguments and help in the one command model
- crates/minimal/src/cmd/boxes/show.rs: lists the box's live execs
- crates/minimal/src/cmd/boxes/exec.rs:
--exec <id>on stop and logs - crates/minimal/src/cmd/boxes/wait.rs:
--exec <id>on wait returns the exec's code - crates/minimal/src/main.rs:
failure_exit_codemaps this verb's refusals to their exit codes - crates/minimal/src/tests.rs: the in-process minimald test harness gains this layer's tests
cargo nextest run -p minimal box_show_lists_live_execscargo nextest run -p minimal box_stop_exec_stops_that_execcargo nextest run -p minimal box_logs_exec_prints_exec_outputcargo nextest run -p minimal box_wait_exec_returns_exec_code
Waits on:
- T15 — Run a command in a running box #2905
- T8 — Wait on a box and return its exit code #2896
- T31 — Keep terminal and detached execs past a client loss, stop one exec, and honour exec_enabled #2406
- minimald: ShowBox never fills live_execs, so min box show lists no running exec (BOX-159) #3205 (minimald fills
ShowBoxResponse.live_execs, as rows of id, argv and PTY flag; added by the owner 2026-11-09)
Plan block
### T16 — See, read, wait on and stop one exec
slice: S4
kind: task
covers: BCLI-067, BCLI-055, BCLI-056, BCLI-057
size: M
est: 240 code, 240 tests
executor: agent
difficulty: routine
model: standard
diagnostics: `min box show <box>` lists each live exec as its id, its command, and "terminal" or "detached", pinned by box_show_lists_live_execs
observability: the command's existing tracing span records the verb, the box id it resolved and the outcome
layers:
- client:
- crates/minimal/src/cli.rs: the verb's arguments and help in the one command model
- crates/minimal/src/cmd/boxes/show.rs: lists the box's live execs
- crates/minimal/src/cmd/boxes/exec.rs: `--exec <id>` on stop and logs
- crates/minimal/src/cmd/boxes/wait.rs: `--exec <id>` on wait returns the exec's code
- crates/minimal/src/main.rs: `failure_exit_code` maps this verb's refusals to their exit codes
- crates/minimal/src/tests.rs: the in-process minimald test harness gains this layer's tests
test: cargo nextest run -p minimal box_show_lists_live_execs
test: cargo nextest run -p minimal box_stop_exec_stops_that_exec
test: cargo nextest run -p minimal box_logs_exec_prints_exec_output
test: cargo nextest run -p minimal box_wait_exec_returns_exec_code
produces: none
consumes:
- crates/minimal/src/cmd/boxes/wait.rs
proof: `min box show` lists a box's live execs, and `--exec <id>` reads, waits on or stops one of them.
depends on:
- blocked by #2905
- blocked by #2896
- blocked by #2406
- blocked by #3205
Reacted by minimal-foundry
Metadata
Metadata
Assignees
Labels
kind:taskA task the plan skill rendered; the body carries ## TaskA task the plan skill rendered; the body carries ## Taskmodel:standardA standard model: work that needs care, or routine work that is largeA standard model: work that needs care, or routine work that is largesize:M200 to 500 net lines; one PR200 to 500 net lines; one PR
Activity
minimal-foundry commentedon Nov 10, 2026
Done. #3232 merged.
branch
agent/2913-see-read-wait-on-and-stop-one-exec· epic #2879 · PR #323242f6b7a885ee954d0231122dUpdated 2026-11-10T19:24:26.470Z.