Two fully independent agents debate a proposal through iterative rounds until convergence,
then a neutral Synthesizer produces the final output.
User Input → Auto-detect domain → Agent A (propose) → Agent B (critique)
→ Orchestrator (score + converge?) → [loop] → Synthesizer → Final Output
Extract from user input:
--verbose → show all round details (default: false)--rounds N → max rounds (default: 5){subject}Analyze {subject} and select one domain. See references/domains.md for role definitions and focus areas per domain.
| Domain | Detect when |
|---|---|
| -------- | ------------- |
tech | architecture, system design, API, database, algorithm, infra |
cr | code snippet, diff, PR description, function/class review |
product | requirements, user story, feature spec, PRD |
Run rounds 1 → max_rounds. Each round:
{subject}```
━━━ Round N/max ━━━ 🔴×N 🟡×N 🟢×N → [继续迭代 | 收敛 ✓]
```
After convergence, run Synthesizer with full debate history.
See references/prompts.md § Synthesizer.
Default (精简) mode:
━━━ 对抗分析完成:共 N 轮 ━━━
## 最终方案
[complete, ready-to-use content]
## 关键决策
| 议题 | 决策 | 依据 |
|------|------|------|
## 遗留风险
- ...
--verbose mode (prepend before final output):
## 对抗过程
### Round N
**Agent A 方案:**
[full proposal]
**Agent B 批评:**
[full criticism with 🔴🟡🟢 breakdown]
共 2 个版本