diff --git a/docs/comprehension-history.md b/docs/comprehension-history.md index 753ff59d..fbfb0051 100644 --- a/docs/comprehension-history.md +++ b/docs/comprehension-history.md @@ -1732,3 +1732,41 @@ Inherited architect, decided by: - Locality: `bin/loop_claude/cycle/prompts.py:34` `off_the_projects_rung`: the prompt spells out another tool's command line, `subagent-rung --plan`, with nothing tying the two, and its docstring points to `routing.first_route` in another module - Locality: `bin/loop_claude/routing.py:61` `judge_rung`: reads in one line and drops the two-way reference with `item_rung`, but writes the no-item branch a second time - Shape, Self-sufficiency: `bin/model_routing/ladder.py:52` `floored`: a truthfully named helper, offset by `bin/subagent_rung/main.py:23` `agent_args`'s boolean `planning` and position-sensitive `--plan` parsing + +## 2026-10-15T14:39:39Z, PR #274 at 1431cc6, against 2190ec8 + +Ruling: same + +| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall | +|---|---|---|---|---|---| +| Mid A | same | same | same | worse | same | +| Inherited architect | same | worse | worse | worse | worse | +| Maintainability senior | same | worse | same | worse | worse | +| Junior A | same | same | same | worse | same | + +Mid A, decided by: + +- Self-sufficiency: `bin/routing_figures/measure.py:106` `escalations`: the figures count escalations by a bare trigger number, and only the prose list in `CLAUDE.md` says what each number is +- Self-sufficiency: `bin/loop_claude/routing.py:43` `escalation_rungs`: the docstring explains the cap by naming who set it, a reason only to someone who knows the decision + +Inherited architect, decided by: + +- Locality: `bin/loop_claude/cycle/prompts.py:44` `escalation`: the marker's `:` format is typed in the prompt and again in `measure.py`'s regex, and a mismatch makes the figures print None with no error +- Locality: `bin/loop_claude/routing.py:43` `escalation_rungs`: the upper bound counts from `item_rung` and the lower from `route.rung`, so a step-up shrinks or empties the window, explained only by naming who set it +- Locality, Shape: `bin/loop_claude/cycle/prompts.py:46` `escalation`: the past-the-cap branch is a third case the docstring omits, and prompts.py now imports policy from `loop_claude.routing` +- Shape: `bin/model_routing/route.py:8` `ESCALATION_MARKER`: the module is about a chunk's Route as archived, but the marker belongs to the subagent-prompt contract +- Shape, Self-sufficiency: `CLAUDE.md:60` "Working with the codebase": "escalation" already named the reviewer-to-reviewer 🔀 handoff in `skills/larv-review/SKILL.md:80`, and now also names handing a task one rung up +- Self-sufficiency: `bin/routing_figures/measure.py:258` `triggers`: `routing-figures.md` prints `trigger 2: 3`, and no code names what each number means + +Maintainability senior, decided by: + +- Locality: `bin/loop_claude/cycle/prompts.py:40` `escalation`: when the sentence appears is split between its own top-rung guard and `escalation_rungs`'s empty slice in another module +- Locality: `bin/loop_claude/cycle/prompts.py:19` `fresh`: one plain conditional became a nested one with an `lstrip`, and `routed_by` also appends the sentence, so both paths need tracing to rule out a double +- Self-sufficiency, Locality: `bin/routing_figures/measure.py:106` `escalations`: counts bare trigger numbers that only `CLAUDE.md`'s numbered list defines +- Self-sufficiency: `bin/loop_claude/routing.py:43` `escalation_rungs`: the cap's base is explained by who set it, and the slice takes decoding + +Junior A, decided by: + +- Self-sufficiency: `bin/routing_figures/measure.py:23` `ESCALATION`: trigger numbers mean something only in `CLAUDE.md:60`'s list, and renumbering it would silently change old figures +- Self-sufficiency, Shape: `CLAUDE.md:60` "Working with the codebase": "trigger" now names an escalation condition as well as the review-pass condition Vocabulary defines +- Self-sufficiency, Locality: `bin/loop_claude/cycle/prompts.py:40` `escalation`: the past-the-cap branch is missing from the docstring, and the off-ladder guard differs from `escalation_rungs`'s