diff --git a/docs/tools/bash.md b/docs/tools/bash.md index 6f2134f3..72d03ff0 100644 --- a/docs/tools/bash.md +++ b/docs/tools/bash.md @@ -14,9 +14,9 @@ invocation regardless of tool groups. Submit a shell command for background execution (runs via `bash`). Stdout and stderr stream to `harness/bash-tasks/.{out,err}`. When the task completes (or times out, or the process errors), the -harness fires a wake with `from: "bash-task-"` and the exit code - -- last stdout lines in the body; handle it on a future turn. +harness fires a wake with `from: "bash-task-"`; the body contains +the exit code and last stdout lines. Handle the completion on a future +turn. * `timeout_secs` — kill the task after N seconds and mark it `timed_out`. Omit for no timeout (runs until natural exit).