diff --git a/docs/comprehension-history.md b/docs/comprehension-history.md index e12f2523..9c860076 100644 --- a/docs/comprehension-history.md +++ b/docs/comprehension-history.md @@ -1685,3 +1685,30 @@ Inherited architect, decided by: - Shape: `bin/routing_figures/measure.py:74` `measured`: one 234-line module holds six concerns, and `measured`, `Measured` and `measure_archive` sit side by side; `kept` and `calls` each name two things - Navigation: `bin/model_routing/route.py:11` `Route`: moved out of loop_claude while still carrying loop-only state, so "routing" now spans five places - Self-sufficiency: `bin/routing_figures/measure.py:130` `spend`: the docstring says it counts as `tokens_in` does, but it adds output tokens + +## 2026-10-15T07:36:58Z, PR #266 at 6cc3ded, against 8412a48 + +Ruling: better + +| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall | +|---|---|---|---|---|---| +| Mid A | same | better | same | same | better | +| Inherited architect | better | same | same | same | better | + +Mid A, decided by: + +- Locality: `bin/transcript_archive/location.py:9` `FILE_SUFFIX`, with `outcomes_of` and `transcript_of`: the one place that maps a transcript copy to its outcomes file and back, where the base wrote the suffix and the inverse step out in write.py, read.py and routing_figures/archive.py +- Locality: `bin/transcript_archive/read.py:31` `archived_outcomes` and `chunk_outcomes`: replace the raw globs routing_figures made, so it no longer knows the archive's folder depth +- Locality: `bin/transcript_archive/outcomes.py:6` `TASK`, `INTERRUPTED`, `ANSWERED`, `TASK_AT`, `ANY_VERDICT_AT`: writer and readers share one set of constants, so the outcomes format reads and changes in one file +- Locality: `bin/loop_claude/routing.py:36` `item_rung`: `kept` and `judge_rung` share one named helper where the base held the rule in an inline conditional +- Locality: `bin/loop_claude/cycle/judge.py:127` `judge_once` and `judge_args`: one judge run and its flags stand alone, so the replay reuses them without copying + +Inherited architect, decided by: + +- Navigation, Overall: `bin/transcript_archive/outcomes.py:22` `JUDGE`, `interrupted`, `answered`: each archived verdict carries a `Judge:` line, so a reader paged about a wrong ruling reads which rung judged it from the outcomes file +- Navigation, Locality, Overall: `bin/transcript_archive/location.py:9` `FILE_SUFFIX`, `outcomes_of`, `transcript_of`, with `bin/transcript_archive/read.py:31` `archived_outcomes`: the archive layout lives in one module, though `archived_outcomes` still derives the key from `path.parent.parent` +- Locality: `bin/judge_replay/main.py:124` `first_reply`: re-implements the loop's retry count beside `retried`, two places that can drift +- Locality: `bin/project_key.py:9` `checkout_of`: a guessing inverse of `project_key` that maps a project archived from `/x` to `~/code/x` when that folder exists, silently +- Shape: `bin/judge_replay/main.py:31` imports: one launcher reaching into five `loop_claude` internals, balanced by `judge`, `judge_once` and `judge_args` in `bin/loop_claude/cycle/judge.py:123` now three units with truthful names +- Locality: `bin/loop_claude/routing.py:51` `judge_rung`: derives its own anchor from the judge model while `Cycle.anchor` is the worker's, so "anchor" means two rungs in one cycle when the models differ +- Self-sufficiency: `bin/loop_claude/routing.py:54` `judge_rung` docstring: points into the plan at item 136, and `JUDGE_REPLAYED` and `REFERENCE_EFFORT` rest on a past replay and a past settings value the code cannot show