Skip to content

About

Worker–reviewer pair coding on herdr: one agent writes, another reviews, a watchdog keeps the pair moving. Optional pi integration.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

herdr-pair-coding

Linux and macOS (Windows via WSL). Worker–reviewer pair coding on top of herdr: one agent writes, another reviews, each in its own pane.

How It Works

Three worker–reviewer pairs, each with its own worktree, watched by one watchdog

A real session: worker and reviewer in one tab, the watchdog's telemetry pane bottom-right, two idle pairs in other tabs

It is a 12-second cut of a real session, not a mock-up: the worker implements a stub and runs the tests, then the human prompts the reviewer, which unblocks its heartbeat (hb_block:true -> false, visible in the top pane) and signs off. The recording pipeline (pty capture -> cast -> frames -> GIF), the untrimmed cast and the theme stills live in docs/demo.

Install

Any agent that reads SKILL.md files (Claude Code, Codex, Cursor, ...) via skills.sh:

npx skills add HYPERVAPOR/herdr-pair-coding --skill herdr-pair-coding

Claude Code, from this repo's own marketplace:

/plugin marketplace add HYPERVAPOR/herdr-pair-coding
/plugin install herdr-pair-coding@herdr-pair-coding

No installer involved: read the SKILL.md yourself, or paste the line below into any agent.

Help me set up herdr-pair-coding: https://raw.githubusercontent.com/HYPERVAPOR/herdr-pair-coding/main/skills/herdr-pair-coding/SKILL.md

What's inside

Tool Role
herdr-watchdog 20 s heartbeat; nudges or interrupts a stalled worker/reviewer pair; hb_block silences it
herdr-last-answer reviewer reads the worker's answer text, no TUI footer, no width truncation
refs-reclaim archives and removes worktrees/branches only after proving them safe
resume-profile restores a pane as the same role (pi-profile <role> --session ...), not as bare pi

Only the role guard loads in a normal pi session; it registers no tool and just warns when a pane's label and profile disagree. Everything above is mounted explicitly: the role profiles load last_answer/hb_block and the resume reporter, and refs-reclaim/reclaim.ts only where you ask for it.

Safety

refs-reclaim is read-only until archive/apply; apply requires confirm=true and --yes and leaves alone anything it cannot prove safe. The watchdog only reads state and sends messages.

MIT

About

Worker–reviewer pair coding on herdr: one agent writes, another reviews, a watchdog keeps the pair moving. Optional pi integration.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages