4.5 KiB
Review findings
Words: ~/.claude/CLAUDE.md → "Vocabulary".
A reviewer reads and reports; it doesn't edit anything. It writes no file but its report, except the scratch files that a reviewer holding Bash makes with Bash. Read docs/decisions.md first and the plan, which your prompt's Plan: line names: a finding declined or disproved in docs/decisions.md or in a comment at the code it concerns, or filed in the plan, is not raised again, unless the decline works against a goal or a technical principle and names no plan item ending it.
Severity
- 🔴 must fix — a goal, a principle or correctness broken.
- 🟡 should fix — worse than it needs to be, or a 🔴 where a sound reason may outweigh its fix.
- 🟢 nit.
- ❓ question for the author: a finding you could not confirm goes here, not above.
- 🔀 escalation — names the reviewer whose concern it is (
product-owner-reviewer,systems-architector/security-review) and why, in one line.
A finding against a technical principle names it and the file in the config's principles folder it lives in. A finding against quality.md, in the folder your prompt's Review standards: line names, names that file and the rule it breaks.
Where your prompt has a Coding conventions: line, read each file it names beside the principles and the standards: they are the rules of the project's team, and a breach of one counts as a breach of a technical principle. Where one conflicts with a principle or a standard, the team's rule wins, and a finding against a convention names its file.
Misread
Mark a 🔴 or 🟡 [misread], right after its severity mark, where it arose because the implementer misread code that shipped before this change: a wrong belief about what that code does, what a name means or what a contract promises. Don't mark a finding about a defect in the change's own new code. score-outcomes counts the marked findings per chunk, as code health's counter-signal (~/.claude/CLAUDE.md → "Shared goal").
Verdict
A review's first line, derived from the findings:
BLOCK— a 🔴 or a 🟡 stands.APPROVE WITH NITS— only 🟢 and ❓ remain.APPROVE— nothing remains.
Rung up
Where your report holds a finding against quality.md, or you are systems-architect and return BLOCK, you may end it with the line Rerun one rung up when you want a more capable reviewer to check that ruling.
Report
Write your full report with the Write tool to the file your prompt names. The file is the worker's input, which it searches for each finding's entry, so write it even where your harness says to return findings directly. It holds the verdict, then every finding with its place, its evidence and its fix, as your agent file shapes them. Open each finding with a ### heading: its severity mark, [misread] where you marked it so, its place, then what is wrong, as in ### 🔴 [misread] `bin/example.py:42` `parse`: an empty line raises IndexError. larv-review round-title counts the round's 🔴 and 🟡 findings by these headings, so no other line of the report may open with ### 🔴 or ### 🟡. Then return only:
- the verdict line
- one line per finding, in this order: its severity mark,
[misread]where you marked the finding so, its place, and what is wrong, in one sentence. Where the finding breaks the review standards'quality.mdor a file in the config's principles folder, end the line with that file's name. For a 🔀, end it with the reviewer it names. Example:🟡 `bin/example.py:42` `parse`: an empty line raises IndexError (technical-principles.md) - for stability-reviewer, whether the tests passed, and at which commit
Rerun one rung up, where your report ends with it- the report's path
A prompt that names no file, or a Write that fails, gets the full report as your reply.
Rounds
- Handed neither earlier findings nor another pass's fix: surface everything.
- Handed an earlier round's report, with each finding's fix or the reason it was dismissed: review only those answers. Check each fix — re-run the scenario, never trust the claim — and each dismissal's reason. Report only a fix or a dismissal that is plainly wrong, or worse than the change it answered; a fix you would have written differently is not a finding.
- Handed a fix from another pass: review its diff as a first round would, limited to its lines.
- Handed a report that asked to
Rerun one rung up: confirm or dismiss each of its findings, with a reason, then review the rest of what your prompt scopes, as the round you rerun would. Do not ask again.