Repository navigation
Closed
Labels
kind:taskA task the plan skill rendered; the body carries ## TaskA task the plan skill rendered; the body carries ## Taskmodel:strongestThe strongest model available: unknown ground, or large work that needs careThe strongest model available: unknown ground, or large work that needs careplan:enablementUnblocks other tasks: a lane, a gated path, a missing piece of the treeUnblocks other tasks: a lane, a gated path, a missing piece of the treesize:L500 to 900 net lines; one PR, and the ceiling500 to 900 net lines; one PR, and the ceiling
Description
Task
| slice | size | difficulty | model | who | estimated lines |
|---|---|---|---|---|---|
| Tasks leave exited boxes | L | needs care | strongest | an agent | 680 (380 code, 300 tests) |
A session starts the same shell, launched from its spec.
Covers:
- none
Layers:
- spec:
- crates/mfile/src/spec.rs: entrypoint, lifetime, terminal flag
cargo nextest run -p mfile spec_carries_entrypoint_lifetime_and_terminal_flag
- runtime:
- crates/minimald/src/box_runtime/launcher.rs: one launcher from the spec
- crates/minimald/src/box_runtime.rs: runs what the launcher starts
- crates/minimald/src/box_runtime/mock.rs: mock launches from spec
- crates/minimald/src/box_actor.rs: hands spec over, keeps hold
- crates/minimald/src/box_actor/host.rs:
launch_hostpasses the stored spec intoHostParams/session_launcher - crates/minimald/src/box_actor/launcher.rs: both
session_launchervariants (SandboxLauncher, MockLauncher) take the spec - crates/minimald/src/box_actor/tests.rs: tests
- crates/minimald/src/box_runtime/tests.rs: tests
cargo nextest run -p minimald launcher_starts_session_and_task_entrypoints_from_speccargo nextest run -p minimald actor_hands_stored_spec_to_launcher_and_keeps_hold
Widened by the maintainer (2026-11-02): the first run found the launch path runs through box_actor/host.rs (launch_host builds HostParams and calls session_launcher) and box_actor/launcher.rs (both launcher variants), so both are now in the runtime layer.
Waits on:
- T5 — Send the box's spec on the create request and store it with the record #2388
- T6 — Resume a stopped box from its stored spec #2393
- T8 — Remove and prune stopped boxes on purpose #2395
Plan block
### T42 — Start every box's entrypoint from its spec through one launcher
slice: S2
kind: enablement
covers: none
size: L
est: 380 code, 300 tests
executor: agent
difficulty: needs care
model: strongest
diagnostics: daemon log names each launch's entrypoint
observability: one span per launch
layers:
- spec:
- crates/mfile/src/spec.rs: entrypoint, lifetime, terminal flag
test: cargo nextest run -p mfile spec_carries_entrypoint_lifetime_and_terminal_flag
- runtime:
- crates/minimald/src/box_runtime/launcher.rs: one launcher from the spec
- crates/minimald/src/box_runtime.rs: runs what the launcher starts
- crates/minimald/src/box_runtime/mock.rs: mock launches from spec
- crates/minimald/src/box_actor.rs: hands spec over, keeps hold
- crates/minimald/src/box_actor/host.rs: launch_host passes the spec
- crates/minimald/src/box_actor/launcher.rs: session_launcher variants take the spec
- crates/minimald/src/box_actor/tests.rs: tests
- crates/minimald/src/box_runtime/tests.rs: tests
test: cargo nextest run -p minimald launcher_starts_session_and_task_entrypoints_from_spec
test: cargo nextest run -p minimald actor_hands_stored_spec_to_launcher_and_keeps_hold
produces: none
consumes:
- crates/mfile/src/spec.rs
proof: A session starts the same shell, launched from its spec.
depends on:
- blocked by #2388
- blocked by #2393
- blocked by #2395
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:strongestThe strongest model available: unknown ground, or large work that needs careThe strongest model available: unknown ground, or large work that needs careplan:enablementUnblocks other tasks: a lane, a gated path, a missing piece of the treeUnblocks other tasks: a lane, a gated path, a missing piece of the treesize:L500 to 900 net lines; one PR, and the ceiling500 to 900 net lines; one PR, and the ceiling
Activity
minimal-foundry commentedon Nov 2, 2026
Done. #2841 merged.
branch
agent/2399-start-every-box-s-entrypoint-from-its-spec-throu· epic #2236 · PR #2841380a63b0744e2e021dfa7c992f942ede8aa89b08Updated 2026-11-02T20:59:01.627Z.