From quangflow
Referenced by `cook.md` Stage 1.5. Optional — skip with `--skip debate` or if domain-engineer was skipped.
npx claudepluginhub duongmquang/quangflowqf/_protocols/# Design Debate Protocol Referenced by `cook.md` Stage 1.5. Optional — skip with `--skip debate` or if domain-engineer was skipped. ## Purpose Catch design issues BEFORE devs start coding. Two parallel critics review design docs from different angles, then lead synthesizes and user decides. ## Execution 1. READ `.claude/agents/critic.md` for role instructions 2. Spawn TWO critic agents **in parallel**: **Feasibility Critic:** - `Task(subagent_type: "code-reviewer", name: "critic-feasibility")` - model: `haiku` - Focus: "Can this realistically be built? What's underestimate...
Referenced by cook.md Stage 1.5. Optional — skip with --skip debate or if domain-engineer was skipped.
Catch design issues BEFORE devs start coding. Two parallel critics review design docs from different angles, then lead synthesizes and user decides.
READ .claude/agents/critic.md for role instructions
Spawn TWO critic agents in parallel:
Feasibility Critic:
Task(subagent_type: "code-reviewer", name: "critic-feasibility")haikuSimplicity Critic:
Task(subagent_type: "code-reviewer", name: "critic-simplicity")haikuWAIT for both to complete (parallel — no sequential dependency)
Synthesize findings into plans/{slug}/milestone-{N}/design/DEBATE.md:
# Design Debate — Milestone {N}
## Feasibility Concerns
| # | Issue | Impact | Suggested Fix |
|---|-------|--------|---------------|
| F-1 | {issue} | {impact} | {fix} |
## Simplicity Concerns
| # | Issue | Impact | Suggested Fix |
|---|-------|--------|---------------|
| S-1 | {issue} | {impact} | {fix} |
## Conflicts
{where feasibility and simplicity critics disagree — if any}
## Lead Recommendation
{lead's synthesis: which concerns to accept, which to dismiss, why}
Present summary to user:
"Design debate complete. {N} feasibility concerns, {M} simplicity concerns.
Top issues: {1-3 most impactful}
Full report: plans/{slug}/milestone-{N}/design/DEBATE.md
Options:
On REVISE: message domain-engineer with specific feedback, wait for updates, re-run critics (max 1 revision round)
On PROCEED or SKIP: continue to Stage 2
Critics use haiku model to keep costs low. Max 10 findings each = bounded output.