Repository navigation
Closed
Labels
kind:taskA task the plan skill rendered; the body carries ## TaskA task the plan skill rendered; the body carries ## Taskmodel:lightA light model is enough: routine work, small or mediumA light model is enough: routine work, small or mediumplan:integrationOwns the seam of a slice; its proof is the slice's observableOwns the seam of a slice; its proof is the slice's observablesize:SUnder 200 net lines; one PRUnder 200 net lines; one PR
Description
Task
| slice | size | difficulty | model | who | estimated lines |
|---|---|---|---|---|---|
| Exec into a box | S | routine | light | an agent | 160 (40 code, 120 tests) |
run a command in a running box with a terminal or detached, drop the client, and attach to it or read its output again by its exec id.
Covers:
- none
Layers:
- slice:
- crates/minimald/src/exec/tests.rs: tests
cargo nextest run -p minimald terminal_exec_reattached_by_id_after_client_drop
- e2e:
- scripts/session-e2e.sh: run an exec with argv unshelled in a real box's namespaces and cgroup, terminal and detached, through
just e2e
- scripts/session-e2e.sh: run an exec with argv unshelled in a real box's namespaces and cgroup, terminal and detached, through
Widened by the maintainer (2026-11-02), from arch's review of T30 (#2843): exec_runs_argv_unshelled_in_box_namespaces_and_cgroup does not run in a real box, so the in-box run is owed to just e2e. This task adds it to scripts/session-e2e.sh.
Waits on:
- T30 — Run a command in a box with a terminal or detached, under an exec id #2404
- T50 — Prove a plain exec ends when its client drops #2382
- T31 — Keep terminal and detached execs past a client loss, stop one exec, and honour exec_enabled #2406
Plan block
### T32 — Exec into a box, end to end
slice: S7
kind: integration
covers: none
size: S
est: 40 code, 120 tests
executor: agent
difficulty: routine
model: light
diagnostics: daemon log names exec id throughout
observability: one span covers drop and re-attach
layers:
- slice:
- crates/minimald/src/exec/tests.rs: tests
test: cargo nextest run -p minimald terminal_exec_reattached_by_id_after_client_drop
- e2e:
- scripts/session-e2e.sh: exec in a real box, terminal and detached
produces: none
consumes: none
proof: run a command in a running box with a terminal or detached, drop the client, and attach to it or read its output again by its exec id.
depends on:
- blocked by #2404
- blocked by #2382
- blocked by #2406
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:lightA light model is enough: routine work, small or mediumA light model is enough: routine work, small or mediumplan:integrationOwns the seam of a slice; its proof is the slice's observableOwns the seam of a slice; its proof is the slice's observablesize:SUnder 200 net lines; one PRUnder 200 net lines; one PR
Activity
minimal-foundry commentedon Nov 4, 2026
Done. #2986 merged.
branch
agent/2408-exec-into-a-box-end-to-end· epic #2236 · PR #29862ad1919d5b1eb50050102055Updated 2026-11-04T16:24:58.250Z.