From e383f28b7a2ac62e4651b424a4c5825a0cecefa9 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 4 Nov 2026 23:52:42 +0100 Subject: [PATCH] Record the comprehension check: paired ruling better against 7681c2b --- docs/comprehension-history.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/docs/comprehension-history.md b/docs/comprehension-history.md index 579b5c1b..2b87f3ad 100644 --- a/docs/comprehension-history.md +++ b/docs/comprehension-history.md @@ -3329,3 +3329,34 @@ Inherited architect, would restructure first: - `bin/loop_claude/stop.py:1` `Stop`: documented as loop-claude's exit, but rung_replay exits through it and imports `cycle.retry` too - `bin/rank_todo.py:71` `GOAL_STEP`: a separable formula evaluator inside a 658-line, 39-function module - `bin/chunk_pick.py:1` module docstring: beside `bin/chunk_preflight/`, the names don't say which does what + +## 2026-11-04T22:52:35Z, PR #415 at 37a412b, against 7681c2b + +Ruling: better + +| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall | +|---|---|---|---|---|---| +| Mid A | better | better | better | same | better | +| Inherited architect | better | better | better | same | better | + +Mid A, decided by: + +- Navigation, Shape: `bin/loop_claude/loop/main.py:159` `run_loop`: reads as a short loop of `next_cycle`, `run_cycle`, `closed_cycle` and `check_routing`, where the base held routing, preflight, step-up archiving and the unfinished limit beside it; a symptom leads to `chunk_start.py` or `close.py` +- Locality: `bin/loop_claude/cycle/run.py:40` `Cycle.questions`: the questions folder is an explicit field, where the base rebound `paths.waiting` out of sight for every later reader +- Locality, Shape: `bin/loop_claude/cycle/run.py:191` `archived_step`: both step-up paths archive through one function and one `StepUp`, and `next_route` replaces the `after_unfinished`/`after_ruling` pair, denser but in one place +- Navigation, Shape: `bin/loop_claude/waiting/talk.py:1` `talk`: the 233-line `waiting.py` is split by role, so a `/talk` bug opens a 45-line file +- Navigation: `bin/release.py:1` `release`: every release pattern has one home, where the base spread them over `chunk_pick`, `todo_table` and `git_repo` +- Locality: `bin/release_standing.py:177` `dated_cut`: what is cut on an untagged branch is worked out again at four call sites, and `LastCut.tag is None` quietly means it may be cut by a CHANGELOG heading; weaker than the gains above +- Shape: `bin/release_standing.py:1` `release_standing`: the renamed module's docstring still opens "The next chunk's pick" + +Inherited architect, decided by: + +- Navigation, Shape: `bin/loop_claude/loop/main.py:186` `next_cycle`: `run_loop` reads as the cycle's outline, with a cycle's start in `chunk_start.py` and its close in `close.py`, each named for its phase, where the base held about 14 functions in 338 lines +- Locality: `bin/loop_claude/loop/main.py:166` `run_loop`: passes `questions=listed.folder` explicitly, where the base rebound `paths.waiting` for every later call +- Locality: `bin/loop_claude/cycle/run.py:141` `rule`: archives every interrupt or quoted answer once, as the judge rules, with `states.to_the_human` the one rule both the transition and the archive read, where the base archived in two places through `ran_on` +- Locality, Shape: `bin/loop_claude/hand_over.py:23` `hand_over`: opening claude has one side effect, no longer a hidden write of `~/.claude.json` through `trust.py` +- Navigation, Shape: `bin/release.py:1` `release`: every release pattern lives in one module, and `Release` replaces the hand-written tuple +- Navigation, Shape: `bin/loop_claude/waiting/__init__.py:10` `waiting`: one 234-line module is four of 50 to 80 lines, each a role, at the cost of more imports in its two callers +- Locality: `bin/rule_hook/main.py:75` `breaches_of`: the repeat-read helpers moved beside their rule in `repeat_read.py`, so `main.py` only dispatches +- Locality: `bin/release_standing.py:177` `dated_cut`: whether a CHANGELOG heading counts as the cut is recomputed at four call sites and not kept in `LastCut`; worse here, outweighed by the places above, and where it rots first +- Shape: `bin/loop_claude/routing.py:84` `next_route`: fewer names to learn, a denser body to trace by hand; on balance the same