Skip to content

Herd 0.16.2

Choose a tag to compare

@Beovulfo Beovulfo released this 29 Nov 21:02
2cfbc06

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. false is allowed and true is 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 that CLAUDE_CODE_FORK_SUBAGENT=0 runs it in the foreground. A false sent 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 running in the Stop input's background_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-cli and offers the parameter but omits it is allowed in the background.