-
Notifications
You must be signed in to change notification settings - Fork 67
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
The /debate command (plugins/debate/commands/debate.md) fully resolves all parameters and then delegates the entire debate execution to a debate:debate-orchestrator agent (Phase 3). This means:
- The command does the hard work (parsing, interactive resolution, tool detection) and then hands off to an agent that just re-reads everything from the prompt.
- The orchestrator agent is an unnecessary extra layer — it runs the debate by calling the
consultskill in a loop, which the command itself could do directly. - Spawning an opus agent for every debate adds latency and cost.
- The design intention is that the command itself manages the debate between external agents (Gemini, Codex, etc.), not that it spawns an internal intermediary.
Expected Behavior
The /debate command should manage the debate flow directly:
- Load the debate skill for prompt templates
- Call the
consultskill for each external tool per round - Synthesize the verdict itself as the judge
This eliminates the debate:debate-orchestrator agent as an intermediary. The "external agents" in the debate are the external AI CLIs (gemini, codex, etc.) — not an internal agentsys agent.
Files Affected
plugins/debate/commands/debate.md— Phase 3 should run the debate directlyplugins/debate/agents/debate-orchestrator.md— can be removed or repurposed as documentation
Impact
Simpler architecture, lower latency, no orphaned agent spawn on platforms where Task subagent routing is unreliable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working