Hold every reviewer to one findings document

This commit is contained in:
2026-09-28 19:33:38 +02:00
parent bbf4636fcc
commit 2215d9c193
7 changed files with 54 additions and 58 deletions
+37
View File
@@ -0,0 +1,37 @@
# Review findings
Words: `~/.claude/CLAUDE.md` → "Vocabulary".
A reviewer reads and reports; it edits nothing. Read `docs/decisions.md` first: a finding it declines is not raised again.
## Severity
- 🔴 **must fix** — a goal, a principle or correctness broken. Fixed, or shown factually wrong; never declined.
- 🟡 **should fix** — worse than it needs to be. Fixed, or declined.
- 🟢 **nit** — fixed if cheap; never holds a pass.
- ❓ **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-architect` or `/security-review`) and why, in one line. The orchestrator runs it.
Other reviewers map onto this scale:
- `/security-review`: HIGH is 🔴, MEDIUM 🟡, LOW 🟢. A HIGH shown not real is recorded with what disproved it.
- A forge's auto-reviewer: what it marks blocking is 🔴.
## Verdict
A review's first line, derived from the findings:
- `BLOCK` — a 🔴 or a 🟡 stands.
- `APPROVE WITH NITS` — only 🟢 and ❓ remain.
- `APPROVE` — nothing remains.
## Rounds
- Surface everything in round 1.
- From round 2 the prompt carries the previous round's findings verbatim and what changed since. Verify each earlier 🔴 and 🟡 is resolved — re-run the scenario, never trust the claim — then review what changed. A fix raises a new finding only where the fix itself introduced a real problem.
- A pass is done on no 🔴 and no 🟡. The 🟢 and ❓ left are addressed in that round — fixed, answered, declined or filed in `todo.md` — and take no further round, unless a fix changes behaviour.
- Round cap: a pass runs at most three times per chunk, re-entries included. A fourth run lists what is open and asks the human.
## Declining
A 🟡 or below may be declined where the reason is sound, consistent with the goals, and confidence is very high. The decline, its reason and the goal it rests on go to `docs/decisions.md`, with the human's decisions and answers to ❓; an unrecorded one is asked again next review. A reason no goal speaks to is a gap in the goals, taken per `~/.claude/CLAUDE.md` → "Ask, don't guess" — or fix the finding. Never a silent drop, and never a decline argued from convenience or the size of the fix.
-38
View File
@@ -1,38 +0,0 @@
# Review protocol
Words: `~/.claude/CLAUDE.md` → "Vocabulary".
## Verdict
A review's first line, derived mechanically from the findings:
- `BLOCK` — a 🔴 stands; for a looping reviewer, a 🟡 too.
- `ALIGN` — systems-architect only: no 🔴, drift (🟡) to address soon.
- `APPROVE WITH NITS` — only 🟢 and ❓ remain; the author's call.
- `APPROVE` — nothing remains.
## Severity
- 🔴 **must fix.** Never declinable: it is fixed, or shown factually wrong.
- 🟡 **should fix.** Holds a looping reviewer at `BLOCK`, but may be declined.
- 🟢 **nit.** Never holds the loop.
- ❓ **question** for the author: a finding you could not confirm goes here, not above.
- 🔀 **escalation**: names the reviewer to run next (`product-owner-reviewer`, `systems-architect`, or the `security-review` skill) and a one-line reason. The caller runs it; it is never optional.
## Rounds
- Surface everything in one round.
- From round 2 the prompt carries the previous round's findings verbatim and what changed since. Verify each previous 🔴 and 🟡 is resolved — re-run the scenario, don't trust the claim — then pass over what changed. A fix spawns a new finding only where the fix itself introduced a real problem.
- The loop exits on no 🔴 and no 🟡. The 🟢 and ❓ left then are addressed in that same round — fixed, answered, declined or filed in `todo.md` — and trigger no further round. A nit whose fix changes behaviour is a fresh finding and takes a round.
- Round cap: 3; when it stops the loop, list what is open and ask the human.
- Systems-architect gets one scoped re-check; still `BLOCK` → ask the human.
## Declining
Anything below 🔴 the caller may decline where the reason is sound, sits consistently with the repo's goals, and confidence is very high; the decline, its reason and the goal it rests on go to `docs/decisions.md`. A reason that contradicts a goal, or that no goal speaks to and you are not confident in, is a gap in the goals, taken per `~/.claude/CLAUDE.md` → "Working loop", "Ask, don't guess" — or fix the finding. Never a silent drop, and never a decline argued from convenience or the size of the fix.
A reviewer honours an accepted risk in `docs/decisions.md` and a finding declined this way: it stays declined and is not raised again.
## Documenting decisions
Knowledge that outlives one review goes in the repo, never in a memory file, where `~/.claude/CLAUDE.md` → "Comments and documentation" and "Ask, don't guess" put its kind. Record only decisions the human made, declines made under Declining, and answers the human gives to ❓; an unrecorded answer gets asked again next review.