Items 270, 313, 317: the worker runs tests, static analysis and a docs sweep before each stability round; launch one agent of a type before the rest; one-line reviewer descriptions
CI / tests (pull_request) Successful in 2m24s

This commit is contained in:
2026-11-11 22:22:06 +01:00
parent 9da3431e25
commit b1037248a5
9 changed files with 40 additions and 25 deletions
+9
View File
@@ -24,6 +24,7 @@ Each project principle states one rule that the decisions below apply; their ent
- review: a reviewer under `agents/` marks a 🔴 or 🟡 `[misread]` where the implementer misread code that had already shipped, each round title counts the marked findings, and `score-outcomes` lists them per chunk
- review: stability and product-owner report only a defect, a broken requirement of the plan or the goals, a breach of a technical principle, or for stability a hard place the change touches; each architect finding names a later change the PR makes harder; prose runs only on a chunk that changes prose
- review: the worker mutation-tests a chunk's changed lines before each stability round, in place of measuring test coverage
- review: the worker runs the project's tests and static analysis and checks the docs for each changed name before each stability round, and hands stability-reviewer the commit
- routing: a worker delegates a task only where it needs just the task's conclusion, and each subagent runs on the rung its task's L picks from the project's rung, never below the project's rung when it files or scores todo.md items
- routing: a worker hands a task one rung up on each escalation trigger, up to two rungs above the rung its item picks unless the human agrees, and opens the subagent's prompt with the trigger so the routing figures count it
- routing: a worker whose run ends asking for a higher rung, citing an escalation trigger the judge finds in the transcript, steps one rung up as the judge interrupts or quotes an answer, or next cycle, up to two rungs above the rung its item picks
@@ -350,6 +351,14 @@ The run has no time cap. Limiting it to the changed lines already bounds it by t
Valid while a mutation run on a chunk's changed lines stays cheap beside the review itself.
## review: the worker runs the project's tests and static analysis and checks the docs for each changed name before each stability round, and hands stability-reviewer the commit
2026-11-11, lilleman through todo item 270, implemented by claude. Serves goal 1.4 and applies project principle 4: a check a program or the worker can run is run before review, and reviewers rule on the rest. Of the 148 stability and 75 product-owner round-2 reports modified in the 60 days before 2026-11-11, 73 and 18 new 🔴 and 🟡 findings were classified from their headings (a subagent's count by keyword, so a rough one). About 29% were an untested branch or surviving mutant and 9% a weak assertion, which `bin/mutate-changes` finds before review since item 293. About 21% were documentation that the change had made false, such as a README, CHANGELOG or help line naming a rule the code no longer follows; 1% were a lint or type error. The rest, edge-case logic (18%), false comments and wording, need judgement, so they stay with the reviewer. Stability reviewers ran the whole suite in 52 of this repo's 63 reports from the last 60 days, a run the worker's own run on the same commit repeats.
So the worker runs the suite and analysis, sweeps the docs for each name, flag, path and number the change touches, and hands the reviewer the passing commit. The reviewer runs them only for another commit. The sweep is the worker's reading, not a program, since a stale claim has no fixed spelling. The suite and analysis are each project's own, as its README documents them.
Valid while the worker's run on a commit finds what a reviewer's run on it would, and while docs-out-of-date findings in round 2 fall below the 21% measured.
## routing: a chunk's worker runs on the rung its item's L picks, below the project's rung too; its reviewers run on the highest of the worker's rung, the project's and the one picked by the highest E + I among the chunk's items, unless a replay lowered their pass or the branch changes only Markdown no agent follows, which reviews on the project's rung; the seats and the security pass always on the project's
2026-10-14, lilleman. Serves goals 1.1 and 1.4.
+16
View File
@@ -1631,3 +1631,19 @@ Read most (opens and searches):
- `agents/stability-reviewer.md` 1
- `bin/reading-cost` 1
- `bin/rule_hook/heavy_command.py` 1
## Reading cost, chunk bea37a41be15, finished 2026-11-11T21:18:42Z
174175 new input tokens before the first commit.
Read most (opens and searches):
- `todo.md` 18
- `README.md` 4
- `bin/command_patterns/main.py` 3
- `bin/command_patterns/tally.py` 3
- `skills/larv-review/SKILL.md` 3
- `CHANGELOG.md` 1
- `bin/command_patterns/__init__.py` 1
- `bin/rule_hook/round_cap.py` 1
- `skills/larv-review/review-findings.md` 1