diff --git a/docs/comprehension-history.md b/docs/comprehension-history.md index c4d7c05a..ae383664 100644 --- a/docs/comprehension-history.md +++ b/docs/comprehension-history.md @@ -4479,3 +4479,37 @@ Inherited architect, would restructure first: - Shape: `bin/chunk_driver/cycle_start.py:96` `cycle_of`: ten keyword arguments on one line - Shape: `bin/agent_cycle/run.py:33` `Cycle`: 17 fields, allowed by a decision the reader must open the log to read - 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 + +## 2026-11-27T13:55:16Z, PR #732 at 4a35c74f, against 606cf25e + +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: + +- Locality: `bin/deploy_release/cut.py:38` `cut`: each step reports through a `say` argument decided once in main, where the base's module-level `said` printed to stderr as a hidden side effect +- Locality, Shape: `bin/deploy_release/cut.py:144` `ready_release`: one function answers one question, where the base's `review` flag switched a match case; each caller decides what an unreviewed release means +- Locality, Navigation: `bin/deploy_release/patch.py:221` `run_ci`: the timeout, kill and container clean-up have their own file, ci_script.py, where the base ran ci.sh inline; `CI_CONTAINER` links to ci.sh through the environment +- Navigation, Shape: `bin/task_bench/main.py:1` task_bench split into bugs/, features/ and figures/: a symptom picks a subfolder first, where the base held about 22 modules side by side +- Locality, Shape: `bin/task_bench/main.py:432` `SOURCES`: the kind is settled once in one table, where the base checked it twice with isinstance; the Source, Planning, Planner chain of lambdas and near-synonym names holds the gain back +- Shape, Locality: `bin/task_bench/main.py:320` `checked`: parsing, checking and defaults are separate functions without in-place mutation, where the base's `options` filled `given` with setdefault +- Shape: `bin/do_epic/parking.py:127` `Told`: loop-local mutable state became a small object, and the loop body reads as three cases +- Locality: `bin/plan/release.py:16` `REVIEW_TITLE`: one constant shared by four modules, where the base hard-coded the title +- Shape: `bin/task_bench/tasks.py:14` `Side`: the shared type moved from the figures module to the module of shared task types +- Navigation: `bin/do_epic/backend/protocol.py:13` `REVIEW_LABEL`: one of do-epic's labels now sits apart from the other two, and its copied comment fits its new spot less well +- Self-sufficiency: `bin/task_bench/figures/record_figures.py:16` `SIDES`: its comment names a path the move made stale, offset by the new docstrings on the trace and the ci.sh limit + +Inherited architect, decided by: + +- Locality, Shape: `bin/task_bench/main.py:432` `SOURCES`: each kind's reading stays in one function, where the base's `tasks_from` union and its isinstance checks had to be edited in two functions in step +- Shape: `bin/task_bench/main.py:237` `Planner`: the most expensive read of the change; three nested callables per kind, unwound through functools.partial, and `kind` parameters two sources never use +- Navigation, Shape: `bin/task_bench/main.py:1` task_bench split into bugs/, features/ and figures/: nine files and three named folders at the top, where the base had about 38 files flat; figures/gather.py filing plan items isn't "figures" +- Locality: `bin/deploy_release/patch.py:52` `cut_patch`: `say` and `ci` come in from the caller, where the base printed from module level and ran ci.sh inline without a timeout or a record +- Navigation: `bin/deploy_release/ci_script.py:27` `ci_runner`: a hung ci.sh or a dead cut leads to files named for it, ci_script.py and trace.py; `CI_CONTAINER` couples to ci.sh, commented at both ends +- 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