diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ba83f66..9cebf3e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Unreleased -- A project may opt out of larv-review's architect, product-owner pass or comprehension check in every chunk, through a decision in its `docs/decisions.md` that names the goal skipping them serves. A project without such a decision is reviewed as before. +- A project may opt out of larv-review's architect, product-owner pass or comprehension check in every chunk, through a `docs/decisions.md` entry titled `review opt-out: …` that names the goal skipping them serves. A project without such an entry is reviewed as before. Opting out of the comprehension check also skips the scoring run due at a release's end, so the floor blocks nothing; the opt-out ends with a chunk that ships a plan item naming the floor. The principles audit always runs. - A README goal states the project's aim and intent, and no longer names a step of the work, such as "kill weak candidates early". Such steps go in a method section further down the README and name the goal they serve. - The stability reviewer keeps its scratch work in a directory it creates for the run, deletes that directory afterwards, and deletes nothing else. - larv-review's mechanical rules run in the new, tested `bin/larv-review`: the paired ruling's base (`ruling-base`), each pass's round count (`round-count`, which ignores case in a round's commit title, counts a repeated round number as a round of its own, and says to ask you before another round once a pass is at or past the cap), the scoring run's trigger (`needs-scoring-run ...`), and the vote count, means and history format (`record-ruling []` and `record-scoring [...]`, which append to `docs/comprehension-history.md` and refuse a second entry on what a seats file's first line reads; `record-scoring` refuses a run the plan does not call, and prints `Floor:` naming each mean under the floor). The skill says when to run each and what its answer means. A seats file line the tool cannot read fails the run, so a mistyped vote never counts as same. The base search compares the history before and after each merged change, so it no longer depends on how a line is worded, and orders a change's rulings by their headings' times. A release whose last plan item moves to another release is due a scoring run too, once work has landed towards it. A seats file must name commits the checkout holds. When origin cannot be fetched, the tool reads it as last fetched and says so. diff --git a/CLAUDE.md b/CLAUDE.md index a7141f5f..92f16efe 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -34,10 +34,10 @@ How work proceeds in any repo, unless the repo's `AGENTS.md` says otherwise. The ## Quality -Quality is proven by review. Every change is reviewed as a diff. The whole project is measured when a change carries an architectural decision, and before each release, because a project can drift from the principles one clean diff at a time. `larv-review` §3 says which review runs when. Quality has three parts. When two pull against each other, the earlier one wins. +Quality is proven by review. Every change is reviewed as a diff. The whole project is measured when a change carries an architectural decision, and before each release, unless the project opts out (`larv-review` §3 → "Opt-out"), because a project can drift from the principles one clean diff at a time. `larv-review` §3 says which review runs when. Quality has three parts. When two pull against each other, the earlier one wins. 1. **Correct.** The work does what the goals and the plan say, and tests prove it. -2. **True to the technical principles** (`~/.claude/principles/technical-principles.md`). The `comprehension-panel` skill measures KISS in `larv-review`'s comprehension check (§3 → "Architecture"), which a project decision may suspend or opt out of. **Comprehension never falls:** when readers comparing the chunk with the last commit the panel scored or ruled better rule that it reads worse, improve what they named and rule again. After three such rounds, stop and ask the human. At a release's end, or for an item naming it, a score under the comprehension floor blocks a merge. +2. **True to the technical principles** (`~/.claude/principles/technical-principles.md`). The `comprehension-panel` skill measures KISS in `larv-review`'s comprehension check (§3 → "Architecture"), which a project decision may suspend or opt out of. **Comprehension never falls:** when readers comparing the chunk with the last commit the panel scored or ruled better rule that it reads worse, improve what they named and rule again. After three such rounds, stop and ask the human. At a release's end, or for an item naming it, a score under the comprehension floor blocks a merge, unless the project opted out of the comprehension check. 3. **Plainly written**, per "Prose". ## Prose diff --git a/docs/decisions.md b/docs/decisions.md index 25c66f97..1fdbd8aa 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -79,7 +79,7 @@ lilleman decided to ship each of these under the floor on the day listed. Each l ## review: a project decision may opt out of the architect, the product-owner pass or the comprehension check in every chunk -2026-10-11, lilleman. Serves goal 1.4. A research repo has no consumer for the product-owner pass and no product for the architect, yet PR #10 of oss-opportunity-research spent rounds of both on a probe, and of the comprehension check. The opt-out is the project's to make, so a project without the decision is reviewed as before (goal 1.3); the principles audit has no opt-out. Valid while each opted-out reviewer's findings matter only to a product with consumers. +2026-10-11, lilleman. Serves goal 1.4. A research repo has no consumer for the product-owner pass and no product for the architect, yet PR #10 of oss-opportunity-research spent rounds of both on a probe, and of the comprehension check. The opt-out is the project's to make, and only an entry titled `review opt-out:` makes it, so a project without one is reviewed as before (goal 1.3). Skipping the comprehension check does not work against KISS, which the principles audit, with no opt-out, still judges; so the entry names no plan item that ends it. Ending an opt-out of the comprehension check waits for a chunk shipping an item naming the floor, so the first ruling after it compares against a fresh scoring run, not months of unmeasured drift. Valid while each opted-out reviewer's findings matter only to a product with consumers. ## review: a pass skips only on a precedent: a decision, or a plan item crediting the pass, that the repo held before the chunk began diff --git a/skills/larv-review/SKILL.md b/skills/larv-review/SKILL.md index a2ff43a2..0869b4c4 100644 --- a/skills/larv-review/SKILL.md +++ b/skills/larv-review/SKILL.md @@ -52,7 +52,7 @@ Give a reviewer without Bash the branch diff and `git ls-files`'s output in its - **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: no precedent checked the code this chunk writes. The comprehension check skips only as "Architecture" → "Suspended" or "Opt-out" says. -**Opt-out.** A decision in the project's `docs/decisions.md`, held before the chunk began, may name any of the architect, the product-owner pass and the comprehension check, and the project goal that skipping them serves. Every chunk skips each one it names, whatever its trigger or a due scoring run says, and its summary cites the decision. A project without such a decision runs each pass its trigger fires. +**Opt-out.** A project opts out only through a `docs/decisions.md` entry whose title opens `review opt-out:`, held before the chunk began. The title names one or more of the architect, the product-owner pass and the comprehension check, and the entry names the project goal that skipping them serves. Every chunk skips each one it names, whatever its trigger, a 🔀 or a due scoring run says, and its summary cites the entry. An architecture pass left without the architect and the comprehension check still runs the principles audit. Any other entry opts out of nothing. An opt-out naming anything else, or no goal, is a finding, and the chunk runs every pass its trigger fires. An opt-out of the comprehension check ends only with the chunk that ships a plan item naming the floor: that chunk's scoring run becomes the base of the next paired ruling. **Round cap.**