diff --git a/CLAUDE.md b/CLAUDE.md index 646be840..9ee4b6fc 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -13,7 +13,7 @@ Shorter is better, none is best — chat output, commit messages, comments, docs - **premises** — the goals and audience under `## Goals` and `## Audience` in the project's `README.md`. - **release** — a semver version the human cuts. - **reviewer** — a reporter of findings: an agent under `~/.claude/agents/`, `/security-review` or a forge's auto-reviewer. -- **round cap** — the rounds one pass may take per chunk. +- **round cap** — the rounds one pass may take per chunk; `larv-review` §3 → "Round cap". - **session** — a Claude Code session: one id, what `claude --resume` continues. - **trigger** — the condition under which a review pass runs on a change it has not seen; `larv-review` §3 lists them. - **worker** — the headless claude that runs the task in a cycle, in the chunk's session. diff --git a/skills/larv-review/SKILL.md b/skills/larv-review/SKILL.md index 0a48d32f..5704f833 100644 --- a/skills/larv-review/SKILL.md +++ b/skills/larv-review/SKILL.md @@ -39,7 +39,7 @@ A comment is prose, not code. Passes run in this order: line-level polish on cod **Re-entry.** A fix is a change the passes have not seen. The pass whose findings it answers runs again, per the findings document's rounds; beyond it, classify the fix by the widest thing it touches — the first row whose trigger it fires, none sending it to §4 — and run forward from that row through §4, each later pass only where its trigger fires too. -**Round cap.** A pass takes at most three rounds per chunk; instead of a fourth, list what is open and ask the human. A round is one launch of a pass's reviewer, whatever launched it: the trigger, a re-entry, a 🔀 escalation, a Stage 0 launch and its rerun. 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: after its third, ask the human before any push that would summon a fourth. +**Round cap.** A round is one launch of a pass's reviewer, whatever launched it: the trigger, a re-entry, a 🔀 escalation, a Stage 0 rerun. 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. ### Architecture @@ -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. 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 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. Goal alignment, then merge diff --git a/skills/larv-review/review-findings.md b/skills/larv-review/review-findings.md index bad7ccb2..ebfe9529 100644 --- a/skills/larv-review/review-findings.md +++ b/skills/larv-review/review-findings.md @@ -27,6 +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, unless a fix changes behaviour: that takes one. diff --git a/todo.md b/todo.md index e3d4a35e..60784561 100644 --- a/todo.md +++ b/todo.md @@ -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 7f9de5c named (`docs/decisions.md`), capping dimension first: -- **Define a round once, in larv-review's "Round cap", and link it from `review-findings.md` → "Rounds", the Vocabulary and the auto-reviewer's step.** All four seats held §3, "Rounds" and the Vocabulary open together to settle whether a launch counts. - **Give `project` one meaning: rename `Paths.projects` and `Session.projects` for Claude Code's transcript directory.** Two seats: it also names the package, the key and `~/.claude.json`'s object. - **Name `human.py` for the exit-2 stops it holds.** One seat looked there for the prompts, which live in `models.py` and `interrupt.py`. - **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.