Repository navigation
Herd 0.14.10
A session started with /herd:run could skip Herd entirely: with no active task the Stop gate allowed every stop. In field use, 1 of 36 sessions (Haiku, a docs-only request) ran herd status, edited 3 files and opened a pull request with no .herd/tasks folder; the rerun on Sonnet cost $0.43 instead of $0.01 (issue #124, part of #121).
- Changed: with no active task,
herd gatereads the hook'stranscript_path. It blocks the stop when the log has a/herd:runmessage with arguments (the parserherd initalready uses), an Edit, Write, MultiEdit or NotebookEdit call (also in subagent logs), and no Bash command that ranherd.py init(in the session's log or its subagents' logs, since the designer subagent runs it). The reason says to runherd init <slug> "<goal>". - Changed: the same
MAX_BLOCKS(3) circuit breaker applies, per session log. The count and the release are recorded inherd-noinit.jsonin the checkout's git dir, never in the work tree. - Changed: sessions without a
/herd:runmessage, without an edit, or that ranherd init(a task done or cancelled since) stop freely, as before. A missing or unreadable log allows the stop. - Fixed: a non-object item in a log message's content (a string, a number or null) no longer crashes the preinit hook or the Stop gate while they look for edits.
- Known limits: edits made through Bash (
sed,cat >) are not seen, so a session that edits only that way still stops freely. A failedherd initcommand counts as run.herd cancelneeds a task, so a session whose human dropped the request is released only after 3 blocks. Not tried in a live session.