herdr-fleet
A Claude Code plugin for running fleets of coding-agent lanes in Herdr panes. It opens lanes (worktree, brief, implementer pane), runs critic review rounds, keeps context small with /clear and /compact, and hands work off to a new pane. remuda is optional: with it, lanes can run on different Claude and Codex accounts; without it, every lane uses the agent's own login and nothing switches accounts.
How it works
You talk to one Claude Code session, the orchestrator. Each project has one, registered by its Herdr pane. It opens each lane in its own git worktree and Herdr workspace, starts the agents there, and drives them. The agents report through files in .fleet/; the helper turns those files, git, the pull requests and its event log into the board. In the diagrams, /fleet:<skill> is a skill, and fleet <command> is the helper CLI that the skills call (plugins/fleet/scripts/fleet).
┌─ Herdr ──────────────────────────────────────────────────────────────────────┐
│ │
│ workspace: my-repo workspace: fix-login (git worktree) │
│ ┌──────────────────────────┐ ┌───────────────────┬──────────────────┐ │
│ │ orchestrator │ │ implementer │ critic │ │
│ │ you + Claude Code │ spawn │ Claude Code │ Codex or Claude │ │
│ │ fleet skills │──────>│ │ (review rounds) │ │
│ │ fleet helper CLI │ send │ reads BRIEF.md │ reads the diff │ │
│ │ │ │ writes STATUS.md │ writes REVIEW-n │ │
│ │ fleet board, digest │<──────│ │ │ │
│ │ │ watch │ │ │ │
│ └──────────────────────────┘ └───────────────────┴──────────────────┘ │
│ │
│ workspace: add-export (another lane) │
│ ┌───────────────────┐ │
│ │ implementer │ │
│ └───────────────────┘ │
└──────────────────────────────────────────────────────────────────────────────┘
One lane from start to finish. You type the first command; the orchestrator does the rest and asks you only for decisions. The thresholds and the stop rule are defaults; your conventions file can change them.
setup (once)
/fleet:onboard ─> ~/.config/fleet/conventions.md (every skill reads it)
each orchestrator session
fleet orch claim register this pane as the project's orchestrator (once)
fleet digest phase changes and lane events since the last look
fleet board one row per lane, any time
/fleet:lane "fix the login redirect" <── you type this
├─ fleet worktree branch, git worktree, its own Herdr workspace
├─ BRIEF.md goal, scope, acceptance, checks
├─ triage research first? plan first? (your conventions)
│ ├─ /fleet:research a researcher pane answers into the project home
│ └─ plan first a planner pane writes PLAN.md, then stops;
│ fleet approve-plan (you approve a high-risk plan)
├─ fleet spawn implementer: plan (or PLAN.md) ─> code and commit ─> checks
└─ fleet watch waits for "READY FOR REVIEW: round 1"
│
▼ from here on, the orchestrator drives
/fleet:review <─────────────────────────────────────────────────┐
├─ REVIEW-REQUEST-n diff range, focus, round rule │
├─ fleet spawn critic: reads the diff, writes REVIEW-n │
├─ rulings fix / decline / ask you │
└─ fleet send, watch implementer: fixes, commits, round n+1 ──┘
│ repeats until APPROVE or the stop rule
▼
fleet risk a risky diff you have not approved? you say yes first
push, open the PR, merge per your rules
└─ /fleet:cleanup fleet sweep, you pick, fleet cleanup
closes the follow-ups whose work merged
rulings go to PROJECT.md (no merge records: the log keeps
those), follow-ups via fleet follow-up
along the way
a lane asks or blocks fleet watch returns; orchestrator answers or asks you
a lane's context fills at ~60 %: fleet reset at a commit, /clear, re-brief
your session fills up /clear: the hook re-briefs you from the project home
or /fleet:handoff; fleet orch claim --replace moves the role
an account runs low /fleet:accounts, then /fleet:handoff self <account>
(remuda only; plain mode never switches accounts)
Requirements