Busdriver

The adult supervision your AI coding agent didn't ask for but desperately needs.
Busdriver is a Claude Code plugin that turns process into enforcement. It carries a 6-phase development pipeline, the review and dispatch orchestration around it, and a set of hook-backed gates that block the tool call itself. Claude literally cannot talk its way out of it.
Think of it as the designated driver for your codebase — it won't let Claude leave the bar until the code review passes.
What it does
| Phase | What happens |
|---|
| 1. Brainstorming | Explore intent, requirements, and design before writing code |
| 2. Planning | Produce task lists with file paths, commands, expected output |
| 3. Worktree | Create isolated git worktree, verify baseline tests pass |
| 4. Execution | Tests (TDD ordering advisory, opt-in via /tdd), code review, reviewer dispatch |
| 5. Verification | Build + lint + tests, security scan, specialist review agents |
| 6. Finishing | Commit (litmus-reviewed), PR or merge, worktree cleanup |
Small, specific tasks (bug fix, typo, config tweak) skip straight to Phase 4. Everything else goes through the full pipeline.
Gates
Eight hook-enforced gates. Most run as PreToolUse hooks, so a block rejects the tool call itself rather than asking Claude to comply — it cannot rationalize its way past one. Blueprint review is the exception: it runs after a plan is written and never blocks that write — it arms the pre-implementation gate, which refuses the next implementation write instead.
Careful guard is advisory and raises a confirmation prompt instead of refusing. The refusing gates are built to fail closed, but the exact disposition of each — what happens when a hook errors, and which paths arm a gate in the first place — is a per-gate detail that belongs with the gate rather than here. Read docs/observability.md and docs/adr/ before relying on a specific failure mode.
| Gate | Trigger | What it blocks |
|---|
| Litmus (commit) | git commit | Blocks the commit until code review passes |
| Litmus (PR) | gh pr create | Blocks the PR until a Codex deep multi-lens pass and an independent read-only Opus Security/Bugs backstop both pass. The PR marker is refused without a fresh PASS backstop artifact matching base...HEAD |
| Blueprint review | Plan/design doc written | Blocks implementation code while plans are unreviewed |
| Pre-implementation | Write/Edit of code files | Blocks writes while design docs lack <!-- design-reviewed: PASS --> |
| Pre-merge | gh pr merge | Blocks the merge until pr-grind declares the PR clean at its live HEAD |
| Ref fast-forward | git merge / git pull on a protected branch | Blocks a fast-forward of that branch. A fast-forward creates no commit object, so the commit and PR gates never see it. One way past: an operator marker naming the exact commit, spent by git merge --ff-only <oid>. git pull there is refused outright — the commit it would land does not exist locally yet, so nothing can authorize it |
| Careful guard | Destructive Bash (rm -rf, git reset --hard, …) | Raises a confirmation prompt |
| Freeze guard | .claude/freeze-scope.local present | Restricts edits to the investigation scope during debugging |