8000 T123 — A piped stdin reaches a task box's task · Issue #3055 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

T123 — A piped stdin reaches a task box's task #3055

Closed

Description

@agent-137

Task

slice size difficulty model who estimated lines
Tasks leave exited boxes M needs care strongest an agent 420 (220 code, 200 tests)

A piped or redirected stdin reaches the task: printf 'x\n' | min task run t gives the task x, and cat q.sql | min task run query > out.csv works (architecture.md line 493).

Covers:

  • BOX-038

Layers:

  • helper:
    • crates/minimald/src/env_min_helper.sh: the in-box min task run forwards its stdin over the minenv run request and closes it at EOF
    • crates/minimald/src/env.rs: the minenv run protocol carries stdin from the helper to the task, then its EOF
    • cargo nextest run -p minimald minenv_run_forwards_stdin_to_the_task
  • daemon:
    • crates/minimald/src/exec/process.rs: the in-box task run feeds the forwarded stdin to the task's stdin pipe
    • cargo nextest run -p minimald task_run_pipes_stdin_through_the_in_box_helper
  • e2e:
    • scripts/session-e2e.sh: a task-run step pipes stdin and checks the task read it, and that stdout is the task's alone
    • crates/minimal/src/cli.rs: min task run --help says a piped or redirected stdin goes to the task

Waits on:

Plan block
### T123 — A piped stdin reaches a task box's task
  slice: S2
  kind: task
  covers: BOX-038
  size: M
  est: 220 code, 200 tests
  executor: agent
  difficulty: needs care
  model: strongest
  diagnostics: a stdin that cannot be forwarded fails the run naming why, never a task that silently reads nothing
  observability: the task_run span records whether stdin was forwarded
  layers:
    - helper:
      - crates/minimald/src/env_min_helper.sh: the in-box min task run forwards its stdin over the minenv run request and closes it at EOF
      - crates/minimald/src/env.rs: the minenv run protocol carries stdin from the helper to the task, then its EOF
      test: cargo nextest run -p minimald minenv_run_forwards_stdin_to_the_task
    - daemon:
      - crates/minimald/src/exec/process.rs: the in-box task run feeds the forwarded stdin to the task's stdin pipe
      test: cargo nextest run -p minimald task_run_pipes_stdin_through_the_in_box_helper
    - e2e:
      - scripts/session-e2e.sh: a task-run step pipes stdin and checks the task read it, and stdout is the task's alone
      - crates/minimal/src/cli.rs: min task run --help says a piped or redirected stdin goes to the task
  produces: none
  consumes: none
  proof: A piped or redirected stdin reaches the task, so cat q.sql | min task run query > out.csv works.
  depends on:
    - blocked by #2405

Split from T43 (#2405, PR #2999) by the maintainer (2026-11-05). T43 gives the task box's entrypoint three pipes, but the entrypoint is the in-box helper min task run <task>, and it sends a run request over /run/minenv_sock without forwarding its own stdin. So the task reads nothing. Repro: printf 'piped-in\n' | min task run t with t = "read line; echo got:$line" prints got:.

Activity

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

    @minimal-foundry
    Contributor

    Done. #3086 merged.

    branch agent/3055-a-piped-stdin-reaches-a-task-box-s-task · epic #2236 · PR #3086

    round outcome job
    1 pushed 1d135aae
    2 pushed f834c1a7

    Updated 2026-11-07T00:12:19.630Z.

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:M200 to 500 net lines; one PR

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0