Skip to content

Design and roadmap

tonialmagro-tomtom edited this page Nov 28, 2026 · 4 revisions

Design and roadmap

Status

Version 0.14.13 (see the changelog). Working and covered by unit tests that CI runs on Python 3.11, 3.12 and 3.13: the evidence harness (plugin/scripts/herd.py), the Stop gate, the run rules (red first, risk, frozen and verbatim human criteria, required fields at medium and high risk, the final report, commit before done), the quick route, project-type detection, the lint hook, the caveat log, zero-test flagging, the stop record, the guard hook, the six standard attacks (all logged before the first herd verify, which refuses without them), the hand-solved example frozen before the code, a design on a stronger model than the build ([models], the herd-designer and herd-builder subagents and the design hook), the skip of an unchanged herd verify and the time per check, the inputs list, the opt-in herd pr step (draft and milestone flags, and a description that every herd verify refreshes), the opt-in worktree start for parallel tasks, short output by default, and the risk-floor module. Releases 0.2.7 to 0.3.0 were each built with Herd itself; 0.2.8 to 0.3.0 were opened as pull requests by herd pr. Benchmarked on one task (Benchmark): Sonnet and Haiku with 0.3.1, and Haiku with 0.12.0 and 0.12.1; the 0.14.0 design eval is on Design eval. Not yet done: many live runs through the installed plugin across different project types, and issue-to-pull-request automation on GitHub (labelled issue to spec), which is still design work. herd pr covers only the last step: a finished local task opens a pull request with its evidence.

The design behind it

Herd is built with its own method, using the Elephant-Goldfish Model: an Elephant agent with full context drafts, and Goldfish agents with no context check. The requirements and decisions are in the open:

  • docs/PRD.md: the product requirements, principles and roadmap.
  • docs/designs/: specs, each with its status at the top. Triage (used for the risk floor), the Arbiter (an agent that rules on findings) and Escalation (one issue to pause and ask a human) have tested modules in plugin/scripts/; the last two wait for the GitHub automation phase. Others cover the v0.2 plan, the guardrails, the quality checks and fewer full verifies.
  • docs/spikes/: spike S1 ran EGM unattended on these features; the run logs say what each pass found and what broke.
  • docs/backlog.md: ideas not yet planned, such as an optional Trail Code integration.

Roadmap

  • Now (v0.14): local autopilot with evidence, a Sonnet design and a Haiku build by default, attacks planned before the code, short output by default, the Stop gate and the run rules it enforces, a quick route, project-type detection, an opt-in lint hook, an adversarial pass whose standard attacks herd done enforces, the evidence-planning skill, zero-test flagging, an opt-in, evidence-first pull request step (herd pr) and an opt-in worktree start so several agents can run tasks in one repository.
  • Next: GitHub automation: a labelled issue becomes a spec, then a pull request, with the Arbiter and Escalation modules.
  • Later: a release gate for high-risk changes, and other agent harnesses.

Development

python3 -m unittest discover -s tests -t .
ruff check .
claude plugin validate ./plugin
claude plugin validate .

Python standard library only, no dependencies. Try the plugin from a clone with claude --plugin-dir /path/to/herd-sdlc/plugin. When plugin files change, bump version in plugin/.claude-plugin/plugin.json and add a changelog entry, because claude plugin update compares version numbers only.

Clone this wiki locally