Repository navigation
Herd 0.16.2
An interactive terminal omits run_in_background on an Agent call, so the guard denied every Herd designer and builder spawn (issue #213).
- Fixed: the guard allows a Herd subagent spawn that omits
run_in_background, except in headless (CLAUDE_CODE_ENTRYPOINT=sdk-cli) sessions, which offer the parameter.falseis allowed andtrueis denied everywhere. Spike S7 (Claude Code 2.1.332,docs/spikes/s7-interactive-spawn.md) showed that the interactive default runs the spawn in the background, and thatCLAUDE_CODE_FORK_SUBAGENT=0runs it in the foreground. Afalsesent when the tool does not offer the parameter does not change that. - Changed: the Stop gate allows the stop and writes nothing while a Herd subagent is
runningin the Stop input'sbackground_tasks, with or without a task, so the session waits for it. - Changed: the run skill's spawn lines and the agent descriptions say to pass
run_in_background: false. When the Agent tool offers no such parameter, they say to spawn, end the turn and wait for the completion notification. - Changed: the run skill's word budget rose from 1060 to 1080 for this rule.
- Known limits: observed on Claude Code 2.1.332 only. While a Herd subagent runs in the background, every stop of that session is allowed. A session that is not
sdk-cliand offers the parameter but omits it is allowed in the background.