diff --git a/docs/comprehension-history.md b/docs/comprehension-history.md index 314163e2..1bb3b904 100644 --- a/docs/comprehension-history.md +++ b/docs/comprehension-history.md @@ -1560,3 +1560,56 @@ Inherited architect, decided by: - Locality, Overall: `skills/larv-review/SKILL.md:101` "Comprehension check": runs once, blocks nothing, no pass; at 4cc9953 "Fresh" made a prose fix in §3 change what §5 must do - Locality: `bin/comprehension_history.py:126` `worse_votes`: recovers votes by re-parsing table rows by cell count, relying on the votes table coming first, which matters only for legacy rulings - Locality: `bin/rule_hook/git.py:11` `git`: same name as `bin/git_repo.py:8` `git` with a different contract, beside two more git-named units + +## 2026-10-13T15:24:20Z, PR #257 at d471377 + +| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall | +|---|---|---|---|---|---| +| Junior A | 7 | 6 | 6 | 6 | 6 | +| Mid A | 7 | 7 | 6.5 | 6.5 | 6.5 | +| Maintainability senior | 7 | 6.5 | 6.5 | 7.5 | 7 | +| Inherited architect | 7 | 7 | 6 | 6.5 | 6.5 | +| Mean | 7.00 | 6.63 | 6.25 | 6.63 | 6.50 | + +Junior A, hardest first: + +- `skills/larv-review/SKILL.md:63` "Round cap" and `:74` "Re-entry": seven interlocking rules on reruns, caps and exceptions, each pointing elsewhere; what a fix to a stability 🟡 that touches a comment reruns stayed unclear +- `bin/comprehension_history.py:106` `latest_places`: a 70-word docstring, an index rule resting on a pre-PR #255 history quirk, and `worse_votes` keeping the first row by `setdefault` +- `bin/loop_claude/cycle/judge.py:16` `JUDGE_RULES` and `:127` `run_judge`: behaviour in a prose prompt, and three text normalisations held at once +- `bin/rule_hook/override_log.py:36` `this_chunks`: reflog and branch-name rules that need git knowledge +- `bin/shell_command.py:31` `segments`: dense regexes and a second lexing path for unbalanced quotes +- `bin/loop_claude/cycle/states.py:69` `transition`: the quoted-answers counter threads through three states +- `bin/larv_review/plan.py:9` `scoring_run_due`: "landed", "next release" and "emptied" mix two plans +- `bin/transcript_archive/write.py:13` `archive`: three invariants on folder naming and write order + +Mid A, hardest first: + +- `skills/larv-review/SKILL.md:63` "Round cap": about 30 interlocking rules across the trigger table, the fix clauses, the cap and later rounds; only the count is enforced in code +- `bin/comprehension_history.py:106` `latest_places`: parses its own markdown by label regexes, resting on table order and a legacy case +- `bin/loop_claude/cycle/judge.py:16` `JUDGE_RULES`: the prompt is assembled from constants in three modules +- `bin/rule_hook/override_log.py:36` `this_chunks`: reflog semantics trusted, not verifiable by reading +- `bin/shell_command.py:31` `segments`: a hand-rolled tokenizer two unrelated tools depend on +- `bin/larv_review/ruling.py:8` `votes`: the vote-counting rule spread over four modules and an 80-line help, with a ruling decision inside a parser +- `bin/rank_todo.py:378` `rank_details`: regex split and string splicing whose newline round-trip needs running to trust +- `bin/transcript_archive/write.py:13` `archive`: the why lives in `loop_claude/loop/main.py`'s docstring + +Maintainability senior, hardest first: + +- `skills/larv-review/SKILL.md:63` "Round cap" and `:74` "Re-entry": a state machine written as prose, re-derived on each read +- `bin/comprehension_history.py:106` `latest_places`: dense comprehensions, a seat name recovered by splitting a label, and table-order dependence +- `bin/loop_claude/cycle/judge.py:16` `JUDGE_RULES` and `:127` `run_judge`: one prompt spliced from three files, and two misquotes treated differently +- `bin/rule_hook/override_log.py:36` `this_chunks`: four branches over reflog behaviour +- `bin/reading_cost/measure.py:27` `measure`: timestamps compared as strings with the format assumption unstated +- `bin/rule_hook/rules.py:49` `OVERRIDE`: a lazy reason with a lookahead and a suffix strip, explained nowhere in the code +- `bin/larv_review/plan.py:9` `scoring_run_due`: the "work has landed" rule, written three times +- `bin/loop_claude/loop/reload.py:50` `exec_if_edited`: editing any `bin/**/*.py` re-execs a running loop + +Inherited architect, would restructure first: + +- `bin/round_titles.py:5` `PASSES`: repeats the pass table at `skills/larv-review/SKILL.md:33` with no check tying them, and omits the auto-reviewer +- `skills/larv-review/SKILL.md:71` "Cap": the round cap is prose; no code stops a fourth round, so the 3am path takes 20 to 40 minutes +- `bin/git_repo.py:8` `git`: one of five git runners with four signatures +- `bin/larv_review/git.py:6` `history_changes`: a module named git that holds history logic +- `bin/reading_cost/measure.py:16` `Reading`: "places" also names comprehension places, and "record" and "outcome" each carry three meanings +- `bin/loop_claude/cycle/judge.py:16` `JUDGE_RULES`: says "the agent" where the code says "worker", and restates the working loop unchecked +- `bin/loop_claude/loop/reload.py:38` `fingerprint`: covers every `bin/**/*.py`, so editing `statusline.py` reloads the loop