Answer stability round 1: the ratchet reads the default branch's scores and points at each fallen dimension, a project without the entry gets one, the rebuild rule stays
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
- larv-review names each pass by the first column of its pass table, and titles each round's commit with that name in lower case: `Answer full scan round 1: …`.
|
||||
- larv-review's comprehension floor says what the scoring run measures without another file open. A project's `docs/decisions.md` keeps the last scoring run's scores, and the next run may not score below them.
|
||||
- larv-review's architecture pass and full security scan get short names, `Architecture` and `Full scan`. Each round's commit is titled with its pass's name in lower case: `Answer full scan round 1: …`.
|
||||
- larv-review's comprehension floor now says, without another file open, what the scoring run measures. A project's `docs/decisions.md` keeps the last scoring run's scores, and a later run scoring below them blocks the merge until fixed or until you decide to ship. A project without those scores gets them at its next scoring run.
|
||||
- `loop-claude`'s judge reads your `~/.claude/CLAUDE.md` beside the project's `AGENTS.md` and `docs/decisions.md`. It no longer interrupts for a choice that file settles, and it answers the worker's questions from it.
|
||||
- `loop-claude`'s judge holds a chunk open until each answer you typed in it that a later chunk could need is recorded. An answer counts as recorded once the README's goals or audience, `AGENTS.md`, `docs/decisions.md` or `~/.claude/CLAUDE.md` hold it. It also counts once the transcript shows the worker writing it into the README's goals or audience, `AGENTS.md`, `docs/decisions.md`, `todo.md` or a code comment. The worker writing to `~/.claude/CLAUDE.md` does not count, since new rules there are yours. The resumed worker is told this rule.
|
||||
- `loop-claude` archives each answer the judge quotes, with the question it answers and its UTC time, in `<sha256>.outcomes.md`.
|
||||
|
||||
+3
-1
@@ -40,7 +40,9 @@
|
||||
|
||||
The last scoring run, which the next may not score below (`CLAUDE.md` → "Quality"): PR #208, 2026-10-03, Navigation 7.5, Locality 7.0, Shape 7.13, Self-sufficiency 6.63, overall 6.88.
|
||||
|
||||
Shipped under the floor by lilleman's decision on the day, at that day's last scores (Navigation, Locality, Shape, Self-sufficiency, overall):
|
||||
No scoring run may score below `rebuild`'s best run either: 7.5, 7.0, 7.25, 6.75, 7.13 at 2c74bbc, 2026-09-29. 2026-10-01, lilleman.
|
||||
|
||||
lilleman decided to ship each of these under the floor on the day listed, at the PR's last scores (Navigation, Locality, Shape, Self-sufficiency, overall):
|
||||
|
||||
- 2026-10-01, `rebuild`, merged at 8585257: 7.38, 6.75, 7.25, 6.5, 6.88.
|
||||
- 2026-10-01, PR #182: 7.5, 6.5, 6.88, 6.25, 6.38.
|
||||
|
||||
@@ -30,7 +30,7 @@ A pass is one kind of review, a row of the table, named by its first column. Its
|
||||
|
||||
| Pass | Reviewer | Trigger |
|
||||
|------|----------|----------------------------------------|
|
||||
| Architecture | systems-architect, then principles-auditor and the comprehension floor | carries an architectural decision: a new, restructured or moved component, module, service or boundary; a new dependency or first use of an infrastructure pattern (queue, cron, cache, websocket, …); a new or changed external contract (routes, request/response shapes, events, webhooks, published file formats, CLI flags and exit codes); a schema change beyond an additive column; the chunk shipping its release's last item |
|
||||
| Architecture | systems-architect, then principles-auditor and the scoring run | carries an architectural decision: a new, restructured or moved component, module, service or boundary; a new dependency or first use of an infrastructure pattern (queue, cron, cache, websocket, …); a new or changed external contract (routes, request/response shapes, events, webhooks, published file formats, CLI flags and exit codes); a schema change beyond an additive column; the chunk shipping its release's last item |
|
||||
| Security | `/security-review` | changes code or config; a fix, only where it opens an untrusted-input boundary or touches authn/authz, secrets or crypto |
|
||||
| Full scan | the `claude-security` plugin at high effort: `/claude-security scan this branch's changes at high` | touches authn/authz, secrets or crypto, opens an untrusted-input boundary, or adds an external surface |
|
||||
| Stability | stability-reviewer | changes code, config or tests; a fix, only where it changes behaviour: what the code or its tests do |
|
||||
@@ -46,12 +46,12 @@ Give a reviewer without Bash the branch diff and `git ls-files`'s output in its
|
||||
- **Skip.** A precedent is a `docs/decisions.md` entry, or a plan item crediting the pass, that the repo held before the chunk began. Where one holds the decision this change executes, skip the pass and cite that entry or item.
|
||||
- **Departure.** A change that departs from the precedent is unreviewed, however thorough the precedent is.
|
||||
- **Ask.** Fired and not skipped → ask the user whether to run it, with the evidence and your recommendation; no user reachable → run it. For the full scan, give the evidence and your recommendation, then launch it: the plugin asks the user to confirm its cost, and that prompt is the ask.
|
||||
- **Audit.** A precedent or the user's no skips only the architect, never the principles audit or the comprehension floor: no precedent checked the code this chunk writes.
|
||||
- **Audit.** A precedent or the user's no skips only the architect, never the principles audit or the scoring run: no precedent checked the code this chunk writes.
|
||||
|
||||
**Round cap.**
|
||||
|
||||
- **Round.** A round is one launch of a pass's reviewer: the first, each re-entry, and the rerun after the architect returns Stage 0 questions ("Architecture" below).
|
||||
- **Architecture round.** The architecture pass's round is the architect (unless skipped), the principles audit and the comprehension floor, so a fix to any of their findings reruns the whole round.
|
||||
- **Architecture round.** The architecture pass's round is the architect (unless skipped), the principles audit and the scoring run, so a fix to any of their findings reruns the whole round.
|
||||
- **Auto-reviewer.** The external auto-reviewer (§4) is a pass of its own, each review it posts a round.
|
||||
- **Count.** Close each round with one commit that holds the round's fixes and is titled `Answer <pass> round <n>: …`, `<pass>` being the pass's name in lower case, such as `full scan`. A round that changed nothing gets an empty commit (`git commit --allow-empty`). Push the commits when §4 runs next, where there is a remote. A pass's count is the highest `<n>` among titles holding `Answer <pass> round <n>:` in `git log origin/<default branch>..HEAD` after a `git fetch`, or in `git log <default branch>..HEAD` with no remote. The auto-reviewer's count is the number of its reviews on the PR.
|
||||
- **Later rounds.** From round 2, prompt an agent under `~/.claude/agents/` with the previous round's findings verbatim and what changed since: `git diff <the commit the previous round reviewed> HEAD`, since the fixes may be unpushed.
|
||||
@@ -83,11 +83,13 @@ Launch systems-architect: review the system as a whole entered through this chan
|
||||
|
||||
Then the principles audit: one principles-auditor per file in `~/.claude/principles/` and one for the README's goals, each over the whole project in every round.
|
||||
|
||||
Then the comprehension floor. Four simulated readers — Junior A, Mid A, the maintainability senior and the inherited architect — each read the whole project, not the diff, and score it from 1 to 10 overall and on four dimensions: Navigation, Locality, Shape and Self-sufficiency. Each score is the mean of the four seats. Launch the seats per `~/.claude/skills/comprehension-panel/SKILL.md` → "The scoring run". The project's `docs/decisions.md` keeps one comprehension-floor entry: the last scoring run's scores, and each decision to ship under the floor with its scores.
|
||||
Then the comprehension floor, which the scoring run measures. Four simulated readers — Junior A, Mid A, the maintainability senior and the inherited architect — each read the whole project, not the diff, and score it from 1 to 10 overall and on four dimensions: Navigation, Locality, Shape and Self-sufficiency. The lowest dimension caps the overall. Each score is the mean of the four seats, to two decimals. Launch the seats per `~/.claude/skills/comprehension-panel/SKILL.md` → "The scoring run".
|
||||
|
||||
- **Floor.** With any dimension or the overall below 7.0, the chunk does not merge. Fix the places the seats name under the lowest dimension, or take the user's explicit decision to ship under the floor; no user reachable → fix. List a decision to ship under the floor in the entry, and file its places in `todo.md` per `~/.claude/CLAUDE.md` → "Todo items".
|
||||
- **Ratchet.** A score below the entry's last scoring run, even within the panel's noise, blocks the merge like a score under the floor; an equal score passes.
|
||||
- **Record.** Replace the entry's last scoring run with this one, and put its five scores in the summary.
|
||||
The project's `docs/decisions.md` keeps one comprehension-floor entry: the last scoring run's scores, and each decision to ship below the floor or the ratchet, with its scores. An entry already holding the project's scores, whatever its title, is that entry.
|
||||
|
||||
- **Floor.** With any dimension or the overall below 7.0, the chunk does not merge. Fix the places the seats name under the capping dimension, or take the user's explicit decision to ship under the floor; no user reachable → fix.
|
||||
- **Ratchet.** With any score below the entry's last scoring run as it stands on the default branch, even within the panel's noise, the chunk does not merge. Fix the places the seats name under each dimension that fell, or take the user's explicit decision to ship below it; no user reachable → fix. An equal score passes, and so does a project's first scoring run.
|
||||
- **Record.** Put each run's five scores in the summary and, as the last scoring run, in the entry, so the run the chunk merges on is the one the default branch keeps. List there a decision to ship below the floor or the ratchet, and file its places in `todo.md` per `~/.claude/CLAUDE.md` → "Todo items". A project without the entry gets it at its first scoring run, titled `comprehension floor: every dimension and the overall at 7.0 or above`, applying KISS in `~/.claude/principles/technical-principles.md`, its title listed in `AGENTS.md`.
|
||||
|
||||
### Security
|
||||
|
||||
|
||||
Reference in New Issue
Block a user