File item 230: an ambitious refactor whenever a scoring run is under 7.0

This commit is contained in:
2026-10-26 21:47:22 +01:00
parent 3bde9cd6dd
commit 4aa8eb9467
+30 -1
View File
@@ -6,7 +6,7 @@
`Bar = 0.1`
`Next ID = 230`
`Next ID = 231`
## Items
@@ -28,6 +28,7 @@
| 105 | 0.5.0 | | decision | **Compare review rounds per pass and reading cost for the five chunks before and after the `worker:` decision moved the principles out of the worker's context, and file an item if either rose.** | 1 | 2 | 1 | 2 | 2 | 1.4 by 6 | 8.0 |
| 162 | 0.5.0 | | owner | **Script each step that 0.2.0's chunks repeated by hand and a program can compute, filing one item per step, and file this audit again for the next release.** | 2 | 2 | 1 | 3 | 3 | 1.4 by 4, 1.5 by 4 | 7.8 |
| 175 | 0.5.0 | | | **Compare the first five chunks loop-claude starts with `chunk-preflight` against the five before them, and file an item where the preflight did not pay off.** | 1 | 2 | 1 | 2 | 2 | 1.4 by 3, 1.5 by 3 | 7.8 |
| 230 | 0.5.0 | | | **File one ambitious refactor of the lowest-scoring dimension whenever a scoring run scores a project under 7.0, so such a project always holds a plan item aimed at reaching 7.0.** | 3 | 2 | 3 | 6 | 4 | 1.1 by 7, 1.2 by 4 | 7.7 |
| 184 | 0.5.0 | | | **Rewrap the lines of `loop-claude --help` that run past the column the rest of it wraps at.** | 1 | 1 | 1 | 1 | 1 | code health by 1 | 7.2 |
| 221 | 0.5.0 | | | **Parse each transcript entry once, where `bin/claude_code/transcript.py` reads it, into a typed value naming its kind, so no consumer works out an entry's kind from a raw `dict`.** | 3 | 1 | 3 | 5 | 5 | code health by 4 | 7.2 |
| 116 | 0.5.0 | | | **Report L by the share of chunks with a 🔴, once 10 chunks that each shipped one item record finding counts and most record no 🔴.** | 1 | 1 | 2 | 2 | 2 | 1.1 by 5 | 7.0 |
@@ -141,6 +142,34 @@ The chunk that ships this item files a copy of it in the release after the one i
Item 161 put `chunk-preflight`'s facts into a fresh worker's prompt, so the worker no longer finds them itself. Before that, in item 140's chunk, the worker spent 5 min 46 s of 30 min, 16 of its 68 messages and 226k of its 491k fresh tokens before its first edit, through 12 Bash and 5 Read calls. Measure those figures from loop-claude's archive, as medians over the first five chunks that started with the preflight and the five before them: one chunk is too noisy a baseline, as `docs/decisions.md` → `reading cost: a rise is …` records. Measure the counter-signals beside them: goal 1.4's review rounds and unfinished verdicts, and goal 1.5's 🔴 findings, per chunk, since a worker that reads less may start sooner and need more rounds or let more defects through. Where time or tokens did not fall, or a counter-signal rose, file an item naming the facts the workers still found by hand, or what the preflight got wrong.
### 230. File one ambitious refactor of the lowest-scoring dimension whenever a scoring run scores a project under 7.0, so such a project always holds a plan item aimed at reaching 7.0.
Today `larv-review record-scoring` prints a `Floor:` line naming each mean under 7.0
(`bin/larv_review/history_commands.py:52`), and larv-review §3 → "Record" only commits the run and
lists its scores. No rule turns that line into plan items. The places seats name reach the plan only
when another item happens to touch one, so a project under 7.0 can stay there with no item aimed at
it. A seat already named the doubt: `docs/comprehension-history.md:1536`, "a reader cannot tell
whether `Floor:` means stop". `~/.claude` has filed such items by hand, such as items 123 and 124; `~/code/log` held one open-ended item, its item 90, and kept no comprehension history.
The human set the shape on 2026-10-26: the item filed is one ambitious refactor, not touch-ups. It
restructures the area behind the lowest dimension's places, sized to lift that dimension to 7.0, and
quotes the places it answers. Its tagline names the comprehension floor, so its chunk runs a scoring
run, and a run still under 7.0 files the next one. The chain stops when every score reaches 7.0.
Settle in the change:
- Where the rule lives: larv-review §3 → "Record", and whether `record-scoring` prints the step
beside `Floor:` so no worker misses it.
- Duplicates: a release ends with two scoring runs, and an earlier run's item may still be open.
While one such item is open, a later run refreshes its places instead of filing another.
- Who files: a session below the project's rung drafts the item for a subagent on or above it, as
`rules/todo-items.md` says.
- Ranking: `docs/decisions.md` → `larv-review: within a chunk lifting a project towards the
comprehension floor, …` moves such an item's goals by 9 and lets it compete like any item. Say
whether an ambitious refactor, likely above R 5 and so shipping alone, keeps that.
Once it ships, `~/code/log` drops its item 98, which does the same by hand.
### 184. Rewrap the lines of `loop-claude --help` that run past the column the rest of it wraps at.
In `bin/loop_claude/loop/main.py`'s docstring, the line holding "of one PR, is finished" and the one ending "Each of these opens with its UTC time." run to 107 and 159 columns. Raised by the prose review of PR #308.