From f252e19bd90e98994288a2912b8061c7aa6228d0 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 1 Dec 2026 17:32:42 +0100 Subject: [PATCH] =?UTF-8?q?Rerun=20stability=20on=20a=20=F0=9F=9F=A1=20fix?= =?UTF-8?q?=20that=20adds=20a=20unit=20of=20behaviour?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/decisions.md | 4 +++- skills/larv-review/SKILL.md | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/decisions.md b/docs/decisions.md index 5a34df72..1bff5f04 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -371,7 +371,7 @@ Valid while no published standard sets either number, the reading-cost window st 2026-10-08, lilleman. Serves goal 1.4: run beside the full scan, `/security-review` started seconds apart from it each round and returned a near-identical report. Valid while the full scan covers what `/security-review` reports. -## review: a fix for a ๐Ÿ”ด reruns the pass that found it, unless that pass is at its cap, and each pass whose row in `larv-review` ยง3's re-entry table the fix meets; from round 2 a pass reviews only the answers to its last round's findings and any other pass's fix that re-entered it; a fix for a ๐ŸŸข or a โ“ doesn't rerun any pass, nor does one for a prose finding unless it rewrites a claim a command or a source file can check, which reruns prose once, and a fix for a ๐ŸŸก reruns the pass that raised it only when the fix weakens, skips or guards a test; the stability pass doesn't rerun on a round's fixes where every ๐Ÿ”ด and ๐ŸŸก of that round asked only that a named mutant be killed or a named failing test pass, and the tests and the mutation command run clean on the fixes +## review: a fix for a ๐Ÿ”ด reruns the pass that found it, unless that pass is at its cap, and each pass whose row in `larv-review` ยง3's re-entry table the fix meets; from round 2 a pass reviews only the answers to its last round's findings and any other pass's fix that re-entered it; a fix for a ๐ŸŸข or a โ“ doesn't rerun any pass, nor does one for a prose finding unless it rewrites a claim a command or a source file can check, which reruns prose once, and a fix for a ๐ŸŸก reruns the pass that raised it only when the fix weakens, skips or guards a test, and reruns stability when the fix adds a unit of behaviour such as a guard or shared state; the stability pass doesn't rerun on a round's fixes where every ๐Ÿ”ด and ๐ŸŸก of that round asked only that a named mutant be killed or a named failing test pass, and the tests and the mutation command run clean on the fixes 2026-10-08, lilleman. Serves goal 1.4. An audit of the four costliest archived chunks found nearly every finding that mattered in a pass's first round; when every fix, a nit's included, re-entered review, later rounds mostly re-checked the last fix, reworded what an earlier round wrote, or contradicted another round on the same line. A round 2 caught real bugs only where a fix changed behaviour, so stability still reruns on every fix that does, and security on every fix that opens an untrusted-input boundary or touches authn/authz, secrets or crypto. Valid while round-2 reviews of nit and prose fixes change only what a user wouldn't notice. @@ -385,6 +385,8 @@ Valid while no published standard sets either number, the reading-cost window st 2026-11-25, lilleman through todo item 540. Serves goals 1.1 and 1.4. The 2026-10-08 entry's validity condition broke once, in one chunk. A prose reviewer flagged a doc's claim about generated output as false, the rewrite was still false, and only the outside auto-reviewer caught it, after the PR was ready. A credit sentence also left out the licence link and the notice of changes that the source's licence file lists. So a prose fix that rewrites a checkable claim, such as generated output, a number or a licence term, reruns the prose pass as its second and last round. The reviewer gets each rewritten claim and looks for a counter-example, then checks it against the source the claim names. A fix that rewords a claim without changing what it says reruns no pass. The other direction, having the reviewer test each rewrite before accepting it, needs a round that sees the rewrite anyway. Valid while a second prose round finds a false rewrite in more than a few of the chunks it runs in. +2026-12-01, lilleman through todo item 569. Serves goals 1.1 and 1.4. The 2026-10-29 entry's validity condition broke once more. In a chunk, a product-owner round raised a ๐ŸŸก: a callback could recurse. The fix added a shared counter that guards the callback, and no pass read it, since a ๐ŸŸก fix reruns nothing unless it weakens a test. The forge's auto-reviewer then found a second entry point that bypassed the guard. So a ๐ŸŸก fix that adds a unit of behaviour the pass has not seen, such as a new type, a guard, a counter or shared state, reruns Stability, which reads what it does. A fix that only changes the existing lines of a unit reruns nothing, as before, and the round cap still holds. No deterministic tool fits, since whether a fix adds a mechanism is a judgement on the diff. Valid while a stability round on such a fix finds a defect in more than a few of the chunks it runs in. + ## review: a comment is prose in any file; a branch changing only Markdown no agent follows runs only the prose pass and, for README or docs an outside reader lands on, the product-owner pass; plan rows a chunk files from a finding, re-scores or moves get no review 2026-10-29, lilleman. Serves goals 1.4 and 1.5. One project's chunk on 2026-10-29 changed a README paragraph, `todo.md` and three lines of `gate.yml`, and the principles, security and stability passes all ran on it, each twice: 6 of the chunk's 10 rounds. A change to config is one that changes what runs, so a comment in it fires only the prose pass, as a comment in code already did. A branch that changes only Markdown no agent follows changes no code, config or tests, so no pass that reads those runs on it. A plan row a chunk files from a finding, re-scores or moves is read by the chunk that ships it, so reviewing it at filing reviewed it twice: that chunk spent a prose round of 4 minutes on its plan change. Markdown an agent follows, such as a skill, is config, since a change there changes what agents do. Valid while defects in prose-only chunks stay rare in later chunks' fixes. diff --git a/skills/larv-review/SKILL.md b/skills/larv-review/SKILL.md index 63a2d54d..bf6e86fc 100644 --- a/skills/larv-review/SKILL.md +++ b/skills/larv-review/SKILL.md @@ -112,6 +112,7 @@ Give a reviewer without Bash `git ls-files`'s output in its prompt, since some h | a ๐Ÿ”ด of a pass other than prose | made rule-hook log an override | Overrides | | a ๐Ÿ”ด of a pass other than prose | changes behaviour: what the code or its tests do | Stability | | a ๐ŸŸก of a pass other than prose | removes or loosens an assertion, changes an expected value, or skips, deletes or guards a test or assertion with a condition or a catch | that pass | +| a ๐ŸŸก of a pass other than prose | adds a unit of behaviour the pass has not seen, such as a new type, a guard, a counter or shared state; a change to the existing lines of a unit isn't one | Stability | | a prose finding, of any severity | rewrites what a claim says, where a command or a source file can check the claim, such as what generated output holds, a number or a licence term | Prose, as its second and last round | Example: in the release review, a fix for a stability ๐Ÿ”ด that changes code and a comment reruns Stability and Principles. @@ -119,7 +120,7 @@ Example: in the release review, a fix for a stability ๐Ÿ”ด that changes code and A fix that fits no row doesn't rerun any pass. So none of these does: - a fix for a ๐ŸŸข or a โ“, whatever it changes; -- a fix for a ๐ŸŸก that does none of what the ๐ŸŸก row lists; +- a fix for a ๐ŸŸก that does none of what the ๐ŸŸก rows list; - a fix for a prose finding that rewords a claim and keeps what it says. A comment or doc edit inside a fix for another pass's finding adds no pass: no row reruns Prose for it.