agents/skills/multi-agent-code-review/references/consolidation.md
This document defines the exact logic for merging scanner checklists and detecting conflicts.
When consolidating multiple scanner checklists, the Consolidation agent must apply a strict Logical AND.
true if and only if all scanners asserted true. If any
scanner asserts false, the consolidated key is false.false key, generate a concrete
instruction in constraints.magi.json describing what must be fixed.Oscillation occurs when the refinement loop is stuck in an infinite cycle due to conflicting scanner mandates (e.g., the Security Scanner demands an extra validation check that the Performance Scanner rejects because of latency).
The Consolidation agent must set oscillation_detected = true if:
true ->
false -> true) across consecutive iterations.constraints.magi.json file is
identical in content across two consecutive iterations, indicating no
progress is being made.When oscillation_detected is set to true:
conflict_report containing:
next_stage: ESCALATION.