debate_code_review
Start a structured 4-round debate on a code change: advocate defends, critic challenges, judge synthesizes consensus and action items.
Instructions
Start a debate-style code review for a specific file or change.
Creates a structured 4-round debate where:
Advocate defends the current implementation
Critic challenges the implementation and proposes improvements
Judge synthesizes findings into consensus conclusions and action items
Returns role assignments, round rules and a Round 1 starter prompt but no dispatch_plan, so each participant is spawned by hand. For ready-to-paste spawn calls use meeting_create(template="debate", participants=[...]).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| judge | No | Agent rendering the verdict (default: team-lead) | |
| critic | No | Agent challenging the implementation (default: code-reviewer) | code-reviewer |
| team_id | No | Team ID or name (optional, auto-uses active team if empty) | |
| advocate | No | Agent defending the implementation (default: backend-architect) | backend-architect |
| file_path | Yes | Path to the file being reviewed (relative or absolute) | |
| change_description | Yes | Brief description of what changed and why |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||