waaagh
A Claude Code plugin that runs a repository's delivery loop with parallel agents: plan from the
issue tracker, implement in isolated lanes, review, merge, and verify what merged.
Every agent is a Claude subagent. Each implementation lane writes its own code and tests in its own
worktree, on Sonnet for routine work and Opus for judgment work; Haiku scouts and validates
independently, one Opus reviewer checks each lane, and the orchestrator commits and pushes.
Merging, branch upkeep, tracker hygiene and post-merge verification run as single-pass roles built
on small, tested gh scripts, so the expensive model reads verdict lines instead of raw API output.
Install
/plugin marketplace add kaeawc/waaagh
/plugin install waaagh@waaagh
Then ask for it (/waaagh:orchestrate, or "orchestrate the open bugs in this repo").
Update
The plugin sets no version, so Claude Code versions an install by commit: every merge to main
is an update. Pull it with /plugin marketplace update waaagh in a session, or
claude plugin update waaagh@waaagh in a shell, then start a new session. Third-party
marketplaces do not auto-update by default; turn it on under /plugin → Marketplaces, or with
autoUpdate on the marketplace's extraKnownMarketplaces entry in your settings.
Requirements
gh (authenticated), jq, git; jj is supported when the checkout is colocated
- spectra v0.1.2 or newer (
spectra and spectra-mcp on PATH; a build from source also counts): every
host-level check (load and its cause, process attribution, leftover processes, booted devices)
comes from it, and the plugin registers spectra-mcp as an MCP server (.mcp.json). It is
required: a script that needs it stops with a named error when it is missing. Install it with
brew install kaeawc/tap/spectra, or build it from source (make build).
bats and shellcheck only if you want to run the self-tests
What is in it
| Path | What |
|---|
skills/orchestrate/SKILL.md | The doctrine: roles and routing, isolation, briefs, evidence, the campaign loop, lane cap, merge policy, interrupts, PR lifecycle and takeover |
skills/orchestrate/lane-safety.md, hooks/hooks.json | Lane safety contract (deletion scope, no pattern kills, never quit Simulator.app, no writes around the edit hook) and the PreToolUse hook that enforces it |
skills/orchestrate/subagent-hygiene.md | Background subagent hygiene: premise-first, monitor-free, line-budgeted briefs; stop message vs TaskStop for closed or noisy lanes; model choice by role |
skills/orchestrate/roles/ | Brief templates for the standing roles: merge bot, rebase bot, hygiene bot, local sweep, verify batch, verification, implementation lane, PR doctor, conflict lane, reviewer |
skills/orchestrate/host-load.md | Host load: lane admission thresholds, acting on the load's cause (Spotlight/fseventsd, lanes, other), the worktree budget, the .noindex worktree root Spotlight skips, never removing a worktree that is a live process's cwd |
skills/orchestrate/scripts/ | The scripts below, with stubbed-gh self-tests |
skills/travel-routines-create/, -refine/, -teardown/ | Skills to set up, change and remove a repository's four traveling-mode cloud routines (skills/orchestrate/routines.md) |
actions/app-broker/ | The App broker as a composite action. A repository's app-broker.yml (app-broker.sh workflow) pins it to the commit of waaagh's newest release tag as kaeawc/waaagh/actions/app-broker@<sha> # vX.Y.Z, which the repository's Dependabot bumps (the Release tag workflow cuts a tag when the action changes; dev/release-tag.sh), so a cloud session can have the repository's GitHub App post orchestrate/review or merge without ever holding the App's key |
Scripts