diff --git a/CLAUDE.md b/CLAUDE.md index b03aa72f..9bafb75a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -8,10 +8,12 @@ Shorter is better, none is best — chat output, commit messages, comments, docs - **cycle** — one worker run and the judge's verdict on it, in `loop-claude`. - **gate** — the merge gate: the checks a PR passes before it merges. - **interrupt** — `loop-claude` handing the terminal to the human, `claude --resume`, for a decision that is theirs. +- **looping reviewer** — a reviewer rerun in rounds until no 🔴 and no 🟡 stand: stability, product-owner and a forge's auto-reviewer. - **plan** — `todo.md`. - **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 loop of a looping reviewer may take; a 🔴 or 🟡 open past it stops the loop at `needs input`. - **session** — a Claude Code session: one id, what `claude --resume` continues. - **trigger** — the signals in `larv-review` §2 that say the architecture pass is warranted. diff --git a/agents/review-protocol.md b/agents/review-protocol.md index ccf0dd96..7638993c 100644 --- a/agents/review-protocol.md +++ b/agents/review-protocol.md @@ -6,7 +6,7 @@ Words: `~/.claude/CLAUDE.md` → "Vocabulary". A review's first line, derived mechanically from the findings: -- `BLOCK` — a 🔴 stands; for a looping reviewer (stability, product-owner), a 🟡 too. +- `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. @@ -24,7 +24,7 @@ A review's first line, derived mechanically from the findings: - 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. -- Caps, per loop: stability, product-owner and an external auto-reviewer 3 rounds each; a 🔴 or 🟡 still open after the third stops the loop: list what is open, `needs input`. Systems-architect gets one scoped re-check; still `BLOCK` → `needs input`. +- Round cap: 3; when it stops the loop, list what is open. Systems-architect gets one scoped re-check; still `BLOCK` → `needs input`. ## Declining diff --git a/todo.md b/todo.md index 12d1ccb2..bfa69588 100644 --- a/todo.md +++ b/todo.md @@ -4,7 +4,6 @@ Ordered by how many seats of the 2026-09-25 scoring panel (`docs/decisions.md`) named the place; each is one chunk. -- Define looping reviewer and round cap under `CLAUDE.md` → "Vocabulary", today inline at `agents/review-protocol.md`. - Give "scoring run" a heading in `skills/comprehension-panel/SKILL.md`, today inside a paragraph `larv-review` cites. - Give `agents/systems-architect.md`'s promotion signal and size signal words other than `trigger`, today three meanings against the one under "Vocabulary". - Group `bin/loop-claude` by the Claude Code internals it rests on, in the docstring's order, with `main` and `run_cycle` above what they call, today 36 flat names with the adapter scattered.