Define a round, its prompt and when its pass is done under larv-review's Round cap alone #140

Manually merged
lilleman merged 3 commits from round-cap-def into rebuild 2026-09-29 12:21:04 +02:00
3 changed files with 6 additions and 10 deletions
+3 -3
View File
@@ -37,7 +37,7 @@ A comment is prose, not code. Passes run in this order: line-level polish on cod
**Record, then ask**, for the architecture pass and the full scan: where the repo holds the decision this change executes — a decision-log entry, or a planning item crediting the pass — the pass is done: skip it and cite the record. A change that *departs* from the record is unreviewed however thorough the record is. Fired with no record behind it → ask the user with the evidence and your recommendation; no user reachable → run it.
**Round cap.** A round is one launch of a pass's reviewer, whatever launched it, a Stage 0 rerun included; how a round is prompted and when a pass is done, the findings document → "Rounds". The architecture pass's round is the architect and then the scoring run, so a floor fix reruns both as one round; the prose pass's round is its fresh-context agent; the external auto-reviewer (§4) is a pass of its own, each review it posts a round. A pass takes at most three rounds per chunk; instead of a fourth, list what is open and ask the human — for the auto-reviewer, before any push that would summon a fourth.
**Round cap.** A round is one launch of a pass's reviewer, whatever launched it, a Stage 0 rerun included. The architecture pass's round is the architect and then the scoring run, so a floor fix reruns both as one round; the prose pass's round is its fresh-context agent; the external auto-reviewer (§4) is a pass of its own, each review it posts a round. From round 2, prompt an agent under `~/.claude/agents/` with the previous round's findings verbatim and what changed since. 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 round of their own. A pass takes at most three rounds per chunk; instead of a fourth, list what is open and ask the human — for the auto-reviewer, before any push that would summon a fourth.
**Re-entry.** A fix is a change no pass has seen. A round's fixes re-enter together: run, in table order, each pass whose trigger they fire and the pass whose 🔴 or 🟡 they answer; then §4.
@@ -62,7 +62,7 @@ The full-scan plugin is not enabled by default; unavailable → say so in the su
### Stability and product-owner
Launch the reviewer with the change — product-owner-reviewer also with the external surface it touches — prompted per the findings document's rounds. Fix along the reviewer's Fix guidance (delete > simplify > modify > add). Product-owner findings are about the consumer's experience — wording, discoverability, upgrade path, the edge case a persona hits — so the fix is as often a message or a doc as it is code. Commit and push each round so CI feedback accumulates.
Launch the reviewer with the change — product-owner-reviewer also with the external surface it touches. Fix along the reviewer's Fix guidance (delete > simplify > modify > add). Product-owner findings are about the consumer's experience — wording, discoverability, upgrade path, the edge case a persona hits — so the fix is as often a message or a doc as it is code. Commit and push each round so CI feedback accumulates.
### Prose
@@ -86,7 +86,7 @@ The bar is `~/.claude/CLAUDE.md` → "Comments and documentation"; per paragraph
2. Watch the forge's checks until every one passes. A red check is a finding; its fix re-enters per §3.
3. No CI configured → the gate is local tests only; note it in the summary.
4. Everything green → mark the PR ready, dropping any `WIP:`/`Draft:` title prefix.
5. **External auto-reviewer**, when the repo has one — its config file (`.coderabbit.yaml` and the like), or its comments on earlier PRs; none → skip it, say so. Marking the PR ready is what summons it. Wait up to **10 minutes** for its first review, checking about once a minute; nothing by then → note it in the summary and carry on, never waiting twice. Its findings follow the findings document like any reviewer's; its rounds, §3 → "Round cap". Once it has reviewed, each later return here, after a fix re-entered per §3, waits up to **5 minutes** for its re-review of the new commit.
5. **External auto-reviewer**, when the repo has one — its config file (`.coderabbit.yaml` and the like), or its comments on earlier PRs; none → skip it, say so. Marking the PR ready is what summons it. Wait up to **10 minutes** for its first review, checking about once a minute; nothing by then → note it in the summary and carry on, never waiting twice. Its rounds, §3 → "Round cap". Once it has reviewed, each later return here, after a fix re-entered per §3, waits up to **5 minutes** for its re-review of the new commit.
## 5. Goal alignment, then merge
+3 -6
View File
@@ -8,7 +8,7 @@ A reviewer reads and reports; it edits nothing. Read `docs/decisions.md` and `to
- 🔴 **must fix** — a goal, a principle or correctness broken. Fixed, or shown factually wrong, with what disproved it recorded in `docs/decisions.md`; never declined.
- 🟡 **should fix** — worse than it needs to be. Fixed, declined, or — outside the chunk — filed in `todo.md`.
- 🟢 **nit** — never holds a pass.
- 🟢 **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-architect` or `/security-review`) and why, in one line. The orchestrator runs it.
@@ -27,11 +27,8 @@ A review's first line, derived from the findings:
## Rounds
A round: `SKILL.md` → "Round cap".
- 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 of their own; their fixes re-enter per `SKILL.md` → "Re-entry".
- Handed no earlier findings: surface everything.
- Handed an earlier round's findings: verify each 🔴 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.
## Declining
-1
View File
@@ -8,7 +8,6 @@ The rebuild lifts every dimension, one chunk per item, until the last item opens
The places the panel on `rebuild` at 2c74bbc named (`docs/decisions.md`), capping dimension first:
- **Define a round, how it is prompted and when its pass is done under larv-review's "Round cap" alone, with `review-findings.md` → "Rounds" left to what a reviewer does in one.** Every seat paid a round trip between the two files, which each send a reader to the other.
- **Annotate the return type of every function in `bin/loop_claude/`.** No function carries one, so `str | Stop`, `T | Stop` and `mark_trusted`'s `Failure | tuple` are learnt by reading each body.
- **Name larv-review's pass table's condition column "Trigger", gloss Stage 0 where larv-review first uses it, and define "pass" in `CLAUDE.md` → "Vocabulary".** Today Stage 0 is defined only in `agents/systems-architect.md`, and the Vocabulary uses "pass" without defining it.
- **Score `rebuild` with the four-seat panel at 7.0 or above on every dimension and the overall, none below the last run, and open its PR into main for the human.** ⚠️ Leave that PR ready and unmerged: only the human merges it, after approving the whole rebuild. A dimension under the floor gets its places filed above this item.