8000 docs(reference): tasks.md echo runs as /bin/echo in the task's box · gominimal/minimal@3fbcd2d · GitHub
[go: up one dir, main page]

Skip to content

docs(reference): tasks.md echo runs as /bin/echo in the task's box

Minimal Arch / arch-review succeeded Nov 30, 2026

PASS

Inputs. Re-review of #3875 at 3fbcd2dd, on arch d3d47292 (the same arch as all four earlier rulings). The latest ruling on this PR is a PASS at e80f0f3d. since-conditions.json is [], and that PASS closed any earlier conditions, so the compare is enough. No findings.json and no arch-map.md are staged. The compare is one docs commit on docs/reference/tasks.md (21 insertions, 17 deletions).

Governs. architecture.md Type nouns (line 473: min task run … [--network <mode>]) and minimal.toml layout (line 1296: [tasks.<name>] is sugar for [boxes.<name>] with a type). The design says nothing about the echo action or about where an inherit value is read.

Ruling. The compare changes three claims. (1) echo: the page now says min task run, in-session min run and mip run run /bin/echo in a sandbox, and only min run inside a mip run sandbox prints it directly. I checked this in the code. BoxSpec::for_task returns None only for an interactive task, so min task run takes the entrypoint path. The in-box min task run reaches BoxChannel::run_task in crates/minimald/src/env.rs, which has no echo branch. The short-circuit is in mctx EnvChannel::run_task (crates/mctx/src/env.rs:319). The daemon short-circuit in crates/minimald/src/exec/process.rs:499 is behind min://task/run, which today's min sends only from task_run_request, the interactive no-spec lane that load now refuses. The new text is correct. Note that this reverses the PR body's echo bullet. The body is stale, not the page. (2) inherit: reworded, and session becomes the task's box. This follows the box naming of line 1296. (3) none: the remedy now names network.mode and min task run --network, which line 473 backs. No requirement deviates. Same outcome as the four earlier rulings on this PR.

Not checked. Whether some other client sends min://task/run for an echo task and so reaches the daemon short-circuit. The page does not describe that path, and no build was run.

Ruled at 3fbcd2d against gominimal/arch@d3d472929d81 by claude-opus-5-5; arch_rulings 1790, job c66fc6bf-762b-4f14-90a9-8fc0eab0af8b.

0