Record the comprehension check: two scoring runs at 68611733, floor item 300 refreshed
CI / tests (pull_request) Has been cancelled

This commit is contained in:
2026-11-26 16:10:57 +01:00
parent 68611733fe
commit 606cf25ed2
2 changed files with 131 additions and 20 deletions
+107
View File
@@ -4372,3 +4372,110 @@ Inherited architect, decided by:
- Navigation, Shape: `bin/do_epic/epic_run.py:21` `EpicRun`: the shared run record has one named place both main.py and parking.py import
- Locality: `bin/claude_code/entries.py:87` `json_objects`: stream parsing done once in one module
- Shape: `bin/task_bench/main.py:199` `on_disk`: sits beside hand-written try/except OSError blocks, two ways for one job; plant.py imports `Side` from the measuring module
## 2026-11-26T15:04:52Z, PR #731 at 68611733
| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall |
|---|---|---|---|---|---|
| Junior A | 7 | 5.5 | 6 | 5.5 | 6 |
| Mid A | 7.5 | 6 | 6.5 | 6.5 | 6.5 |
| Maintainability senior | 7.5 | 5.5 | 6.5 | 6 | 6 |
| Inherited architect | 6.5 | 6.5 | 5.5 | 6 | 6 |
| Mean | 7.13 | 5.88 | 6.13 | 6.00 | 6.13 |
Junior A, hardest first:
- Locality, Overall: `bin/chunk_pr/main.py:448` `merged`: a polling loop with approval waits, a flock turn queue and a hidden call to larv-review; the module docstring must stay open beside it
- Self-sufficiency: `bin/project_config/settings.py:205` `load`: some 22 unnamed cross-setting checks in one comprehension, none pointing to its README bullet
- Locality: `bin/agent_cycle/routing.py:115` `unfinished_route`: rung, floor, cap, mark and unfinished count worked through by hand
- Shape: `bin/do_epic/main.py:236` `chunk_run`: threads `news` through `parked_through`, with a nested `Landed` conditional read three times
- Shape: `bin/agent_cycle/run.py:160` `rule`: runs the judge, annotates, steps the route and archives, beside four similarly named archive helpers
- Self-sufficiency: `bin/plan/ranking.py:144` `weigh`: every stage branches on an old and a new item shape, and nothing says which is current
- Self-sufficiency: `bin/rule_hook/rules.py:27` `RULES`: long legal-sounding strings that are slow to check against the code
- Shape: `bin/larv_review/main.py:228` `COMMANDS`: rows hold long nested lambdas, under a 167-line docstring that is the real spec
Mid A, hardest first:
- Locality, Shape, Overall: `bin/do_epic/scheduler.py:172` `start_chunks`: four sets built from tmux window names, a five-way elif over two limits, and a nested flock
- Locality: `bin/chunk_pr/main.py:448` `merged`: one function decides between human merge, waits, parks, the epic and a flock queue whose order lives outside the process
- Locality: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rung notions at once, settled only by the module's verdict table
- Self-sufficiency: `bin/project_config/settings.py:205` `load`: which combinations of settings are legal takes reading all 22 faults
- Locality: `bin/agent_cycle/judge.py:300` `judge_prompt`: budget arithmetic, and a heading that judge_replay parses back
- Shape: `bin/do_epic/main.py:236` `chunk_run`: a long loop mixing parked news, a reopened epic and the Landed choice
- Shape: `bin/chunk_pr/main.py:398` `epic_opened`: a chain of `isinstance(x, Failure)` conditionals, then a truthiness test on what may be a Failure
- Shape: `bin/rule_hook/env_file.py:41` `reaching`: relies on `and` binding tighter than `or`
Maintainability senior, hardest first:
- Locality, Shape, Overall: `bin/do_epic/scheduler.py:172` `start_chunks`: six sets and a five-branch elif, each branch depending on how the sets were built
- Locality: `bin/do_epic/parking.py:18` `parked_through`: parked state lives in a state file, a tmux window name and Jira, and only the docstring states the order
- Locality: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rung notions plus the unfinished count and the mark, read three times beside the table
- Locality, Shape: `bin/chunk_pr/main.py:448` `merged`: each mode is documented alone, and nothing says how they combine
- Locality: `bin/agent_cycle/escalation_mark.py:1` module docstring: the mark is written in judge.py, read in run.py and turned into a rung in routing.py
- Shape: `bin/release_plan/release_standing.py:206` `next_release`: an algebra of tags, dated headings and named releases, decoded through a field comment
- Shape: `bin/do_epic/main.py:236` `chunk_run`: `news` is a `str | Stop` that also stands for parked
- Self-sufficiency: `bin/larv_review/scoring_due.py:23` `Emptied`: a `str` subclass as a type tag, with its reason in the decision log
Inherited architect, would restructure first:
- Shape, Overall: `bin/do_epic/main.py:378` `issue_move`: the 563-line module imports some 30 modules and holds parsing, status, the chunk loop, issue moves and premises
- Locality: `bin/review_rules/round_titles.py:73` `cap`: the round cap is counted twice, restated in SKILL.md and enforced at two of three moments
- Locality: `bin/larv_review/reviewer_header.py:75` `unanswered_round`: counts rounds unguarded, beside rule-hook's guarded count
- Locality: `bin/rule_hook/round_cap.py:28` `earlier_titles`: fails open where git is slow or no default ref exists
- Shape: `bin/chunk_driver/this_loop.py:12` `Loop`: do-epic builds it too, so the name points the wrong way
- Shape: `bin/agent_cycle/hand_over.py:1` module: "hand over" names four different things across loop_claude and do_epic
- Navigation: `README.md:244` "Packages under bin/": the only grouping of 86 flat entries in `bin/`
- Self-sufficiency: `bin/agent_cycle/run.py:33` `Cycle`: the why behind caps and limits sits behind decision-log citations
## 2026-11-26T15:10:22Z, PR #731 rerun at 68611733
| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall |
|---|---|---|---|---|---|
| Junior A | 7 | 5.5 | 6 | 5.5 | 6 |
| Mid A | 7 | 6 | 6 | 5.5 | 6 |
| Maintainability senior | 7.5 | 6 | 6.5 | 6 | 6.5 |
| Inherited architect | 7 | 7 | 6 | 6.5 | 6.5 |
| Mean | 7.13 | 6.13 | 6.13 | 5.88 | 6.25 |
Junior A, hardest first:
- Locality, Overall: `bin/do_epic/scheduler.py:172` `start_chunks`: five branches over seven sets and three limits under one lock, with part of the parked state read from tmux window names
- Locality: `bin/do_epic/parking.py:105` `resumed_news`: an endless poll loop whose `awaits`, `stays`, `shown` and `said` mix display state with control state
- Shape: `bin/chunk_pr/main.py:448` `merged`: one merge path carries four flags and two sentinels across a loop of turns and a flock queue
- Shape: `bin/do_epic/main.py:236` `chunk_run`: a loop over `news` that computes `Landed` inline, with a near-twin `handed_on` in loop_claude to compare by hand
- Locality: `bin/agent_cycle/judge.py:300` `judge_prompt`: the prompt's wording is coupled to judge_replay's parsing of archived prompts
- Shape: `bin/project_config/settings.py:205` `load`: about 20 conditional checks in one list, with the table they depend on 175 lines below
- Self-sufficiency: `bin/plan/ranking.py:144` `weigh`: an old and a new item shape branch through the module, and nothing says which is current
- Shape: `bin/rule_hook/folder_search.py:89` `skips`: models the flag clusters of rg and ag, hard because the problem is
Mid A, hardest first:
- Locality, Overall: `bin/chunk_pr/main.py:516` `merge_turn`: four merge settings, the flock queue and the approval wait held at once, with the success path hidden in chained `isinstance` checks
- Self-sufficiency: `skills/larv-review/SKILL.md:102` `Re-entry`: a rule table with exceptions to its own rows, each bullet pointing at another section by name
- Locality: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rungs, a step count, the escalation mark and a cap, with the mark's meaning split over four modules
- Self-sufficiency: `bin/agent_cycle/judge.py:88` `Reply`: the field names don't say what each verdict means to the loop
- Self-sufficiency: `bin/rule_hook/folder_search.py:89` `skips`: flag semantics of rg and ag that can't be checked without the tools' manuals
- Locality: `bin/do_epic/main.py:485` `next_cycle`: picks the prompt by comparing a tmux window name with the epic's key, without saying the name is an identity
- Shape: `bin/agent_cycle/run.py:250` `close`: one long conditional expression decides the archived outcome, beside three similarly named archive helpers
Maintainability senior, hardest first:
- Locality, Overall: `bin/chunk_pr/main.py:448` `merged`: one queue loop holds eight concerns whose order matters, rebuilt only with the 109-line help docstring beside it
- Self-sufficiency: `skills/larv-review/SKILL.md:102` `Re-entry`: exceptions to exceptions, read three times to know which passes a fix reruns
- Shape: `bin/do_epic/main.py:236` `chunk_run`: the loop variable `news` is a `str` or a `Stop`, and a nested conditional picks the `Landed` value
- Self-sufficiency: `bin/do_epic/main.py:402` `handed_on`: retries through an intermediate status and polls with no stated bound
- Shape: `bin/chunk_pr/main.py:398` `epic_opened`: a chain of `x = prev if isinstance(prev, Failure) else f(prev)` hides the success path in the else arms
- Self-sufficiency: `bin/plan/ranking.py:239` `score`: branches on goal term and on an old and a new shape, and the reason sits in a plan item
- Shape: `bin/project_config/settings.py:205` `load`: about twenty conditional entries encode the cross-setting rules
- Shape: `bin/rule_hook/rules.py:27` `RULES`: each rule's prose is one very long string, which hides the table's structure
Inherited architect, would restructure first:
- Shape, Overall: `README.md:244` `Packages under bin/`: one flat list of about 40 bullets carries a level of some 82 entries, with no grouping into families
- Navigation: `bin/agent_cycle/routing.py:115` `unfinished_route`: routing has about nine homes, and no file says which parts make it up
- Self-sufficiency: `bin/review_rules/round_titles.py:39` `named_counts`: the round cap's whole contract lives in SKILL.md prose, and no code counts reviewer launches
- Self-sufficiency: `bin/rule_hook/round_cap.py:28` `earlier_titles`: fails open to an empty list on a slow git, and nothing at the cap says so
- Shape: `bin/chunk_driver/this_loop.py:12` `Loop`: built per chunk and used by do-epic too, as the `loop_`-prefixed packages are
- Shape: `bin/chunk_driver/cycle_start.py:96` `cycle_of`: ten keyword arguments on one line
- Shape: `bin/agent_cycle/run.py:33` `Cycle`: 17 fields, allowed by a decision the reader must open the log to read
- Locality: `bin/loop_claude/loop/reload.py:85` `fingerprint`: an edit to any `.py` under `bin/` reloads the running loop, through a handover format that already carries history
+24 -20
View File
@@ -53,7 +53,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.9 |
| 445 | 0.23.0 | | | **Refuse a plan that holds an item a `Finish item <ID>` 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.8 |
| 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.8 |
| 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, Locality, Shape and Self-sufficiency first; today the second scoring run at 6322c6e1 scored Navigation 6.75, Locality 5.75, Shape 5.75, Self-sufficiency 5.75 and Overall 6.00.** | 4 | 2 | 3 | 7 | 8 | code health by 8 | 1.7 |
| 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 68611733 scored Navigation 7.13, Locality 6.13, Shape 6.13, Self-sufficiency 5.88 and Overall 6.25.** | 4 | 2 | 3 | 7 | 8 | code health by 8 | 1.7 |
| 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.7 |
| 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.7 |
| 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.7 |
@@ -365,30 +365,34 @@ 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, Locality, Shape and Self-sufficiency first; today the second scoring run at 6322c6e1 scored Navigation 6.75, Locality 5.75, Shape 5.75, Self-sufficiency 5.75 and Overall 6.00.
### 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 68611733 scored Navigation 7.13, Locality 6.13, Shape 6.13, Self-sufficiency 5.88 and Overall 6.25.
Filed by the comprehension check of PR #473 at 13d1550 (`larv-review record-scoring`), which printed `Floor:` and `Next:`, and refreshed from the two runs of item 515's chunk at 6322c6e1. The lowest means are Locality, Shape and Self-sufficiency, all at 5.75 in the second run; the first run put Locality at 5.63 and the other two at 5.88. Locality: do-epic and chunk-pr run order-dependent steps and carry state between loop passes (`handed_on`, `parked_through`, `merged`, `levelled_and_finished`), and no code enforces the order. Shape: `bin/do_epic/main.py` and `bin/chunk_pr/main.py` are hubs of about 700 and 764 lines, `bin/` holds about 95 entries at one level, and the OLD_SHAPE fork in `bin/plan/ranking.py` doubles the paths through ranking. Self-sufficiency: the why behind code sits in `docs/decisions.md`, the README or help prose, not beside the unit. Refresh this item's places and aim from the newest run before the chunk starts; do not file a second floor item.
Filed by the comprehension check of PR #473 at 13d1550 (`larv-review record-scoring`), which printed `Floor:` and `Next:`, and refreshed from the two runs of item 525's chunk at 68611733. The lowest mean of the second run is Self-sufficiency at 5.88, with Locality and Shape at 6.13; the first run put Locality lowest at 5.88, Self-sufficiency at 6.00 and Shape at 6.13. 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. 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. Shape: `bin/` holds about 82 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.
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, hardest first (`larv-review places`), Locality first:
Places the seats named in the second run, hardest first (`larv-review places`), Self-sufficiency first:
- Locality, Shape, Self-sufficiency: `bin/do_epic/main.py:538` `handed_on`: five branches over the landing, the automation and two statuses, with no table of the cases; it needs the README's do-epic settings beside it. Seven of eight seats named it over the two runs.
- Locality: `bin/do_epic/main.py:379` `parked_through`, with `:455` `resumed_news`: seven flags to hold over park, resume and a human's merge; park must come before resume, and no code enforces it. Six seats named it.
- Locality: `bin/chunk_pr/main.py:448` `merged`, with `:587` `levelled_and_finished`: one loop interleaves the queue turn, approval waits and parking, and the steps' order is load-bearing and unexplained. Four seats named it.
- Locality: `bin/rule_hook/round_cap.py:28` `earlier_titles`: three callers count rounds from titles fetched three ways.
- Locality: `bin/do_epic/scheduler.py:172` `start_chunks`: chunk state is rebuilt from tmux window names.
- Locality: `bin/agent_cycle/routing.py:115` `unfinished_route`: the route depends on state three modules write.
- Shape: `bin/do_epic/main.py:301` `chunk_run`: argument parsing, status, dry run, windows and parking in one 47 KB module.
- Shape: `bin/plan/ranking.py:239` `score`, with `:144` `weigh`: every change is made twice, for OLD_SHAPE and SHAPE. Two seats named it.
- Navigation, Shape: `README.md:234` "Packages under bin/": about 95 entries at one level, tool and shared packages side by side. Both architects named it.
- Shape: `bin/larv_review/plan.py:1` module: decides whether a scoring run is due, not anything about the plan.
- Self-sufficiency: `skills/larv-review/SKILL.md:94` "Round cap": the review loop's rules live only in the skill's text. Two seats named it.
- Self-sufficiency: `bin/larv_review/main.py:33` module docstring: when a scoring run is due is stated only in help prose.
- Self-sufficiency: `bin/agent_cycle/judge.py:25` `INTERRUPT_RULES`: behaviour lives in prompt text no code shows the effect of.
- Self-sufficiency: `bin/project_config/settings.py:201` `load`: the settings' meaning sits in the help text.
- Self-sufficiency: `bin/agent_cycle/verdicts.py:41` `Verdict`: cites `cycle.judge.re_ask_checked`, which doesn't exist.
- Navigation: `bin/agent_cycle/run.py:103` `archived`: cites a `close.py` that doesn't exist.
- Self-sufficiency: `skills/larv-review/SKILL.md:102` "Re-entry", with `:94` "Round cap": a rule table with exceptions to its own rows, read three times to know which passes a fix reruns. Two seats named it.
- Self-sufficiency: `bin/review_rules/round_titles.py:39` `named_counts`, with `bin/rule_hook/round_cap.py:28` `earlier_titles`: the round cap's whole contract lives in the skill's text, no code counts reviewer launches, and `earlier_titles` fails open to an empty list on a slow git.
- Self-sufficiency: `bin/plan/ranking.py:144` `weigh`, with `:239` `score`: an old and a new item shape branch through the module, and nothing says which is current. Two seats named it.
- Self-sufficiency: `bin/do_epic/main.py:402` `handed_on`: retries through an intermediate status and polls with no stated bound.
- Self-sufficiency: `bin/agent_cycle/judge.py:88` `Reply`: the field names don't say what each verdict means to the loop.
- Self-sufficiency: `bin/rule_hook/folder_search.py:89` `skips`: flag semantics of rg and ag that can't be checked without the tools' manuals. Two seats named it.
- Locality, Shape: `bin/chunk_pr/main.py:448` `merged`, with `:516` `merge_turn` and `:587` `levelled_and_finished`: one queue loop holds the merge settings, the flock queue and the approval wait, in an order that matters and that only the help docstring states. Three seats named it.
- Locality: `bin/do_epic/scheduler.py:172` `start_chunks`: five branches over seven sets and three limits under one lock, with part of the parked state read from tmux window names.
- Locality: `bin/do_epic/parking.py:105` `resumed_news`: an endless poll loop whose `awaits`, `stays`, `shown` and `said` mix display state with control state.
- Locality, Navigation: `bin/agent_cycle/routing.py:115` `unfinished_route`: routing has about nine homes, the escalation mark's meaning is split over four modules, and no file says which parts make routing up. Two seats named it.
- Locality: `bin/agent_cycle/judge.py:300` `judge_prompt`: the prompt's wording is coupled to judge_replay's parsing of archived prompts.
- Locality: `bin/do_epic/main.py:485` `next_cycle`: picks the prompt by comparing a tmux window name with the epic's key.
- Locality: `bin/loop_claude/loop/reload.py:85` `fingerprint`: an edit to any `.py` under `bin/` reloads the running loop, through a handover format that already carries history.
- Shape: `README.md:244` "Packages under bin/": one flat list of about 40 bullets carries a level of some 82 entries, with no grouping into families.
- Shape: `bin/do_epic/main.py:236` `chunk_run`: the loop variable `news` is a `str` or a `Stop`, and a nested conditional picks the `Landed` value. Two seats named it.
- Shape: `bin/project_config/settings.py:205` `load`: about twenty conditional entries encode the cross-setting rules, with the table they depend on 175 lines below. Two seats named it.
- Shape: `bin/chunk_pr/main.py:398` `epic_opened`: a chain of `x = prev if isinstance(prev, Failure) else f(prev)` hides the success path.
- Shape: `bin/agent_cycle/run.py:250` `close`, with `:33` `Cycle`: one long conditional decides the archived outcome, and the dataclass has 17 fields.
- Shape: `bin/chunk_driver/this_loop.py:12` `Loop`, with `bin/chunk_driver/cycle_start.py:96` `cycle_of`: `Loop` is built per chunk and serves do-epic too, as the `loop_`-prefixed packages do; `cycle_of` takes ten keyword arguments.
- Shape: `bin/rule_hook/rules.py:27` `RULES`: each rule's prose is one very long string, which hides the table's structure.
### 264. Report the comprehension seats and the escalated subagents as subagent types of their own in `routing-figures.md`, with their dollars.