Turn an idea into one card: grill it into a spec and its tickets when the path is unclear, or file it as a single ticket when it is clear. A named coding agent works it to one pull request and a second agent verifies it. You merge — or, once you allow it, a merge gate written in code does.
A task queue and an idea-to-merge pipeline for Herdr: your agents work the queue in parallel, in workspaces you can watch, join or close.
idea (unclear) ──► grill ──► spec + tickets ──┐
├──► card ──► author ──► one PR ──► verifier ──► gate ──► merged
idea (clear) ─────────────────────────────────┘ (the spec + its tickets, or its own Done when / Verify by)
▲ │ FAIL │
└───────────┘ └──► held: your Blocked column
- You use Herdr and run more than one coding agent.
- You spend your time babysitting them: re-prompting, checking whether they finished, reviewing PRs nobody verified.
- You want autonomy you can turn up one project at a time, not a switch that hands over your repo.
Requires Herdr ≥ 0.8 (Linux or macOS), an agent CLI Herdr can start — Claude
Code by default; pi, Codex, Gemini, opencode and others
work too — and gh for pull requests.
On a fresh always-on box (VPS), scripts/box-setup walks you through all of it; --dry-run shows the commands first.
herdr plugin install DnzzL/herdr-docket
herdr-docket init ~/Projects/myapp # the repo's Backlog.md is the queue; agents in ~/fleet
$EDITOR ~/fleet/agents/example/AGENT.md # set workdir: ~/Projects/myapp
herdr-docket task create "Search ignores accents" -a example \
-d "Users who type « creme » find none of the « crème » products.
Done when: a query matches with or without accents.
Verify by: a search test for « creme » that is red on main, green after."init runs backlog init in the repo when it has no backlog/, which also
writes Backlog.md's agent guidelines into the repo's AGENTS.md. The agent's
workdir is not optional: a run works in that checkout, so it must be the repo
whose queue the task is in.
Within 15 seconds Herdr opens a workspace on the agent's repo and starts the
agent with its persona and the task. It reports back through the CLI, closes
the task with a verdict, and the run lands in herdr-docket history.
- A grill turns an unclear idea into a spec and its tickets, committed
in the repo's own tracker — each says what to do and how a stranger proves
it is done. The grill is a card state: an idea filed in
Triagegoes to the queue'striager, which posts a round of questions and moves it toQuestion; you answer from anywhere withherdr-docket task answer <id> "1.A 2.B", and once you confirm its assumptions it publishes the spec inTo Dofor the author. - A card either is the spec — its body the spec, with its tickets under it — or, when the task is clear, carries its own Done when and Verify by and is worked as one ticket's worth of work.
- The daemon routes the card to the agent it names and starts a run in a Herdr workspace — one run per agent, agents in parallel.
- The author works whatever the card carries — the spec's tickets or one ticket's worth of work — on one integration branch, subagents when its runtime has them, and delivers one pull request.
- A verifier that did not write it checks every Verify by the card carries — the spec's and each ticket's, or the clear card's own — and records PASS or FAIL. A FAIL goes back to the author on the same branch, twice at most.
- The gate — code, not a prompt — merges a PASS on green CI, unless the
task is
criticalor the diff touches yourCODEOWNERS. Anything else waits in yourBlockedcolumn with the one reason it stopped.
More: how it works.
On the phone, in Termux with herdr --remote on the box:
herdr-docket status says whether the daemon is alive, herdr-docket questions answers a grill round one tap at a time, and a new idea is one tap
on the idea widget. Merge what passed in GitHub mobile.
On the laptop: the big grills, reviewing the PRs that wait on you, and
backlog browser for the whole board.
To set up the widget, install Termux, Termux:API and Termux:Widget (F-Droid), then in Termux:
pkg install openssh termux-api
mkdir -p ~/.shortcuts ~/.config/herdr-docket
curl -fsSL https://raw.githubusercontent.com/DnzzL/herdr-docket/main/scripts/termux/idea -o ~/.shortcuts/idea
chmod +x ~/.shortcuts/idea
echo 'BOX=me@my-box' > ~/.config/herdr-docket/idea.env # ssh target, key authAdd the Termux:Widget widget to the home screen and tap idea: pick the
queue, type the idea, and a toast shows the new card's id.
Start with one card you file by hand, then let go one project at a time:
| Step | fleet.yaml |
You do |
|---|---|---|
| 1. Agents work, you review | a queue, an agent | grill the spec, read and merge every PR |
| 2. A verifier reviews first | verifier: reviewer |
merge what passed |
| 3. The gate merges | merge: auto + a CODEOWNERS |
answer the Blocked column |
The fleet only ever picks up the status you name, so your triage and wontfix columns stay yours. Every lever: how it works.
- Your queue, where it already lives — a Backlog.md project in git or a GitHub Projects board, and several at once (where the queue lives).
- Agents are markdown — one
AGENT.mdeach: run parameters plus a persona (writing an agent, worked examples). - A brake —
herdr-docket pausestops new runs fleet-wide; the runs pane shows what is in flight and stops a run with one key. - No service, no store — markdown in git and one JSONL history file.
- Not a scheduler. Recurring work belongs to herdr-automations: automations decide when, the fleet decides what and who.
- Not a workflow engine. A card is one unit of work, spec or not; its only fixed sequence is author → verifier → gate. The ticket graph is the author's plan, not the queue's: a ticket triggers nothing.
- Not an environment. An agent needs a repo it can run, test data and a
way to check a fix the way a user would; that lives in your repo, and the
AGENT.mdpoints at it. - Not an autonomous company. paperclip.ing runs one; this is the smallest version of the idea that still works — small in what you run, not in code: named agents, a shared queue, no org chart, autonomy as a dial.
How it works · working with a factory · writing an agent · worked examples · where the queue lives · commands
Issues and pull requests are welcome — a new queue adapter especially. Build, test and house style: CONTRIBUTING.md.
MIT.