reversa-debugger-debate

Runs multi-agent debates with isolated judge to decide bug diagnosis, repair, or spec verdicts.

Updated Jun 12, 2026
One-click install
npx skills add https://github.com/lacsousa/mediclaw-system --skill reversa-debugger-debate-lacsousa
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: reversa-debugger-debate
Source: https://github.com/lacsousa/mediclaw-system/tree/main/.agents/skills/reversa-debugger-debate
Command: npx skills add https://github.com/lacsousa/mediclaw-system --skill reversa-debugger-debate-lacsousa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Debugging complex bugs often suffers from single-pass reasoning errors and confirmation bias. This Skill orchestrates a structured multi-agent debate where N independent solvers argue over R rounds and an isolated judge with a frozen rubric produces one synthesized recommendation for a registered bug. ## Core Features & Use Cases - Three Debate Modes: diagnosis (competing causal hypotheses), repair (competing fix strategies), and spec (recommendation on whether code, tests, or spec is correct). - Isolated Judge with Frozen Rubric: The judge sees only anonymized, shuffled final proposals, preventing echo chambers and reward hacking. - Auditable State on Disk: All rounds, convergence metrics, and the final answer are written to the bug's debate folder; failures are recorded with explicit status and never silently replaced. - Optional External Harnesses: Detects installed CLI agents (Codex, Gemini CLI, opencode) and can include them as solvers or critics only with explicit user consent; restricted-visibility bugs never leave the local folder. - Use Case: A team has a registered bug where code, tests, and spec disagree. Run the debate in spec mode with 3 solvers over 2 rounds; the judge returns a recommendation (spec-correta, spec-desatualizada, or spec-gap) with evidence, while the human keeps the final verdict. ## Quick Start Ask the agent to run a debate on bug BUG-20260715-A7K3 in diagnosis mode with 3 solvers and 2 rounds, then show the judge's recommendation.

Frequently Asked Questions about reversa-debugger-debate

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

FAQPage Schema
How do I run a multi-agent debate to diagnose a bug?▼

Register the bug first, then invoke the debate in diagnosis mode with N solvers and R rounds (defaults are 3 and 2). Each solver proposes hypotheses independently, critiques others across rounds, and an isolated judge synthesizes the final recommendation.

What is the difference between diagnosis, repair, and spec debate modes?▼

Diagnosis debates competing causal hypotheses and discriminative probes. Repair debates fix strategies once the cause is confirmed, weighing minimal change and regression risk. Spec debates whether code, tests, or spec is correct and ends in a recommendation, with the human making the final verdict.

Can I use external CLI agents like Codex or Gemini CLI as debaters?▼

Yes, the skill detects installed CLI harnesses and offers them as solvers or critics, but only after explicit user consent and a probe confirming non-interactive authenticated operation. Bugs marked visibility restricted can never be sent to external harnesses.

What happens when a debater fails or times out during a debate round?▼

Each call has a hard 10-minute timeout with one retry only for transport failures. Failed debaters produce a file with status timeout, error, or invalid-output and are never silently replaced; if quorum drops below max(2, ceil(2N/3)), the user chooses how to proceed.

Does the debate skill modify or fix the project code automatically?▼

No, it only decides strategy and writes files inside the bug's debate folder. It never modifies pre-existing project files; applying the recommended fix happens separately through the reversa-debugger-fix workflow.