8000 T30 — Run a command in a box with a terminal or detached, under an exec id · Issue #2404 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

T30 — Run a command in a box with a terminal or detached, under an exec id #2404

Closed

Description

@mitodrummer

Task

slice size difficulty model who estimated lines
Exec into a box L unknown ground strongest an agent 880 (460 code, 420 tests)

A detached command returns an id whose output reads back.

Covers:

  • BOX-149

Layers:

  • exec:
    • crates/minimald/src/exec.rs: argv unshelled; exec ids
    • crates/minimald/src/exec/process.rs: terminal, detached, timeout
    • crates/minimald/src/exec/bridge.rs: transcripts by exec id
    • crates/minimald/src/exec/tests.rs: tests
    • cargo nextest run -p minimald exec_runs_argv_unshelled_in_box_namespaces_and_cgroup
    • cargo nextest run -p minimald exec_into_non_running_box_refused_exit2_names_state
    • cargo nextest run -p minimald every_exec_gets_uuidv7_id
    • cargo nextest run -p minimald exec_tty_returns_reattachable_id_and_keeps_transcript
    • cargo nextest run -p minimald exec_detach_closes_stdin_captures_logs_and_wait_returns_code
    • cargo nextest run -p minimald exec_own_timeout_ends_exec_reason_timeout_box_keeps_running
  • wire:
    • crates/minimald-rpc/src/exec.rs: mode, timeout, exec id
    • crates/boxes/src/store.rs: transcripts beside record
    • cargo nextest run -p minimald-rpc exec_request_carries_mode_and_timeout

Waits on:

Plan block
### T30 — Run a command in a box with a terminal or detached, under an exec id
  slice: S7
  kind: task
  covers: BOX-149
  size: L
  est: 460 code, 420 tests
  executor: agent
  difficulty: unknown ground
  model: strongest
  diagnostics: daemon log names each exec's id and mode
  observability: one span per exec
  layers:
    - exec:
      - crates/minimald/src/exec.rs: argv unshelled; exec ids
      - crates/minimald/src/exec/process.rs: terminal, detached, timeout
      - crates/minimald/src/exec/bridge.rs: transcripts by exec id
      - crates/minimald/src/exec/tests.rs: tests
      test: cargo nextest run -p minimald exec_runs_argv_unshelled_in_box_namespaces_and_cgroup
      test: cargo nextest run -p minimald exec_into_non_running_box_refused_exit2_names_state
      test: cargo nextest run -p minimald every_exec_gets_uuidv7_id
      test: cargo nextest run -p minimald exec_tty_returns_reattachable_id_and_keeps_transcript
      test: cargo nextest run -p minimald exec_detach_closes_stdin_captures_logs_and_wait_returns_code
      test: cargo nextest run -p minimald exec_own_timeout_ends_exec_reason_timeout_box_keeps_running
    - wire:
      - crates/minimald-rpc/src/exec.rs: mode, timeout, exec id
      - crates/boxes/src/store.rs: transcripts beside record
      test: cargo nextest run -p minimald-rpc exec_request_carries_mode_and_timeout
  produces: none
  consumes: none
  proof: A detached command returns an id whose output reads back.
  depends on:
    - blocked by #2394
    - blocked by #2398

Activity

  1. added
    kind:taskA task the plan skill rendered; the body carries ## Task
    size:L500 to 900 net lines; one PR, and the ceiling
    model:strongestThe strongest model available: unknown ground, or large work that needs care
    on Oct 19, 2026
  2. minimal-foundry commented on Nov 2, 2026

    @minimal-foundry
    Contributor

    Done. #2843 merged.

    branch agent/2404-run-a-command-in-a-box-with-a-terminal-or-detach · epic #2236 · PR #2843

    round outcome job
    1 pushed 8280b9dc
    2 pushed 9dd00b7f
    3 pushed 72177fe2
    4 pushed 92954a62

    Updated 2026-11-02T21:00:10.075Z.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:taskA task the plan skill rendered; the body carries ## Taskmodel:strongestThe strongest model available: unknown ground, or large work that needs caresize:L500 to 900 net lines; one PR, and the ceiling

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0