Give the comprehension floor its own heading and log its calibration #33

Merged
lilleman merged 2 commits from comprehension-floor-heading into main 2026-09-25 08:17:22 +02:00
5 changed files with 10 additions and 3 deletions
+1
View File
@@ -2,6 +2,7 @@
Decisions live in `docs/decisions.md`:
- larv-review: a project under the comprehension floor is fixed at the capping dimension
- loop-claude: a judge decides interrupts, not the worker's self-report
- loop-claude: one session per project, at a fixed id
- loop-claude: the trust file is rewritten before an interrupt
+1
View File
@@ -18,3 +18,4 @@
- `larv-review` states its re-entry rules once: a fix made in a later pass re-enters the passes it fires, and a re-entered loop takes a fresh round cap.
- `CLAUDE.md`'s comment rules say once what a comment keeps: one line for what the code cannot show, with doc comments a tool consumes outside them.
- `CLAUDE.md`'s negation rule opens with its scope: prose describing the code as it stands.
- `larv-review`'s comprehension floor has its own heading under the architecture pass; why a project under it is fixed at the capping dimension is a decision in `docs/decisions.md`.
+4
View File
@@ -1,5 +1,9 @@
# Decisions
## larv-review: a project under the comprehension floor is fixed at the capping dimension
2026-09-20, lilleman. Serves goal 4. Across six projects scored with the four seats, Locality or Self-sufficiency capped every seat and Navigation capped none, so a layout fix would not lift a project under the floor. Valid while the scoring run keeps those four seats.
## loop-claude: a judge decides interrupts, not the worker's self-report
2026-09-21, lilleman. Serves goal 4. Asked to name the goal behind each choice, the worker cites a real goal for a choice that goal does not settle, and under-reports its own decisions; the judge's bar is whether the README discriminates between the alternatives. Valid while the worker's self-report stays unreliable.
+4 -2
View File
@@ -56,8 +56,6 @@ Otherwise, any one of these is grounds for the pass:
No signal fires → skip it, say so in the summary, don't ask. A signal fires with no record behind it → ask the user (AskUserQuestion) with the evidence and your recommendation. No user reachable → run the pass.
**When the architecture pass runs, the comprehension panel runs with it, and 7.0 is a blocking floor.** Invoke the `comprehension-panel` skill as a scoring run — four seats, one junior, one mid, the maintainability senior, the inherited architect — over the whole project, not the diff, and at depth 1 or 2 — never the full sweep. Below 7.0 the chunk does not merge: fix what the capping dimension names, or take the user's explicit decision to ship under it and record that in `docs/decisions.md` with the score and the dimension. At or above 7.0 the score is still a ratchet — a later chunk may not lower it — and the four dimension scores go in the summary so the next run can see the direction of travel. Calibration: across six projects (all libraries) scored this way, Locality or Self-sufficiency capped every single seat and Navigation capped none, so a project failing the floor is almost never failing on layout.
## 3. Architecture pass (when warranted)
Launch **systems-architect**: review the system as a whole entered through this change; the decision log carries previously accepted decisions to honor, the README the goals and Stage 0 artifacts.
@@ -67,6 +65,10 @@ Launch **systems-architect**: review the system as a whole entered through this
- **ALIGN** → apply what is cheap now; ask the user about the rest — each item becomes a fix, a ticket, or a documented decision, never a silent drop.
- **APPROVE** / **APPROVE WITH NITS** → proceed; nits per the protocol's rounds.
### Comprehension floor (with every architecture pass)
Invoke the `comprehension-panel` skill as a scoring run — four seats, one junior, one mid, the maintainability senior, the inherited architect — over the whole project, not the diff, and at depth 1 or 2. Below 7.0 the chunk does not merge: fix what the capping dimension names, or take the user's explicit decision to ship under it and record that in `docs/decisions.md` with the score and the dimension. At or above 7.0 the score is still a ratchet — a later chunk may not lower it — and the four dimension scores go in the summary so the next run can see the direction of travel.
## 4. Security pass (whenever the chunk changed anything but test code)
Run the built-in **`/security-review`** skill over the branch diff. It is the pass of record here: its value is a tuned exclusion list and a ≥0.8 confidence floor, which a hand-written reviewer would reproduce worse.
-1
View File
@@ -4,7 +4,6 @@
Ordered by how many seats of the 2026-09-24 scoring panel (`docs/decisions.md`) named the place; each is one chunk.
- Give the comprehension floor in `larv-review` its own heading and move its six-project calibration sentence to `docs/decisions.md`; today it sits under §2 "Trigger".
- Cut what `review-protocol.md` → "Documenting decisions" restates from `CLAUDE.md`: the decision kinds, the create-or-fix line and the record-nothing default.
- Make the missing-premises exit name what is missing: `README.md` itself, a `## Goals` or `## Audience` heading, or a body under one; today all three print the same line.
- Spell the false-claim rule once under `CLAUDE.md` → "Comments and documentation" with its tie-break, the doc corrected unless consumers rely on what it promises, and cite it from "Working with the codebase", "Working loop" and the README paragraph; today four spellings, two of which disagree on which side to fix.