---
metadata:
  author: "RJ Lindelof (https://rjl.dev/)"
  source: "https://techdebt.repair/multi-agent-code-review/"
  version: "1.0"
  updated: "2026-12-04"
  copyright: "(c) 2026 RJ Lindelof. Free to copy, adapt and share; no attribution needed."
---

# Finding format (shared by every lens and the verifier)

Every lens returns findings in exactly this format so the orchestrator can merge, verify and rank
them mechanically. Plain ASCII.

Start the response with one line:
`SUMMARY: <n> findings (<b> blocking, <c> concerns, <x> nits) - <one sentence>`

Then one block per finding, numbered F1, F2... within your response (the orchestrator renames them
to global ids such as COR-3). Then one `CHECKED:` line listing what you covered and found clean, so
a clean result can be told apart from a lazy one.

```
### F<n>
lens: <correctness | resilience | architecture | security | tests | rules | history | performance | accessibility | dependencies | data | api | privacy | docs>
severity: <blocking | concern | nit>
confidence: <high | medium | low>
location: <path relative to repo root>:<line>[-<line>]
quote: <the exact offending line(s), copied, max 5 lines; mask secrets to their first 4 chars>
what: <one sentence - what is wrong>
consequence: <one sentence - what breaks, for whom, how visible>
trigger: <the concrete input, state or sequence that makes it happen>
fix: <the direction - what to change, not a full patch>
```

## Severity

- blocking - you would not approve the change. Wrong output, data loss, a broken page, build or
  deploy, an exploitable hole, a regression of something the project already fixed, or a broken
  hard rule that ships to production.
- concern - you would push back; it could ship with a follow-up. Real cost or real risk, not yet
  breaking.
- nit - small, take it or leave it. Never use nit for something a linter or formatter enforces.

## Confidence

- high - you traced the trigger through the real code.
- medium - the mechanism is clear but one link (a caller, a config value) is assumed.
- low - a real smell you could not trace; say in `trigger` what would have to be true.

## Rules

- One mechanism per finding. Two bugs on one line are two findings.
- `location` points at the line that is wrong, not the function header.
- No finding without a `trigger`. If you cannot name one, it is not a finding - or it is a low
  confidence concern and you say what would make it happen.
- Never report anything on the accepted-risks list in the bundle's `calibration.md`.
- Never report style a linter would catch, or a preference where both options are reasonable.
- If the code is good, return zero findings and a `CHECKED:` line. Manufacturing findings is the
  worst failure a lens can have; the verifier exists to catch it, and every refuted finding is
  counted against the lens that raised it.
