From 622afd332bf290da296c9be6af5ef56126d27463 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 1 Dec 2026 16:23:23 +0100 Subject: [PATCH] Record the comprehension check: two scoring runs of PR #767 at 98c49021, overall 6.00 then 6.13, and refresh floor item 300 --- docs/comprehension-history.md | 81 +++++++++++++++++++++++++++++++++++ todo.md | 49 ++++++++++----------- 2 files changed, 106 insertions(+), 24 deletions(-) diff --git a/docs/comprehension-history.md b/docs/comprehension-history.md index ae383664..ea5e14d5 100644 --- a/docs/comprehension-history.md +++ b/docs/comprehension-history.md @@ -4513,3 +4513,84 @@ Inherited architect, decided by: - Locality: `bin/task_bench/main.py:293` `options`: each step is a pure function, where the base's single loop changed `given` as it went and made checks order-dependent - Shape: `bin/task_bench/tasks.py:14` `Side`: the core type sits with what the task kinds share, not in the report module - Shape: `bin/release_plan/release_standing.py:138` `reviewed_releases`: returns the reviewed releases, where the base's bool said only that some review landed + +## 2026-12-01T13:57:33Z, item-565 at 98c49021 + +| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall | +|---|---|---|---|---|---| +| Junior A | 7 | 6 | 6 | 5.5 | 6 | +| Mid A | 7 | 5.5 | 5.5 | 5 | 6 | +| Maintainability senior | 7 | 5.5 | 6 | 5.5 | 6 | +| Inherited architect | 7 | 6 | 5.5 | 6.5 | 6 | +| Mean | 7.00 | 5.75 | 5.75 | 5.63 | 6.00 | + +Junior A, hardest first: + +- Locality, Self-sufficiency, Overall: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rungs interact, and the reasons sit in the decision log +- Locality, Shape: `bin/do_epic/parking.py:18` `parked_through`: a crash-ordering protocol across a file, a tmux window and scheduler slots +- Shape: `bin/chunk_pr/main.py:485` `merged`: a merge queue with chained Failure ternaries +- Shape: `bin/do_epic/main.py:236` `chunk_run`: a loop with a nested ternary at line 285 + +Mid A, hardest first: + +- Locality, Shape: `bin/do_epic/main.py:402` `handed_on`: reads like a getter and writes Jira, the store and tmux +- Locality, Shape: `bin/do_epic/scheduler.py:172` `start_chunks`: four sets, five branches and two nested locks +- Locality: `bin/do_epic/parking.py:18` `parked_through`: three ordered steps and a polling loop +- Self-sufficiency: `bin/agent_cycle/routing.py:115` `unfinished_route`: only the module's table explains it +- Shape: `bin/agent_cycle/run.py:160` `rule`: four near-identical archive names and one very long expression at line 255 + +Maintainability senior, hardest first: + +- Navigation, Locality: `bin/do_epic/scheduler.py:172` `start_chunks`: the cap on running chunks lives here, in `resume` and in `bin/loop_claude/loop/chunk_windows.py:117` `start_chunks` +- Locality, Self-sufficiency: `bin/do_epic/parking.py:18` `parked_through`: state in a file, tmux attributes and Jira, with the order only in the docstring +- Shape: `bin/chunk_pr/main.py:485` `merged`: four flags whose combinations aren't all visibly handled +- Self-sufficiency: `bin/do_epic/main.py:485` `next_cycle`: a tmux window name doubles as the Jira issue key, written down nowhere +- Shape: `bin/task_bench/main.py:241` `Planner`: three levels of curried callables + +Inherited architect, would restructure first: + +- Locality: `bin/larv_review/reviewer_header.py:75` `unanswered_round`: round counting has a second counter in `bin/rule_hook/round_cap.py:28` with the opposite failure mode +- Shape, Navigation: `bin/rule_hook/rules.py:27` `RULES`: a prose table and the check functions share one file +- Navigation: `README.md:269` "do_epic": the only map of a 22-module package with an empty `__init__.py` +- Shape: `bin/agent_cycle/run.py:33` `Cycle`: 17 fields + +## 2026-12-01T14:02:49Z, item-565 rerun at 98c49021 + +| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall | +|---|---|---|---|---|---| +| Junior A | 7 | 6 | 6 | 5 | 6 | +| Mid A | 7 | 6 | 6 | 6 | 6 | +| Maintainability senior | 7 | 6 | 6.5 | 6 | 6.5 | +| Inherited architect | 7 | 5.5 | 6 | 6 | 6 | +| Mean | 7.00 | 5.88 | 6.13 | 5.75 | 6.13 | + +Junior A, hardest first: + +- Self-sufficiency, Overall: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rungs interact, and the reasons sit in the decision log +- Self-sufficiency: `skills/larv-review/SKILL.md:104` "Re-entry": depends on "Round cap" and "Mechanical answers", read twice to know which pass a fix reruns +- Locality, Shape: `bin/do_epic/main.py:236` `chunk_run`: a loop mixing parking, reopening and a nested ternary at line 285 +- Shape: `bin/chunk_pr/main.py:485` `merged`: about eight functions to follow one merge +- Shape: `bin/do_epic/scheduler.py:172` `start_chunks`: three window sets and a parked map in a five-way branch + +Mid A, hardest first: + +- Shape: `bin/task_bench/main.py:241` `Planner`: three layers of curried callables +- Locality: `bin/chunk_pr/main.py:624` `levelled_and_finished`: the order of the scoring-run check and the remeasure isn't explained +- Locality, Shape: `bin/chunk_pr/main.py:485` `merged`: a merge-queue loop interleaving approval, parking and a flock +- Shape: `bin/do_epic/main.py:236` `chunk_run`: a long loop with flags threaded through +- Locality: `bin/agent_cycle/judge.py:88` `Reply`: prompt wording coupled to `judge_replay.archived_prompt` + +Maintainability senior, hardest first: + +- Shape, Self-sufficiency: `bin/release_plan/release_standing.py:206` `next_release`: one boolean packs three inputs +- Locality, Self-sufficiency: `bin/chunk_pr/main.py:485` `merged`: git, forge and plan effects in one flow, with the order unexplained +- Locality: `bin/chunk_driver/chunk_run.py:44` `closed_cycle`: `Route.unfinished` and `Run.unfinished_run` have near-identical names and different meanings +- Locality: `bin/loop_claude/loop/reload.py:97` `exec_if_edited`: a new `LoopRun` field breaks running loops +- 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:28` `earlier_titles`: a round counter that fails open, beside `bin/larv_review/reviewer_header.py:83` `branch_summaries` and `bin/review_rules/round_titles.py:39` `named_counts` +- 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 diff --git a/todo.md b/todo.md index 36a06c8b..3e46c3ca 100644 --- a/todo.md +++ b/todo.md @@ -44,7 +44,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 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.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 | | 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 | @@ -279,34 +279,35 @@ 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 68611733 scored Navigation 7.13, Locality 6.13, Shape 6.13, Self-sufficiency 5.88 and Overall 6.25. +### 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. -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. +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. 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 second run, hardest first (`larv-review places`), Self-sufficiency first: +Places the seats named in the two runs at 98c49021, hardest first (`larv-review places`), Self-sufficiency first: -- 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. +- Self-sufficiency, Locality: `bin/agent_cycle/routing.py:115` `unfinished_route`: five rungs interact, and the reasons sit in the decision log or the module's table. Three seats named it. +- Self-sufficiency, Locality: `skills/larv-review/SKILL.md:104` "Re-entry", with `:96` "Round cap": Re-entry depends on "Round cap" and "Mechanical answers" and is read twice to know which pass a fix reruns, and the cap's contract spans the skill, three modules and `bin/rule_hook/rules.py:85`. Two seats named it. +- Self-sufficiency: `bin/do_epic/main.py:485` `next_cycle`: a tmux window name doubles as the Jira issue key, written down nowhere. +- Self-sufficiency, Shape: `bin/release_plan/release_standing.py:206` `next_release`: one boolean packs three inputs. +- Locality, Self-sufficiency, Shape: `bin/do_epic/parking.py:18` `parked_through`: a crash-ordering protocol of three ordered steps and a polling loop, with state in a file, tmux attributes, Jira and scheduler slots, and the order only in the docstring. Three seats named it. +- Locality, Shape, Navigation: `bin/do_epic/scheduler.py:172` `start_chunks`: window sets and a parked map in a five-way branch under two nested locks, and the cap on running chunks lives here, in `resume` and in `bin/loop_claude/loop/chunk_windows.py:117` `start_chunks`. Three seats named it. +- Locality: `bin/rule_hook/round_cap.py:28` `earlier_titles`, with `bin/larv_review/reviewer_header.py:83` `branch_summaries` and `bin/review_rules/round_titles.py:39` `named_counts`: three round counters, and `earlier_titles` fails open where the others don't. Two seats named it. +- Locality, Shape: `bin/do_epic/main.py:402` `handed_on`: reads like a getter and writes Jira, the store and tmux. +- Locality: `bin/chunk_pr/main.py:624` `levelled_and_finished`: the order of the scoring-run check and the remeasure isn't explained. +- Locality: `bin/agent_cycle/judge.py:88` `Reply`: the prompt's wording is coupled to `judge_replay.archived_prompt`. +- Locality: `bin/chunk_driver/chunk_run.py:44` `closed_cycle`: `Route.unfinished` and `Run.unfinished_run` have near-identical names and different meanings. +- Locality: `bin/loop_claude/loop/reload.py:97` `exec_if_edited`: a new `LoopRun` field breaks running loops. +- Shape, Locality, Self-sufficiency: `bin/chunk_pr/main.py:485` `merged`: a merge-queue loop interleaving approval, parking and a flock, with chained Failure ternaries, four flags whose combinations aren't all visibly handled, about eight functions to follow one merge, and git, forge and plan effects in an unexplained order. Five seats named it. +- Shape, Locality: `bin/do_epic/main.py:236` `chunk_run`: a long loop mixing parking and reopening, with flags threaded through and a nested ternary at line 285. Three seats named it. +- Shape: `bin/task_bench/main.py:241` `Planner`: three layers of curried callables. Two seats named it. +- Shape: `bin/agent_cycle/run.py:33` `Cycle`, with `:160` `rule`: the dataclass has 17 fields, and `rule` has four near-identical archive names and one very long expression at line 255. +- Shape, Navigation: `bin/rule_hook/rules.py:27` `RULES`: a prose table and the check functions share one file. +- Shape: `bin/rule_hook/env_file.py:34` `reaching`: `and` over `or` without parentheses at line 41. +- Navigation, Shape: `bin/agent_cycle/__init__.py:1` `agent_cycle`: 17 flat modules against its own "about seven" citation. +- Navigation: `README.md:269` "do_epic": the only map of a 22-module package with an empty `__init__.py`. +- Navigation: `bin/chunk_driver/this_loop.py:12` `Loop`: the name doesn't say it holds a chunk's run context. ### 264. Report the comprehension seats and the escalated subagents as subagent types of their own in `routing-figures.md`, with their dollars.