Skip to content

mra review

Context-aware code review that auto-selects strategy based on diff size.

Strategies

StrategyWhenHow
Light< 50 lines, ≤ 3 filesSingle pass, 2 turns (~15s)
Standard< 300 linesSingle pass, 3 turns (~30s)
DebateLarge diffs or API changes2 analysts + mailbox voting (~3 min)
bash
mra review my-api                     # auto-select
mra review my-api --pr 123            # post inline comments
mra review my-api --strategy debate   # force debate mode
mra review my-api --base development  # compare against a specific branch

--personas (opt-in)

Swap the two generic debate agents for 5 named domain experts:

bash
mra review my-api --personas
PersonaFocus
security-auditorSecrets, injection, auth (Troy Hunt)
api-contract-guardianCross-repo signature drift
performance-hawkN+1, hot-path I/O, bundle bloat
refactoring-sageCode smells, naming, cohesion (Fowler)
test-architectKent Beck 11 principles

See Personas for the full design.

Read-only guarantee

All review agents run with --disallowedTools "Write,Edit,NotebookEdit". They cannot modify files — only read and report.

Released under the MIT License.