From 5a495fd58ecdd14f6584b20c7ce3ad893da2ff68 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 18 Oct 2026 21:59:47 +0200 Subject: [PATCH] Record the comprehension check: paired ruling same against e6223f7; two scoring runs at c713910, overall 6.25 each --- docs/comprehension-history.md | 132 ++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) diff --git a/docs/comprehension-history.md b/docs/comprehension-history.md index f1ad1eaf..7dc755a7 100644 --- a/docs/comprehension-history.md +++ b/docs/comprehension-history.md @@ -2303,3 +2303,135 @@ Junior A, decided by: - Locality, Shape: `bin/review_replay/main.py:208` `reviewed_in`: four jobs and seven arguments became named units with docstrings, and `main`'s loop and lambdas are named - Navigation: `README.md:113`: the import map now names every reader of `model_routing/` and what `rung_replay/` holds, and the tool's name leads to it for any pass - Shape: `bin/loop_claude/cycle/prompts.py:57` `shared_launches`: five helpers, a made-up `"each reviewer"` key and paths an empty `REPLAYED` never runs, against `ReviewKind` naming the real passes + +## 2026-10-18T19:59:26Z, PR #324 at c713910, against e6223f7 + +Ruling: same + +| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall | +|---|---|---|---|---|---| +| Mid A | same | worse | better | same | same | +| Inherited architect | same | worse | better | same | same | + +Mid A, decided by: + +- Locality: `bin/larv_review/record.py:56` `rerank`: recording a scoring run now also rewrites the checkout's todo.md and can exit 1 on items under the bar, so changing record-scoring needs rank_todo.rank_file's whole contract, where the base only appended to the history +- Locality: `bin/rank_todo.py:338` `weigh`: an item's score now depends on docs/comprehension-history.md's newest scored commit and on a `## review opt-out:` title in docs/decisions.md, so scores and --check can change without anyone editing todo.md or README.md +- Shape: `bin/rank_todo.py:315` `ranked_goals`: the base's inline three-way weights branch in read_scoring is a named weigh, with the code-health and void rules in ranked_goals, each easier alone, at the cost of three similar names weigh, goal_weights and parse_weights +- Shape: `bin/rank_todo.py:623` `cited_goals_failure`: the base's parse_item mixed goal checks with writing R, and main inlined read, rank, write and print; each is now a unit with one purpose, and rank_file is reusable +- Shape: `bin/comprehension_history.py:130` `newest_scored`: the base's index arithmetic in latest_places is a named helper latest_overall shares, and overall_cells and FLOOR moved to the module that parses the table they read + +Inherited architect, decided by: + +- Locality: `bin/rank_todo.py:196` `read_all`: ranking now also depends on the newest scoring run in docs/comprehension-history.md, so a passing --check can fail with nobody touching todo.md, and nothing at the call site shows that a history append moves code health's weight +- Locality: `bin/larv_review/record.py:56` `rerank`: recording a scoring run now writes todo.md through rank_todo.rank_file, which prints its notes to stderr, and the message pointing at "the lines above" reads right only if rank_file printed first +- Locality: `bin/rank_todo.py:106` `OPTED_OUT`: ranking now matches a docs/decisions.md title spelled in larv-review's SKILL.md → "Opt-out", so rewording that heading silently changes whether rank_todo refuses a plan +- Locality: `bin/loop_claude/cycle/prompts.py:17` `AFTER_CODE_HEALTH`: the caveat that code health ranks first unless the README voids it is repeated in prose across about eight files, so one change to the shared goal edits all of them +- Shape: `bin/comprehension_history.py:130` `newest_scored`: replaces the base's index juggling in latest_places with two truthfully named predicates serving latest_places and latest_overall +- Shape: `bin/comprehension_history.py:145` `overall_cells`: FLOOR and overall_cells now have one home next to DIMENSIONS, and agreement's inline sort became the named scoring_runs +- Shape: `bin/rank_todo.py:332` `weigh`: weigh, cited_goals_failure and rank_file are pulled out of read_scoring, parse_item and main, each doing one thing + +## 2026-10-18T19:59:40Z, PR #324 at c713910 + +| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall | +|---|---|---|---|---|---| +| Junior A | 7 | 5.5 | 6 | 6.5 | 6 | +| Mid A | 7 | 5.5 | 6 | 6.5 | 6 | +| Maintainability senior | 7 | 6 | 6.5 | 6.5 | 6.5 | +| Inherited architect | 7 | 6 | 6 | 7 | 6.5 | +| Mean | 7.00 | 5.75 | 6.13 | 6.63 | 6.25 | + +Junior A, hardest first: + +- `bin/model_routing/route.py:66` `Route.escalated_at`: the escalation mark lives in six units across four files, with judge_once stamping entries_read, escalation_mark, stepped and judge_prompt's STEP_LINE held at once +- `bin/loop_claude/loop/main.py:1` "loop-claude --help": a 164-line docstring is the loop's real spec, its routing paragraphs packing every rule into one block that routed and after_verdict need open +- `bin/loop_claude/cycle/prompts.py:46` `review_launches`: prompt sentences assembled from rung comparisons over replay-lowered passes, the project's rung, the top rung and higher E + I +- `bin/model_routing/route.py:13` `ROUTED`: stored state persisted as prose and parsed back by regexes in four places, so rewording one string silently changes routing +- `bin/rank_todo.py:568` `score`: a 660-line file carrying two table shapes, with OLD_SHAPE forks in scoring, weights, goal parsing and column checks +- `bin/chunk_pick.py:97` `standing`: five inputs become five outcomes, and chunk_pick.Finished shares its name with judge.Finished +- `bin/review_replay/rounds.py:73` `reviewed_path`: rebuilds the code a past reviewer read from prompt text and author times, a heuristic +- `bin/comprehension_history.py:159` `scored`: legacy formats from before PR #255 and #232 leak into the reading + +Mid A, hardest first: + +- `bin/loop_claude/routing.py:64` `stepped`: seven small functions, each defined through another, with six inputs held at once to predict one rung, and an import cycle shaping the signature +- `bin/loop_claude/loop/main.py:259` `after_verdict`: the 164-line docstring is the only full map of routing, and after_verdict chains it all in one expression +- `bin/loop_claude/cycle/run.py:45` `Cycle.stepped_from`: the route changes outside the state machine, cleared on every event but HumanTyped, so it outlives exactly one hop +- `bin/loop_claude/cycle/judge.py:216` `quotes_checked`: three bodies of text to check quotes against, fuzzy matching, and three ways a failed check is handled +- `bin/loop_claude/cycle/prompts.py:46` `review_launches`: fragments that each start with a space, so no whole prompt is visible without running it in your head +- `bin/model_routing/route.py:13` `ROUTED`: a saved string format parsed back by a verbose regex that still accepts an older format +- `bin/rank_todo.py:568` `score`: two table shapes share every path, the goal term W in one and V in the other +- `bin/loop_claude/loop/reload.py:43` `decoded_as`: a generic decoder with two sentinels and a duck-typed fits hook defined on Route + +Maintainability senior, hardest first: + +- `bin/loop_claude/routing.py:64` `stepped`: four things held at once, the unfinished count, the taken-in L, the escalation cap from item_rung and the mark threaded through judge.py's escalation_mark, STEP_LINE and Grounds.since_step +- `bin/model_routing/route.py:86` `Route.__str__`: the route written as English and parsed back by ROUTED and outcomes.workers, so a sentence's wording is a storage schema shared by four tools +- `bin/loop_claude/loop/main.py:1` "loop-claude --help": a 160-line spec whose routing paragraph carries about 15 rules, re-describing what routing.py, ladder.py and retry.py enforce +- `bin/loop_claude/cycle/prompts.py:46` `review_launches`: each sentence built conditionally with a leading-space convention, and taken_in_launches scanning every higher E + I +- `bin/loop_claude/cycle/judge.py:216` `quotes_checked`: three grounds with three failure consequences, and the demotion to an interrupt loses release_ready +- `bin/review_replay/rounds.py:73` `reviewed_path`: guesses which removed worktree a reviewer read, and redirected depends on the order of its replacements +- `bin/comprehension_history.py:150` `scoring_runs`: near-synonyms scored and scoring_runs differ only on a ruling from before PR #255 +- `bin/rank_todo.py:332` `weigh`: the goal term is W or V by shape, so every scoring path asks which shape + +Inherited architect, would restructure first: + +- `bin/round_titles.py:4` `CAP`: no program loops the reviewers; the cap lives in SKILL.md prose and the code only counts rounds and prints a note +- `bin/git_command.py:16` `commits`: parses git commit messages for rule-hook while git_repo.py, rule_hook/git.py, larv_review/git.py and Effects.git each run git, and git_repo bypasses Effects +- `bin/transcript_archive/outcomes.py:39` `outcomes`: shares its name with score_outcomes/outcomes.py, which measures finished chunks instead +- `bin/loop_claude/routing.py:64` `stepped`: routing has four homes, ladder.py, route.py, routing.py and routing_check with routing_figures, and prompts.py restates the ladder as sentences +- `bin/rank_todo.py:196` `read_all`: a 658-line library as well as a tool, imported by rule_hook and larv_review, and now reading four documents, so a todo.md commit in any project depends on its comprehension history +- `bin/loop_claude/cycle/judge.py:68` `Reply.bundled`: the taken-in L is also called bundled, and the project's rung is also called anchor +- `bin/chunk_pick.py:97` `standing`: "next release" is computed two ways, here and in larv_review/plan.py's scoring_run_due, which may diverge after a rename + +## 2026-10-18T19:59:40Z, PR #324 rerun at c713910 + +| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall | +|---|---|---|---|---|---| +| Junior A | 7 | 5.5 | 6.5 | 6 | 6 | +| Mid A | 7.5 | 6 | 6.5 | 7 | 6.5 | +| Maintainability senior | 7.5 | 6 | 6.5 | 6.5 | 6.5 | +| Inherited architect | 6.5 | 6 | 5.5 | 6.5 | 6 | +| Mean | 7.13 | 5.88 | 6.25 | 6.50 | 6.25 | + +Junior A, hardest first: + +- `bin/loop_claude/cycle/prompts.py:46` `review_launches`: the worker's English instructions built from how the worker's, the project's, the reviewers' and any replay-lowered rung relate, with ladder.review_rungs, REPLAYED and escalation_rungs open at once +- `bin/loop_claude/routing.py:64` `stepped`: seven small functions defined through each other, bundled learned only from judge.Reply, and escalated_at both an argument and a Route field with different meanings +- `bin/model_routing/route.py:13` `ROUTED`: routing state lives as English sentences in outcomes.md, read back by a regex, with the newest file by mtime deciding +- `bin/loop_claude/loop/main.py:1` "loop-claude --help": about 160 lines and the only full account of routing, step-ups, the archive layout, reloads and the routing figures in one unbroken paragraph +- `bin/loop_claude/cycle/run.py:69` `escalated`: stepped_from must survive a HumanTyped event and reset on every other, and archive_stepped writes one outcome or two depending on it +- `bin/loop_claude/cycle/judge.py:216` `quotes_checked`: three quote checks follow different rules, and an escalation that fails is silently dropped +- `bin/chunk_pick.py:97` `standing`: two separate notions of the next release and of work having landed, here and in larv_review/plan.py's scoring_run_due +- `bin/rank_todo.py:332` `weigh`: old-shape support forks behaviour throughout a 659-line file + +Mid A, hardest first: + +- `bin/model_routing/route.py:66` `Route.escalated_at`: the escalation mark is one concept spread over five files, the entry count, the injected step line, a double quote check and the cap from item_rung held at once +- `bin/loop_claude/cycle/run.py:69` `escalated`: state outside the state machine, cleared on every event but HumanTyped and read by ask, keep_answer and archive_stepped, depending on its order before transition +- `bin/loop_claude/cycle/prompts.py:46` `review_launches`: routing policy and English wording interleaved, much of the branching serving an empty REPLAYED +- `bin/loop_claude/loop/main.py:210` `run_loop`: the route passed as lazy thunks and re-derived every cycle, with an anchor-is-None branch in three places +- `bin/model_routing/route.py:86` `Route.__str__`: the archive's human-readable lines are what reruns, the routing figures and the replays parse back +- `bin/comprehension_history.py:150` `scoring_runs`: two near-identical predicates differing only for a ruling from before PR #255 +- `bin/rank_todo.py:568` `score`: every rule exists twice for the old table shape +- `bin/review_replay/main.py:149` `code_of`: rebuilds which worktree a reviewer read by the first missing directory among its prompt's paths + +Maintainability senior, hardest first: + +- `bin/loop_claude/routing.py:64` `stepped`: seven one-line rung functions each defined by the others, four inputs held together, and an import cycle steering the interface +- `bin/loop_claude/cycle/judge.py:153` `escalation_mark`: the escalation mark spread over route.py, judge.py's Grounds and judge_prompt and run.py's escalated, and no single place states that one trigger buys one step +- `bin/loop_claude/cycle/prompts.py:46` `review_launches`: which conditional sentences reach which prompt means tracing fresh, routed_by, resumed, rungs_held and stepped_to +- `bin/loop_claude/loop/main.py:1` "loop-claude --help": the routing paragraph is one block covering the ladder, the judge, replays, rule-hook's variables, step rules, archive lines and legacy R + C +- `bin/model_routing/route.py:13` `ROUTED`: routing state survives restarts as English sentences parsed back by regex, a hidden contract across three packages +- `bin/rank_todo.py:218` `rank`: every stage branches on the old table shape, about half a 660-line file read and then discarded +- `bin/comprehension_history.py:130` `newest_scored`: four near-identical names over two concepts, split by a legacy case only the docstrings explain +- `bin/chunk_pick.py:97` `standing`: five inputs, three of which may be Failure, produce five outcomes, the order of the Failure checks carrying meaning + +Inherited architect, would restructure first: + +- `bin/round_titles.py:5` `PASSES`: the pass list lives in four places, PASSES, ladder.ReviewedPass, REVIEWERS and SKILL.md's table, kept in sync by hand +- `bin/rule_hook/rules.py:55` `round-title-counts`: no program blocks a fourth review round; rule-hook checks only the counts inside a round's title +- `bin/git_repo.py:8` `git`: bin/'s root holds about 43 entries, with 13 loose modules such as git_repo, git_command, chunk_pick and todo_table not grouped by purpose +- `bin/loop_claude/cycle/judge.py:68` `Reply.bundled`: the taken-in L and E + I are bundled in the judge's reply and taken in on Route and in routing.taken_in +- `bin/model_routing/route.py:86` `Route.__str__`: the archive's text format is written in two modules and parsed back by ROUTED, routing_figures, reading_cost, score_outcomes and judge_replay +- `bin/todo_table.py:89` `OLD_SHAPE`: the old todo.md shape is the largest dead weight in rank_todo.py