The problem
“Review this diff” sounds simple until security, correctness, performance, dependencies, tests, migrations, and production behavior all start talking at once. A single broad prompt tends to flatten those concerns together. One bad assumption can color the whole review, while a dozen weak findings bury the one worth fixing.
How a review runs
The CLI reads a staged or selected git diff, sanitizes it, and gives specialist agents the change plus their own instructions. They do not see one another's conclusions. Ollama runs the normal inference locally, so a standard review does not require sending source to a cloud model. The orchestrator then deduplicates and cross-references findings into one report.
A normal run does not write generated tests. Test suggestions require an explicit option, and writing tests to disk is a separate opt-in action. That boundary matters in a tool whose default job is to inspect code.
The specialist lenses
The repository covers security and secrets, correctness, performance, design, dependencies and licenses, breaking changes, adversarial inputs, integration boundaries, coverage, error handling, observability, migration safety, and complexity. Migration review is skipped when the diff contains no migration files. Focused profiles let me run a smaller review when the full swarm would be wasteful.
Keeping the output useful
More agents only earn their cost when the result gets sharper. The orchestrator gates severity by confidence, caps the final finding set, and tries to prevent the same issue from appearing as several independent alarms. A finding still needs a developer to verify the evidence. The system should make uncertainty visible, not launder it into authority.
Model: ornith-1.5:9b · Trial 1 · September 19, 2026
Fixture: adversarial-dirty
File: src/core/reviewMetrics.ts · Line: 9
Title: averageFindingsPerChunk always returns NaN (off-by-one reads undefined)
Location check: verified
Matched defect: D2-offbyone-nan-propagationi <= findingsPerChunk.length, reads beyond the array, and adds undefined to the total. One finding demonstrates the report's evidence; it does not establish overall accuracy. Read the calibration record →Where it fits
The review engine is available through the CLI, an MCP tool for Cursor, a source-built editor extension, and a Claude Code command. The local model and installation are real requirements, including the disk space for the default model. I care about whether this fits into the existing review loop, exposes failure clearly, and leaves the developer in charge of the decision.