Answer prose round 1: 1 🔴, 2 🟡; a fix for a 🟢, ❓ or prose finding reruns no pass whatever it changes, rows follow the pass table, decision title follows

This commit is contained in:
2026-10-21 20:24:17 +02:00
parent f5f6b660f2
commit 84779764b2
3 changed files with 11 additions and 10 deletions
+7 -8
View File
@@ -28,7 +28,7 @@ Follow `~/.claude/CLAUDE.md` → "Git, commits, and PRs". Never commit to the de
## 3. Passes
A pass is one kind of review, a row of the table, named by its first column. Its trigger says when it first runs, on the chunk's change; "Re-entry" says when a fix reruns it. Its reviewer reports the findings.
A pass is one kind of review, a row of the table, named by its first column. Its trigger says when it first runs, on the chunk's branch; "Re-entry" says when a fix reruns it. Its reviewer reports the findings.
| Pass | Reviewer | Trigger |
|------|----------|----------------------------------------|
@@ -70,19 +70,18 @@ Give a reviewer without Bash the branch diff and `git ls-files`'s output in its
- **Cap.** A pass takes at most three rounds per chunk. Instead of a fourth, list what is open and ask the user. For the auto-reviewer, ask before the push that would summon its fourth, and hold the fixes unpushed until the answer.
- **Answer.** A yes grants that pass one more round, after which the ask repeats; a no leaves the PR unmerged.
**Re-entry.** A fix is a change no pass has seen. A round's fixes re-enter together: run, in table order, every pass that a row below names for any of them, a done pass included, then §4. A pass at its cap gets "Round cap" → "Cap"'s ask instead.
**Re-entry.** A fix is a change no pass has seen. A fix for a 🟢, a ❓ or a prose finding reruns no pass, whatever it changes. A round's fixes for 🔴 and 🟡 findings re-enter together: run, in the pass table's order, every pass that a row below names for any of them, a done pass included, then §4. A pass at its cap gets "Round cap" → "Cap"'s ask instead.
| The fix | Reruns |
|---------|--------|
| answers a 🔴 or 🟡 of any pass but prose | that pass |
| changes code, config or tests | Principles |
| changes behaviour: what the code or its tests do | Stability |
| answers a 🔴 or 🟡 of a pass other than prose | that pass |
| carries an architectural decision | Architecture |
| changes code, config or tests | Principles |
| opens an untrusted-input boundary or touches authn/authz, secrets or crypto | Security, unless the full scan reruns on it |
| has an override that the hook logged | Overrides |
| answers only a 🟢, a ❓ or a prose finding | no pass |
| made rule-hook log an override | Overrides |
| changes behaviour: what the code or its tests do | Stability |
Each row a fix meets adds its pass; the last row adds none. Prose never reruns, so a comment or doc edit in a fix adds nothing. Example: a fix for a stability 🟡 that changes code and a comment reruns Stability and Principles, and the comment reruns nothing more.
A fix meets every row it fits. Prose has no row, so a comment or doc edit inside a fix reruns nothing. Example: a fix for a stability 🟡 that changes code and a comment reruns Principles and Stability.
**What a round reviews.** An agent under `~/.claude/agents/` reviews the branch in round 1. From round 2 it reviews only the answers to its last round's findings, and each fix from another pass that re-entered its pass. Prompt it with the path of its last round's report and each finding's answer: the fix's diff, or the reason it was dismissed. Give it each other pass's fix as `git diff <the commit before that fix> <the fix's commit>`, since the fixes may be unpushed, with the finding it answered. It reports only an answer that is plainly wrong or worse than the change it answered, so its pass converges in its second round. Other reviewers review the branch as their tool does.