Mutation-test the lines each chunk changes in the stability pass

This commit is contained in:
2026-10-13 11:01:04 +02:00
parent 5ba166e787
commit 2da84648fc
7 changed files with 28 additions and 20 deletions
+1
View File
@@ -2,6 +2,7 @@
## Unreleased
- The stability reviewer mutation-tests the lines each change adds or modifies: it makes small changes to that code, such as flipping a comparison, and reports each one that changes behaviour and that no test notices as a 🟡 naming the test to add or strengthen. It uses the project's documented mutation command, or else mutmut, Stryker, cargo-mutants or Infection. The technical principles replace "Test coverage should not decline" with that rule, and say what a valuable test is: it checks behaviour through the unit's interface, and fails when that behaviour breaks. README → "Tools" gives the mutmut command for `bin/`.
- Each new `loop-claude` worker session's prompt now quotes the README's Goals and Audience. A line above them says that the chunk's `todo.md` items, or else the task, set its scope, and that the goals only choose how to deliver it. A session outside the loop reads Goals and Audience before starting a chunk, as `CLAUDE.md` now says.
- A session no longer reads the technical principles before writing code. It writes the simplest change that solves its item, test first wherever a test can check the change, and reads a principle only when the item changes it, a finding names it, or a decision or `todo.md` item it writes cites it. larv-review's reviewers hold the change to the principles, and a finding against one names it. Expect more findings from the prose and stability reviewers, since sessions no longer load the rules for comments and READMEs.
- The rules for comments and READMEs, "Quality" and the examples behind "Prose" moved to `skills/larv-review/standards/`, which the prose and stability reviewers and `loop-claude`'s judge read. `CLAUDE.md` keeps a short core of "Prose"; sorting where order carries no meaning lives only in the technical principles.