From a4502a93f528d1f6cc9c2518e59c54f9352d0000 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 13 Oct 2026 17:28:27 +0200 Subject: [PATCH] Plan the places release 0.1.0's scoring run found hardest into release 0.1.0 --- todo.md | 86 +++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 66 insertions(+), 20 deletions(-) diff --git a/todo.md b/todo.md index 22c6de3a..1cd00d36 100644 --- a/todo.md +++ b/todo.md @@ -6,7 +6,7 @@ `Bar = 9` -`Next ID = 120` +`Next ID = 132` | Goal | W | |---|---| @@ -24,6 +24,19 @@ | ID | Release | Exempt | Item | R | S | C | A | G | Goals | Score | |---|---|---|---|---|---|---|---|---|---|---| +| 120 | 0.1.0 | | **Rewrite larv-review §3's "Round cap" and "Re-entry" as one table that says, for each kind of fix, which passes rerun and what a round reviews.** | 2 | 4 | 5 | 5 | 6 | 1.1, 1.2 | 18.9 | +| 121 | 0.1.0 | | **Check that `bin/round_titles.py`'s `PASSES` lists exactly the passes of larv-review §3's table, and say in one place where the auto-reviewer's rounds are counted.** | 1 | 3 | 2 | 4 | 5 | 1.1, 1.3 | 16.1 | +| 122 | 0.1.0 | | **Assemble the judge's prompt in `bin/loop_claude/cycle/judge.py` alone, so one file shows the whole text, and call the worker "the worker" in it.** | 3 | 4 | 4 | 4 | 5 | 1.1 | 13.9 | +| 123 | 0.1.0 | | **Have `bin/comprehension_history.py` parse each history entry once into seats, votes and places, so `latest_places`, `worse_places` and `worse_votes` neither depend on table order nor split a label to find a seat.** | 3 | 5 | 5 | 4 | 5 | 1.1 | 13.7 | +| 127 | 0.1.0 | | **Define seat, place, paired ruling, scoring run and the judge's records in `CLAUDE.md` → "Vocabulary".** | 1 | 1 | 1 | 3 | 4 | 1.1 | 12.7 | +| 125 | 0.1.0 | | **Give "record", "outcome" and "places" one meaning each across `bin/`, and rename `bin/larv_review/git.py` by what it holds.** | 2 | 5 | 3 | 3 | 5 | 1.1 | 12.7 | +| 126 | 0.1.0 | | **State when work has landed towards a release once, in `bin/larv_review/plan.py`, and have larv-review's help and `SKILL.md` point to it.** | 1 | 2 | 2 | 3 | 4 | 1.1 | 12.4 | +| 131 | 0.1.0 | | **Describe the transcript archive's layout in `bin/transcript_archive/`, which owns it, and have loop-claude's help point there.** | 1 | 2 | 1 | 3 | 4 | 1.1 | 12.4 | +| 114 | 0.1.0 | | **Run git through `git_repo.py` in `rule_hook`, `metric_bench`, `reading_cost` and `loop_claude`, keeping rule-hook's guards as an option, so one module owns how a tool runs git.** | 3 | 4 | 4 | 3 | 5 | 1.1 | 11.9 | +| 117 | 0.1.0 | | **Give `todo_table.items` one way to say a plan has no items table, so no caller tells it from an empty plan by truthiness.** | 2 | 2 | 3 | 3 | 4 | 1.1 | 11.4 | +| 124 | 0.1.0 | | **Group the shared modules at `bin/`'s root into packages named by purpose, so the root holds only launchers and stand-alone tools.** | 3 | 6 | 3 | 3 | 5 | 1.1 | 11.4 | +| 130 | 0.1.0 | | **Move the vote counting out of `bin/larv_review/ruling.py`'s `votes`, so reading a votes file decides nothing.** | 2 | 3 | 3 | 3 | 4 | 1.1 | 11.2 | +| 129 | 0.1.0 | | **Explain `bin/rule_hook/rules.py`'s `OVERRIDE` pattern beside it: why the reason is lazy, what the lookahead splits and why `-->` is stripped.** | 1 | 1 | 1 | 2 | 4 | 1.1 | 10.7 | | 93 | 0.2.0 | | **Let a chunk's worker start below the project's model, once the archive shows chunks on a lower rung took no more review rounds than chunks on the project's model.** | 3 | 2 | 6 | 6 | 7 | 1.1, 1.4 | 22.4 | | 94 | 0.2.0 | | **Every 20th cycle, have loop-claude measure token spend and routing outcomes, file them here, and interrupt the human only when they call for a routing change.** | 3 | 5 | 6 | 6 | 7 | 1.1, 1.4 | 21.6 | | 88 | 0.2.0 | | **Define one routing ladder of (model, effort) rungs ordered by a published ranking of their competence, and map a task's R + C to a rung relative to the project's model.** | 3 | 4 | 5 | 6 | 7 | 1.4 | 21.4 | @@ -45,7 +58,6 @@ | 59 | 0.3.0 | | **Bound a run of unfinished verdicts on one chunk, so a worker and judge that disagree cannot cycle unattended without end.** | 3 | 3 | 5 | 6 | 6 | 1.4 | 19.8 | | 12 | 0.3.0 | | **Run the test suite in CI on every PR, or record in `docs/decisions.md` why the local run is enough.** | 2 | 4 | 3 | 4 | 6 | 1.1 | 16.9 | | 80 | 0.3.0 | | **State in README → Install that every machine taking this checkout must be a sandbox, as `settings.json`'s auto mode assumes.** | 1 | 1 | 1 | 5 | 5 | 4 | 16.8 | -| 62 | 0.3.0 | | **Lift Locality, Shape, Self-sufficiency and the overall to the comprehension floor, at the places the seats name.** | 4 | 6 | 6 | 5 | 6 | 1.1 | 16.4 | | 5 | 0.3.0 | decision | **Key a project on its checkout's full path, and refuse to start while another session uses that key.** | 5 | 5 | 7 | 5 | 6 | 1.1 | 15.6 | | 84 | 0.3.0 | | **Check, at each release's scoring run, that seats in a paired ruling agree more often than two scoring runs on near-identical code do, as the paired-ruling decision assumes.** | 2 | 2 | 5 | 4 | 5 | 1.4 | 15.1 | | 67 | 0.3.0 | principle | **Point stability-reviewer at the technical principles in place of its own restatement of them.** | 2 | 3 | 2 | 4 | 5 | 1.3 | 14.9 | @@ -57,12 +69,10 @@ | 119 | 0.3.0 | | **Retitle the comprehension-floor decision so it says a chunk lifting a project towards the floor works first on its lowest-scoring dimension, and that the floor blocks nothing.** | 1 | 1 | 1 | 3 | 4 | 1.1 | 12.7 | | 65 | 0.3.0 | | **Archive each judge reply the loop rejects.** | 3 | 4 | 3 | 4 | 5 | 3 | 12.5 | | 82 | 0.3.0 | principle | **Sort `AGENTS.md`'s decision titles and `docs/decisions.md`'s entries by title.** | 1 | 2 | 2 | 3 | 4 | 1.3 | 12.3 | -| 114 | 0.3.0 | | **Run git through `git_repo.py` in `rule_hook`, `metric_bench`, `reading_cost` and `loop_claude`, keeping rule-hook's guards as an option, so one module owns how a tool runs git.** | 3 | 4 | 4 | 3 | 5 | 1.1 | 11.9 | | 73 | 0.3.0 | | **Have each reviewer write its full report to a file and return the worker only its findings' one-line summaries.** | 3 | 4 | 4 | 4 | 4 | 1.4 | 11.7 | | 6 | 0.3.0 | decision | **Move what `loop-claude` writes out of `~/.claude.json`, and ask the human about each write that must stay.** | 5 | 5 | 6 | 4 | 5 | 1.1 | 11.7 | | 51 | 0.3.0 | principle | **Hand loop-claude's terminal output to an injected effect, so no storage or retry function prints.** | 3 | 5 | 5 | 3 | 5 | 1.1 | 11.7 | | 102 | 0.3.0 | | **Give loop-claude's retry delay an environment override, so the black-box test stops replacing `time.sleep` through `sitecustomize`.** | 2 | 2 | 2 | 3 | 4 | 1.1 | 11.4 | -| 117 | 0.3.0 | | **Give `todo_table.items` one way to say a plan has no items table, so no caller tells it from an empty plan by truthiness.** | 2 | 2 | 3 | 3 | 4 | 1.1 | 11.4 | | 50 | 0.3.0 | principle | **Grant the bench's runs only the tools a review needs, in place of skipping every permission.** | 2 | 2 | 3 | 3 | 4 | 4 | 9.9 | | 81 | 0.3.0 | principle | **Have `workflow-bench/bench.py` return each run's failure as a value, so one failed clone does not hide the later runs' results.** | 2 | 2 | 3 | 3 | 4 | 4 | 9.9 | | 4 | 0.3.0 | | **Name each chunk's archive folder by the chunk's start time, so `/` lists chunks in the order they ran.** | 3 | 2 | 3 | 4 | 3 | 3 | 9.6 | @@ -71,6 +81,58 @@ ## Details +### 120. Rewrite larv-review §3's "Round cap" and "Re-entry" as one table that says, for each kind of fix, which passes rerun and what a round reviews. + +All four seats of PR #257's scoring run named `skills/larv-review/SKILL.md:63` "Round cap" and `:74` "Re-entry" hardest: a state machine in prose bullets, where a reader holds the trigger table's "a fix, only where …" clauses, the cap, later rounds' scope and the prose, 🟢 and ❓ exceptions at once. No seat could say what a fix to a stability 🟡 that also touches a comment reruns. Make those sections easier to read. + +### 121. Check that `bin/round_titles.py`'s `PASSES` lists exactly the passes of larv-review §3's table, and say in one place where the auto-reviewer's rounds are counted. + +The inherited architect of PR #257's scoring run found `PASSES` (`bin/round_titles.py:5`) repeating `skills/larv-review/SKILL.md:33` with no check tying them, and leaving out the auto-reviewer that §3 calls a pass of its own. A new pass lands in four places, one unchecked. A test under `bin/repo_checks/` can hold the two lists together. + +### 122. Assemble the judge's prompt in `bin/loop_claude/cycle/judge.py` alone, so one file shows the whole text, and call the worker "the worker" in it. + +All four seats of PR #257's scoring run named `bin/loop_claude/cycle/judge.py:16` `JUDGE_RULES`: the prompt is spliced from constants in `cycle/prompts.py` (`ANSWER_DESTINATIONS`, `ANSWERS_RECORDED`, `either`) and `project/records.py` (`HUMAN_RULE_NAMES`), so a reader rebuilds it from three files. It says "the agent" where the code and `CLAUDE.md` → "Vocabulary" say "worker". Wording the worker is also shown (`prompts.resumed`) may keep one source. Make `JUDGE_RULES` easier to read. + +### 123. Have `bin/comprehension_history.py` parse each history entry once into seats, votes and places, so `latest_places`, `worse_places` and `worse_votes` neither depend on table order nor split a label to find a seat. + +Three seats of PR #257's scoring run named `bin/comprehension_history.py:106` `latest_places`, `:114` `worse_places` and `:126` `worse_votes`; Mid A would least like to modify them. They regex the markdown the module writes, `worse_votes` keeps a seat's first row through `setdefault` because the votes table comes first, `worse_places` recovers the seat with `label.split(",")[0]`, and `Entry` carries a shape older than PR #255. A wrong edit drops places silently for four consumers. Make these functions easier to read. + +### 127. Define seat, place, paired ruling, scoring run and the judge's records in `CLAUDE.md` → "Vocabulary". + +Two seats of PR #257's scoring run assembled these terms from four files: `bin/larv_review/main.py`'s help, `skills/larv-review/SKILL.md:99`, `bin/comprehension_history.py:82` and `skills/comprehension-panel/seat-prompts.md`. "Records" is defined only in a comment at `bin/loop_claude/project/records.py:6`. + +### 125. Give "record", "outcome" and "places" one meaning each across `bin/`, and rename `bin/larv_review/git.py` by what it holds. + +Seats of PR #257's scoring run found each word over several concepts. "Record": the history writer `larv_review/record.py`, the judge's `loop_claude/project/records.py`, and `reading_cost/figures.py`'s `RECORD`. "Outcome": `transcript_archive/outcomes.py`, `score_outcomes/outcomes.py` `Outcome` and `rule_hook/rules.py` `Outcome`. "Places": `comprehension_history.Place` and `reading_cost/measure.py` `Reading.places`. `larv_review/git.py` holds history logic (`history_changes`, `landed_since_release`), not a git runner. + +### 126. State when work has landed towards a release once, in `bin/larv_review/plan.py`, and have larv-review's help and `SKILL.md` point to it. + +Two seats of PR #257's scoring run named `bin/larv_review/plan.py:9` `scoring_run_due` and `:26` `emptied`: the rule mixes the default branch's plan with the chunk's, and is written three times, there, in `bin/larv_review/main.py`'s help and in `skills/larv-review/SKILL.md:109`. Make `scoring_run_due` easier to read. + +### 131. Describe the transcript archive's layout in `bin/transcript_archive/`, which owns it, and have loop-claude's help point there. + +Two seats of PR #257's scoring run named `bin/transcript_archive/write.py:13` `archive`: why folders are named by a hash of the first timestamped line, and why a copy is replaced only by one grown from it, lives in `bin/loop_claude/loop/main.py`'s help, not beside the code. Make `archive` easier to read. + +### 114. Run git through `git_repo.py` in `rule_hook`, `metric_bench`, `reading_cost` and `loop_claude`, keeping rule-hook's guards as an option, so one module owns how a tool runs git. + +The comprehension seats on PR #254 found five git runners with different contracts: `git_repo.git`, `rule_hook/git.py`'s guarded one, `metric_bench/main.py`'s, `reading_cost/main.py`'s `located` and `loop_claude/effects.py`'s. + +### 117. Give `todo_table.items` one way to say a plan has no items table, so no caller tells it from an empty plan by truthiness. + +The comprehension seats on PR #254 found `items` returning a list, None or a Failure, and `larv_review/plan.py` `plan_reasons` reading None through `items(before) or []`, which works only because a Failure is truthy. + +### 124. Group the shared modules at `bin/`'s root into packages named by purpose, so the root holds only launchers and stand-alone tools. + +The inherited architect of PR #257's scoring run found `bin/` the worst level, about 30 entries: 6 launchers, 6 tool packages, 3 shared packages and 13 root modules, two of them tools (`rank_todo.py`, `statusline.py`) and 11 shared libraries that nothing in the layout tells apart. Only README's import-root paragraph maps them. Candidates: git running and parsing, the todo table, and the comprehension history with round titles. The `.gitignore` allowlist and README follow the move. + +### 130. Move the vote counting out of `bin/larv_review/ruling.py`'s `votes`, so reading a votes file decides nothing. + +Mid A of PR #257's scoring run named `bin/larv_review/ruling.py:8` `votes` and `:32` `counted`: `votes` calls `counted` inside validation to reject superfluous split seats, a ruling hidden in a parser, and the counting rule is spread over `seats.py`, `ruling.py`, `comprehension_history.place_dimensions` and the help. Make `votes` easier to read. + +### 129. Explain `bin/rule_hook/rules.py`'s `OVERRIDE` pattern beside it: why the reason is lazy, what the lookahead splits and why `-->` is stripped. + +The maintainability senior of PR #257's scoring run named `bin/rule_hook/rules.py:49` `OVERRIDE` and `:77` `overrides`: nothing in the code explains the pattern, and they would open the tests before changing it. + ### 93. Let a chunk's worker start below the project's model, once the archive shows chunks on a lower rung took no more review rounds than chunks on the project's model. Goal 1.1 asks for proven quality, so stepping down waits on the archive's evidence. @@ -175,14 +237,6 @@ When CI runs a rule check, such as one of `bin/rule-hook`'s, let `