fix-pipeline

Orchestrates multi-agent bug fixing with queue-based task routing and independent verification.

1|Updated Apr 9, 2026
Ready to run
npx skills add https://github.com/cntuzi/ai-playbook --skill fix-pipeline-cntuzi
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: fix-pipeline
Source: https://github.com/cntuzi/ai-playbook/tree/main/cases/fix-pipeline
Command: npx skills add https://github.com/cntuzi/ai-playbook --skill fix-pipeline-cntuzi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Handing a batch of bugs to a coding agent fails in a specific way: the agent can usually write the fix, but it cannot tell you whether the fix is real. Self-reported success is uncorrelated with the bug being gone, state is scattered across terminals and chat logs, and parallel agents collide on the same files. This Skill turns bug fixing into a queue-driven closed loop where every fix passes an independent read-only verification agent and a human acceptance gate before it counts. ## Core Features & Use Cases - Queue as single source of truth: All scheduling decisions read the Orca orchestration task queue, never chat logs or terminal output, so agent restarts lose nothing. - Bucket-based isolation: Issues are clustered by touched files into buckets, each with its own agent and git worktree, so parallel merges never conflict. - Three-witness chain: Self-verification by the fixing agent, cross-verification by a different read-only agent, then human acceptance in Linear — skipping any link produces a false green light. - Five specialized roles: intake, analyzer, fixer, verifier, and watchdog each read only their own role file, plus a console terminal as the human's single interface. - Use Case: Report a batch of bugs in one terminal; the pipeline dedupes them, clusters them into buckets, dispatches fixer agents, runs independent cross-verification, merges passing fixes, and presents each issue on a Linear board for one-drag human acceptance. ## Quick Start Drop SKILL.md and the roles directory into your agent's skill folder, open an agent in your project worktree, and say "start fix pipeline" to bootstrap the control plane, role terminals, and watchdog automation.

Frequently Asked Questions about fix-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run batch bug fixes with multiple AI agents?▼

Start the fix pipeline from your project worktree; it creates a control-plane worktree with intake, analyzer, verifier, and console roles. Issues enter a queue, get clustered into buckets by touched files, and each bucket gets its own fixer agent and git worktree.

How does multi-agent bug verification work without false positives?▼

Every fix passes a three-witness chain: the fixing agent self-verifies with builds and tests, a different read-only agent cross-verifies the fix, and a human accepts in Linear. The cross-witness must be a different agent than the fixer, which makes it evidence rather than a rubber stamp.

Which AI coding agents does the fix pipeline support?▼

The pipeline is agent-agnostic: Claude, Codex, Gemini, Grok, and others can each play any role. Orca provides per-agent hooks under ~/.orca/agent-hooks/ so the messaging mechanism works regardless of which agent fills a role.

Can parallel agents fix bugs without merge conflicts?▼

Yes, through bucket isolation: issues are clustered so touched files never overlap between buckets, and each bucket gets its own git worktree. Note that parallel buckets have not yet been run in practice — every session so far has been a single serial bucket.

Why do agent messages report success but never arrive?▼

The send command returns ok: true without validating that the target handle exists, and check --wait with a stale handle returns empty without error. Verify delivery by checking the recipient's inbox directly, and confirm liveness only via the global terminal list, a reply, or queue progress.

What are the limitations of the fix pipeline approach?▼

Parallel bucket concurrency is untested, auto-wake on human acceptance is unverified, and idle roles waste cycles re-checking an empty queue. Human rejection after merge requires a revert, since code lands on cross-witness pass before human acceptance.