From aef6967560b5dca079e7b45146165c0f31652619 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 1 Dec 2026 17:32:42 +0100 Subject: [PATCH 1/6] Record reading cost --- docs/reading-cost.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/docs/reading-cost.md b/docs/reading-cost.md index 8ecf4cff..662a4d6a 100644 --- a/docs/reading-cost.md +++ b/docs/reading-cost.md @@ -3885,3 +3885,28 @@ Read most (opens and searches): - `README.md` 2 - `bin/agent_cycle/retry.py` 1 - `bin/claude_code/entries.py` 1 + +## Reading cost, chunk 2fa341e0b5d1, finished 2026-12-01T16:16:53Z + +50216 new input tokens before the first commit. + +Read most (opens and searches): + +- `principles/technical-principles.md` 2 + +## Reading cost, chunk a19368c2217b, finished 2026-12-01T16:24:41Z + +51799 new input tokens before the first commit. + +Read most (opens and searches): + +- `agents/product-owner-reviewer.md` 6 + +## Reading cost, chunk 9b36460eb19c, finished 2026-12-01T16:31:56Z + +52867 new input tokens before the first commit. + +Read most (opens and searches): + +- `agents/prose-reviewer.md` 2 +- `agents/product-owner-reviewer.md` 1 -- 2.52.0 From f252e19bd90e98994288a2912b8061c7aa6228d0 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 1 Dec 2026 17:32:42 +0100 Subject: [PATCH 2/6] =?UTF-8?q?Rerun=20stability=20on=20a=20=F0=9F=9F=A1?= =?UTF-8?q?=20fix=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. -- 2.52.0 From 4c820ac4275ec27435c037295bcf52bf16362577 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 1 Dec 2026 17:38:25 +0100 Subject: [PATCH 3/6] =?UTF-8?q?Answer=20stability=20round=201:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=202=20=F0=9F=9F=A1=20(0=20misread);=20define=20th?= =?UTF-8?q?e=20new=20row's=20terms=20and=20point=20the=20exemption=20at=20?= =?UTF-8?q?the=20first=20=F0=9F=9F=A1=20row?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/decisions.md | 4 ++-- skills/larv-review/SKILL.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/decisions.md b/docs/decisions.md index 1bff5f04..65627884 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, 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 +## 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 when the fix weakens, skips or guards a test, and reruns stability when it adds a guard, counter 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,7 +385,7 @@ 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. +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. 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 doesn't rerun any pass 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 type, a function, a guard, a counter or shared state, or another new unit of behaviour, reruns Stability, which reads what the new unit does. A fix that only edits what existing lines do, or adds a test, doesn't rerun any pass, as before, and the round cap still holds. No deterministic tool fits, since whether a fix adds a unit of behaviour 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 diff --git a/skills/larv-review/SKILL.md b/skills/larv-review/SKILL.md index bf6e86fc..ed78545f 100644 --- a/skills/larv-review/SKILL.md +++ b/skills/larv-review/SKILL.md @@ -112,7 +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 ๐ŸŸก of a pass other than prose | adds a type, a function, a guard, a counter or shared state to code, or any other new unit of behaviour, whether in new lines or inside existing ones; a test, or a change that only edits what existing lines do, adds none | 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. @@ -125,7 +125,7 @@ A fix that fits no row doesn't rerun any pass. So none of these does: A comment or doc edit inside a fix for another pass's finding adds no pass: no row reruns Prose for it. -One fix fits the ๐ŸŸก row and still doesn't rerun the pass: a fix that only kills a named mutant or makes a named failing test pass, once ยง2's tests and mutation command run clean on it and the named failing test is unedited ("Mechanical answers"). A skipped test kills no mutant. +One fix fits the first ๐ŸŸก row and still doesn't rerun the pass: a fix that only kills a named mutant or makes a named failing test pass, once ยง2's tests and mutation command run clean on it and the named failing test is unedited ("Mechanical answers"). A skipped test kills no mutant. A round's fixes re-enter together: run every pass the table names for any of them, a done pass included, in the waves of "Waves", then ยง4. "Mechanical answers" below names the one case where the fixes for a ๐Ÿ”ด don't rerun its pass. A pass at its cap doesn't run again ("Round cap" โ†’ "Cap"). -- 2.52.0 From add7c09dd48ffaf6a44e8f20a66c50b607678c28 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 1 Dec 2026 17:38:25 +0100 Subject: [PATCH 4/6] =?UTF-8?q?Answer=20prose=20round=201:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=203=20=F0=9F=9F=A1=20(0=20misread);=20fixed=20in?= =?UTF-8?q?=20the=20previous=20commit:=20reword=20the=20entry,=20cut=20the?= =?UTF-8?q?=20vague=20phrase,=20name=20the=20first=20row?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -- 2.52.0 From 3315d9ffdc6cff5b3b92c75abcefefe8f1041051 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 1 Dec 2026 18:32:25 +0100 Subject: [PATCH 5/6] Record the comprehension check: two scoring runs of PR #777 at add7c09d, overall 6.13 then 5.88, and refresh floor item 300 --- docs/comprehension-history.md | 84 +++++++++++++++++++++++++++++++++++ todo.md | 6 ++- 2 files changed, 88 insertions(+), 2 deletions(-) diff --git a/docs/comprehension-history.md b/docs/comprehension-history.md index ea5e14d5..9b47663d 100644 --- a/docs/comprehension-history.md +++ b/docs/comprehension-history.md @@ -4594,3 +4594,87 @@ Inherited architect, would restructure first: - Locality, Self-sufficiency: `skills/larv-review/SKILL.md:96` "Round cap": the cap's contract spans the skill, three modules and `bin/rule_hook/rules.py:85` - Navigation, Shape: `bin/agent_cycle/__init__.py:1` `agent_cycle`: 17 flat modules against its own "about seven" citation - Navigation: `bin/chunk_driver/this_loop.py:12` `Loop`: the name doesn't say it holds a chunk's run context + +## 2026-12-01T16:47:50Z, PR #777 at add7c09d + +| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall | +|---|---|---|---|---|---| +| Junior A | 7 | 5.5 | 6 | 5.5 | 6 | +| Mid A | 7 | 5.5 | 6 | 6 | 6 | +| Maintainability senior | 7 | 5.5 | 6 | 6 | 6 | +| Inherited architect | 7 | 6.5 | 6 | 6 | 6.5 | +| Mean | 7.00 | 5.75 | 6.00 | 5.88 | 6.13 | + +Junior A, hardest first: + +- Locality, Shape: `bin/do_epic/scheduler.py:172` `start_chunks`: six sets and a five-branch elif whose order looks load-bearing, under nested locks +- Locality, Shape: `bin/chunk_pr/main.py:485` `merged`: a queue loop over a flock, three outcomes and a parks flag, with `base_of` 250 lines away +- Locality: `bin/do_epic/parking.py:18` `parked_through`: a three-step order across a state file, a tmux name and the scheduler, with a mutable `Told` +- Self-sufficiency: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rung concepts, with the caps in other files +- Locality, Self-sufficiency: `skills/larv-review/SKILL.md:104` "Re-entry": nine rows that point to other sections, so the state machine is run in the reader's head +- Locality: `bin/agent_cycle/judge.py:88` `Reply`: a heading wording coupled to judge-replay with nothing that enforces it + +Mid A, hardest first: + +- Locality, Shape: `bin/do_epic/scheduler.py:172` `start_chunks`: an elif ladder over five sets and a shared counter, under a lock +- Locality: `bin/do_epic/parking.py:18` `parked_through`: the order across three stores is only in the docstring, with a mutable `Told` +- Locality: `bin/chunk_pr/main.py:624` `levelled_and_finished`: the order of the scoring-run check and `remeasure` reads git history +- Self-sufficiency: `bin/agent_cycle/routing.py:115` `unfinished_route`: why the rules hold is in the decision log +- Shape: `bin/plan/ranking.py:250` `weight_of`: prose says one thing and the code reads as another + +Maintainability senior, hardest first: + +- Locality, Shape: `bin/do_epic/scheduler.py:172` `start_chunks`: truth split between tmux window names and files, with branches that assume combinations of the two +- Locality: `bin/do_epic/parking.py:18` `parked_through`: a poll loop over a mutable `Told` and a substring test +- Locality: `bin/chunk_pr/main.py:624` `levelled_and_finished`: five ordered steps whose reorder safety isn't stated +- Shape: `bin/plan/ranking.py:239` `score`: every path branches on the old and the new table shape +- Shape: `bin/rule_hook/env_file.py:34` `reaching`: `and` over `or` without parentheses at line 41 + +Inherited architect, would restructure first: + +- Locality: `bin/rule_hook/round_cap.py:10` `round_cap_breaches`: round counting and its enforcement sit in three units, with a launch-time gap +- Shape, Navigation: `bin/chunk_pr/main.py:485` `merged`: a 42-unit, 801-line module that bundles several concerns +- Navigation: `README.md:261` "Packages under bin/": the only map of a flat root of about 80 entries +- Self-sufficiency: `bin/loop_claude/loop/usage.py:187` `usage`: a restated list of judge failures that duplicates `bin/agent_cycle/judge.py:161` `verdict_from` + +## 2026-12-01T16:52:31Z, PR #777 rerun at add7c09d + +| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall | +|---|---|---|---|---|---| +| Junior A | 6.5 | 5 | 5.5 | 5 | 5.5 | +| Mid A | 7 | 5.5 | 6 | 6 | 6 | +| Maintainability senior | 7 | 6 | 6 | 6 | 6 | +| Inherited architect | 6.5 | 6 | 5.5 | 6.5 | 6 | +| Mean | 6.75 | 5.63 | 5.75 | 5.88 | 5.88 | + +Junior A, hardest first: + +- Locality, Shape: `bin/do_epic/scheduler.py:172` `start_chunks`: four overlapping sets and a slot count in an if/elif chain whose completeness can't be checked +- Locality, Shape: `bin/chunk_pr/main.py:485` `merged`: a queue loop over two outcomes, a parks flag and a flock, held together by a 110-line docstring +- Locality: `bin/do_epic/parking.py:18` `parked_through`: a mutable `Told` changed for the caller, so the effects aren't visible at the call site +- Self-sufficiency, Locality: `bin/loop_claude/loop/chunk_windows.py:150` `chunks_to_start`: a near-twin of `bin/do_epic/scheduler.py:172` with different rules and no stated reason for two +- Self-sufficiency: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rungs and caps that are only readable after the module's table + +Mid A, hardest first: + +- Locality, Shape: `bin/do_epic/scheduler.py:172` `start_chunks`: seven collections tracked across a five-way elif +- Locality: `bin/do_epic/parking.py:18` `parked_through`: the park and resume invariant spans three files and no unit owns it +- Shape: `bin/task_bench/main.py:242` `Planner`: three layers of curried callables +- Locality: `bin/agent_cycle/judge.py:77` `TASK_HEADING`: the wording is coupled to judge replay by a comment only +- Locality: `bin/chunk_pr/main.py:485` `merged`: the queue order needs three functions read together + +Maintainability senior, hardest first: + +- Locality, Shape: `bin/do_epic/scheduler.py:172` `start_chunks`: sets that must stay disjoint, with the invariants stated nowhere +- Locality: `bin/do_epic/parking.py:18` `parked_through`: when `Told` is written and who reads it is unclear +- Shape, Locality: `bin/chunk_pr/main.py:624` `levelled_and_finished`: the name hides the scoring-run gate and the remeasure +- Shape: `bin/plan/ranking.py:144` `weigh`: every function checks the old table shape again +- Locality: `bin/agent_cycle/tmux.py:92` `as_listed`: chunk state lives in window-name suffixes that other code matches on + +Inherited architect, would restructure first: + +- Locality: `bin/rule_hook/round_cap.py:28` `earlier_titles`: a round counter that fails open, beside `bin/larv_review/reviewer_header.py:83` `branch_summaries`, which fails closed +- Locality: `bin/rule_hook/reviewer_rung.py:28` `reviewer_breaches`: a launch is refused for its rung, never for its round count +- Navigation: `bin/do_epic/__init__.py:1` `do_epic`: an empty package header over about 25 modules, mapped only in README prose +- Shape, Navigation: `bin/chunk_pr/main.py:485` `merged`: one of three 37 to 46 KB mains that bundle several concerns +- Shape: `bin/agent_cycle/run.py:33` `Cycle`: 17 fields diff --git a/todo.md b/todo.md index 0cf9732f..9aa9b49b 100644 --- a/todo.md +++ b/todo.md @@ -46,7 +46,7 @@ | 499 | 0.23.0 | | defect | **Stop `todo-item add` and `edit` from waiting on a stdin that stays open without data, so a call without a heredoc ends at once.** | 2 | 2 | 2 | 4 | 2 | 1.5 by 3, 1.4 by 2 | 1.5 | | 445 | 0.23.0 | | | **Refuse a plan that holds an item a `Finish item ` commit already removed, so a merge resolution cannot bring a finished item back.** | 2 | 2 | 2 | 4 | 3 | 1.4 by 3, 1.1 by 2 | 1.4 | | 171 | 0.23.0 | | decision | **Group the routing figures' review rounds by the reviewers' rung as well as the worker's, so a call blames a rung only for rounds its own reviews raised.** | 3 | 2 | 2 | 5 | 4 | 1.2 by 3, 1.4 by 3 | 1.4 | -| 300 | 0.23.0 | | owner | **Reach the comprehension floor: restructure the places the comprehension seats found hardest to follow, so the project reads at 7.0 or above on every dimension, Self-sufficiency, Locality and Shape first; today the second scoring run at 98c49021 scored Navigation 7.00, Locality 5.88, Shape 6.13, Self-sufficiency 5.75 and Overall 6.13.** | 4 | 2 | 3 | 7 | 8 | code health by 8 | 1.4 | +| 300 | 0.23.0 | | owner | **Reach the comprehension floor: restructure the places the comprehension seats found hardest to follow, so the project reads at 7.0 or above on every dimension, Self-sufficiency, Locality and Shape first; today the second scoring run at add7c09d scored Navigation 6.75, Locality 5.63, Shape 5.75, Self-sufficiency 5.88 and Overall 5.88.** | 4 | 2 | 3 | 7 | 8 | code health by 8 | 1.4 | | 264 | 0.23.0 | | | **Report the comprehension seats and the escalated subagents as subagent types of their own in `routing-figures.md`, with their dollars.** | 2 | 2 | 1 | 3 | 3 | 1.4 by 5 | 1.4 | | 323 | 0.23.0 | | | **Count a release review as landed once its pull request has merged, whatever its commits are titled.** | 3 | 2 | 3 | 6 | 3 | 1.4 by 3, 1.5 by 2 | 1.4 | | 342 | 0.23.0 | | | **Research the tooling agents read, search and run commands with once more, and file an item for each tool that cuts tokens a replay shows keep quality.** | 1 | 2 | 1 | 2 | 3 | 1.4 by 3, 1.5 by 2 | 1.4 | @@ -307,10 +307,12 @@ Have the gate, or `rank_todo.py --check` where it runs in a checkout, refuse a p Raised by the goals audit of PR #296. `bin/routing_figures/calls.py` groups a chunk's review rounds by the rung its worker started on, and calls for a routing change when a lower rung took more of them. Since PR #296 the reviewers may run above the worker's rung, on the one their item's E + I picks, and no figure groups rounds by it, though the archived worker line names the E + I it follows from. A cheap worker on an item of high E + I gets stronger reviewers, who may raise more rounds, and a call could then blame the worker's rung for them: an interrupt of lilleman that settles nothing (goal 1.2). -### 300. Reach the comprehension floor: restructure the places the comprehension seats found hardest to follow, so the project reads at 7.0 or above on every dimension, Self-sufficiency, Locality and Shape first; today the second scoring run at 98c49021 scored Navigation 7.00, Locality 5.88, Shape 6.13, Self-sufficiency 5.75 and Overall 6.13. +### 300. Reach the comprehension floor: restructure the places the comprehension seats found hardest to follow, so the project reads at 7.0 or above on every dimension, Self-sufficiency, Locality and Shape first; today the second scoring run at add7c09d scored Navigation 6.75, Locality 5.63, Shape 5.75, Self-sufficiency 5.88 and Overall 5.88. Filed by the comprehension check of PR #473 at 13d1550 (`larv-review record-scoring`), which printed `Floor:` and `Next:`, refreshed from the two runs of item 525's chunk at 68611733, and then from the two runs of item 565's chunk at 98c49021. The lowest mean of the second run at 98c49021 is Self-sufficiency at 5.75, with Locality at 5.88 and Shape at 6.13; the first run put Self-sufficiency lowest at 5.63, with Locality and Shape at 5.75. Self-sufficiency: the why behind code sits in `docs/decisions.md`, cited by title from about 120 places, and the review loop's rules live in `skills/larv-review/SKILL.md`, not beside the unit that enforces them; `bin/agent_cycle/routing.py:115` `unfinished_route` keeps its reasons in the decision log too. Locality: do-epic and chunk-pr run order-dependent steps and keep state in tmux window names and between loop passes (`start_chunks`, `resumed_news`, `merged`, `merge_turn`), and no code enforces the order; `bin/do_epic/main.py:236` `chunk_run` and `bin/do_epic/scheduler.py:172` `start_chunks` are the hardest do-epic places, and the round cap is counted three ways (`bin/rule_hook/round_cap.py:28` `earlier_titles`, `bin/larv_review/reviewer_header.py:83` `branch_summaries`, `bin/review_rules/round_titles.py:39` `named_counts`). Shape: `bin/` stays flat at about 86 entries at one level, long functions carry several flags at once, and the OLD_SHAPE fork in `bin/plan/ranking.py` doubles the paths through ranking. Refresh this item's places and aim from the newest run before the chunk starts; do not file a second floor item. +Newest run, two runs of item 569's chunk at add7c09d: Locality is lowest at 5.63. It adds these places to the list below: `bin/rule_hook/reviewer_rung.py:28` `reviewer_breaches` refuses a launch for its rung and never for its round count, so the round cap has a launch-time gap beside the three counters; `bin/loop_claude/loop/chunk_windows.py:150` `chunks_to_start` is a near-twin of `bin/do_epic/scheduler.py:172` `start_chunks` with different rules and no stated reason for two; `bin/agent_cycle/tmux.py:92` `as_listed` keeps chunk state in window-name suffixes that other code matches on; `bin/plan/ranking.py:144` `weigh` checks the old table shape in every function; `bin/do_epic/__init__.py:1` has no map of its 25 modules. + Aim: one ambitious refactor of the areas below, sized so every mean reaches 7.0 on the chunk's own scoring run. Where a place is already easier to read when the chunk starts, drop it. Places the seats named in the two runs at 98c49021, hardest first (`larv-review places`), Self-sufficiency first: -- 2.52.0 From 7040f72a85a9f85bf15f69b2f7e5c0a5e04dd20f Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 1 Dec 2026 18:32:44 +0100 Subject: [PATCH 6/6] Finish item 569 in the plan --- CHANGELOG.md | 1 + todo.md | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b4aecc2..6a255d9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- larv-review reruns the stability pass on a fix for a ๐ŸŸก that adds a type, a function, a guard, a counter or shared state, or another new unit of behaviour, within the two-round cap. - The prose and product-owner reviewers flag a number, threshold or "noise" claim in docs that the change's figures don't support, and a benchmark note that omits what its setup leaves out. - The product-owner reviewer reports each sentence of a change that promises a behaviour the shipped code doesn't make true, even where a plan item will make it true later. - The technical principles now say that a test waits on a signal the code or its fake sends when it reads state another goroutine, process or queue sets, never on a count read straight after the call. diff --git a/todo.md b/todo.md index 9aa9b49b..e2d62fe9 100644 --- a/todo.md +++ b/todo.md @@ -12,7 +12,6 @@ | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| -| 569 | 0.17.0 | | | **Rerun the stability pass on a fix for a ๐ŸŸก that adds a new unit of behaviour, such as a guard or shared state; today no pass reads it.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.7 | | 480 | 0.18.0 | | owner | **Resolve every path the tools use in one module: the release root (the folder the running code ships in), the config folder, the state folder and the Claude home. Then only that module names `~/.claude`, and the loop still runs from `~/.claude`.** | 3 | 2 | 3 | 6 | 6 | 1.6 by 3, code health by 3 | 1.9 | | 481 | 0.18.0 | 480 | owner | **Put the release's tools on `PATH` for every session the loop starts and every hook it runs, name them bare in the prose in place of `~/.claude/bin/`, and refuse the old spelling in new prose.** | 3 | 2 | 3 | 6 | 6 | 1.4 by 2, 2 by 2, code health by 2 | 1.5 | | 571 | 0.18.0 | | | **Make `task-bench` run a project's tests that call git, such as `git ls-files` and `git show :settings.json`, when started from a chunk's worktree, or fail before its first run with a message naming the cause.** | 2 | 1 | 1 | 2 | 3 | 1.1 by 3, 1.4 by 2 | 1.4 | @@ -108,14 +107,6 @@ ## Details -### 569. Rerun the stability pass on a fix for a ๐ŸŸก that adds a new unit of behaviour, such as a guard or shared state; today no pass reads it. - -A chunk's product-owner round raised a ๐ŸŸก: a callback could recurse. The fix added a new mechanism, a shared counter that guards the callback. `larv-review` ยง3 โ†’ "Re-entry" reruns no pass for a ๐ŸŸก fix unless it loosens a test, so no reviewer of ours read the mechanism. The forge's auto-reviewer then found that a second entry point bypassed the guard. - -Add a row to the Re-entry table, in `skills/larv-review/SKILL.md` and wherever `bin/review_rules/` mirrors it: a fix for a ๐ŸŸก 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. A fix that only changes existing lines of a unit stays as today. The round cap still holds. - -No deterministic tool fits: whether a fix adds a mechanism is a judgement on the diff. - ### 480. Resolve every path the tools use in one module: the release root (the folder the running code ships in), the config folder, the state folder and the Claude home. Then only that module names `~/.claude`, and the loop still runs from `~/.claude`. Part of the standalone-install plan lilleman approved on 2026-11-20. Today about 160 references in some 40 modules name `~/.claude`; `bin/loop_state/paths.py` holds a few. This item changes no behaviour. -- 2.52.0