Answer architecture round 5: give record_scoring's moved Mean its own path, and take pending_fall from a paired entry alone

This commit is contained in:
2026-10-09 11:40:13 +02:00
parent 6a8bbcfff9
commit 885396370a
6 changed files with 121 additions and 31 deletions
+59
View File
@@ -561,3 +561,62 @@ Inherited architect, decided by:
- `bin/larv_review/git.py:56` `file_at` and `bin/larv_review/main.py:247` `history_text`: Locality: two histories, the default branch's and the checkout's
- `skills/larv-review/SKILL.md:97` "Seats": Self-sufficiency, against the skill: it needs the tool's help open beside it
- `bin/rank_todo.py:386` `parse_row`: Shape, a small gain
## 2026-10-09T09:35:29Z, PR #232 at 6a8bbcf, against 12d6d75
Ruling: same
Fell: Locality, Shape
| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall |
|---|---|---|---|---|---|
| Mid A | better | worse | same | better | better |
| Inherited architect | better | worse | worse | same | worse |
| Maintainability senior | better | worse | worse | better | same |
| Junior A | better | worse | worse | better | worse |
Mid A, decided by:
- Navigation, Self-sufficiency, Overall: `bin/larv_review/rules.py:118` `round_counts`, with `bin/larv_review/main.py:155` `round_count`: the fourth-round symptom leads from the README's Tools list to a named, tested function, where the base had `skills/larv-review/SKILL.md:58` "Count"
- Self-sufficiency, Overall: `bin/larv_review/history.py:117` `ruling_entry` and `:130` `scoring_entry`: the history format is produced by code and checked by a regex, where the base had `skills/larv-review/SKILL.md:92` "History"
- Locality: `bin/larv_review/main.py:234` `record_scoring`: five conditionals on `given.moved_mean` weave a one-off migration into the main scoring path
- Locality: `bin/metric_bench/main.py:38` and `bin/larv_review/history.py:31` `Entry`: places are parsed in larv_review but used only by metric_bench; `bin/metric_bench/bench.py:87` `resolved` copes with old paths
- Locality: `bin/larv_review/main.py:1` the module docstring: rules compressed into one dense block; the fall, Ratchet and Still standing chain reaches across `bin/larv_review/rules.py:95` `fall_outcome`, `:76` `standing_ratchet` and `bin/larv_review/main.py:164` `needs_scoring_run`
- Navigation: `README.md:66` "Tools": lists larv-review and metric-bench; `skills/larv-review/SKILL.md:46` points at `--help`
- Shape: `bin/larv_review/rules.py:155` `plan_items` and `:169` `scoring_run_due`: a catch-all module, offset by the clean package split and the truthful `skills/comprehension-panel/seat-prompts.md:1` name
Inherited architect, decided by:
- Locality: `bin/larv_review/main.py:234` `record_scoring`: whether a run is allowed and whether the floor blocks depend on the plan diff, a pending fall read from the history, and `moved_mean`, checked five times in 25 lines
- Locality: `bin/larv_review/rules.py:71` `pending_fall` and `:76` `standing_ratchet`: commands talk only through the history file, so the outcome depends on the order they ran in
- Locality, Shape: `bin/larv_review/rules.py:127` `measured_commit`: re-parses the history around every merged change and applies a two-clause rule; where it rots first
- Shape: `bin/larv_review/rules.py:1` the module: vote counting, round counting, base search, plan parsing and release emptying under a name that says as little as utils; `HistoryChange` defined in history but built in `bin/larv_review/git.py:66` `history_changes`
- Shape: `bin/metric_bench/main.py:38`: a second tool no review runs, depending on larv_review's history parser; `bin/` gains two packages
- Shape: `bin/metric_bench/bench.py:87` `resolved`: a shim for old path formats
- Navigation: `bin/larv_review/rules.py:118` `round_counts` and `bin/larv_review/main.py:155` `round_count`: the 3am symptom lands on a named command, where the base had `skills/larv-review/SKILL.md:58` "Count"
- Navigation: `README.md:66` "Tools": lists every tool
- Navigation: `skills/comprehension-panel/seat-prompts.md:1`: a truthful name
- Self-sufficiency: `bin/larv_review/main.py:1` the module docstring and `skills/larv-review/SKILL.md:93` "Paired ruling": the code explains itself, but the skill's ratchet text needs the docstring open beside it; ruled same
Maintainability senior, decided by:
- Locality: `bin/larv_review/main.py:234` `record_scoring`: tests `given.moved_mean` five times, each branch tied to `chunk_history`, `due_reasons` and `pending_fall`
- Locality: `bin/larv_review/rules.py:71` `pending_fall`: its docstring holds only because `bin/larv_review/history.py:62` `entries` gives scoring runs an empty `fell`; the Fell, Ratchet and Still standing chain spans four files
- Locality, Shape: `bin/metric_bench/main.py:38` `main`: metric-bench imports larv_review's history internals; `bin/metric_bench/main.py:143` `git` repeats `bin/larv_review/git.py:10` `git`
- Shape: `bin/larv_review/rules.py:35` `counted`: a function and a parameter share the name; the module name says nothing of its contents
- Shape: `bin/larv_review/main.py:177` `due_reasons`: main holds commands plus I/O helpers, and the vocabulary grew to seven concepts
- Navigation: `README.md:66` "Tools": every tool listed with its `--help`
- Self-sufficiency, Navigation: `bin/larv_review/rules.py:118` `round_counts`: the round count, vote count and trigger state their rules in code, where the base had `skills/larv-review/SKILL.md:58` "Count"
- Self-sufficiency: `bin/larv_review/main.py:1` the module docstring: an 80-line block of every rule at once, partly cancelling the gain
Junior A, decided by:
- Locality, Overall: `bin/larv_review/main.py:234` `record_scoring`: the moved-Mean case is checked five times and decides four things
- Locality, Overall: `bin/larv_review/rules.py:76` `standing_ratchet` and `:71` `pending_fall`: a merge block depends on state earlier commands wrote into the history
- Locality, Shape: `bin/larv_review/rules.py:127` `measured_commit`: walks every merged change's history; restated at `bin/larv_review/main.py:11`, the hardest sentence in the repo
- Shape: `bin/larv_review/rules.py:1` the module: a grab-bag name beside truthfully named siblings
- Shape: `bin/larv_review/seats.py:31` `Report`: the field `read` looks like a verb; `said`, `counted`, `given` and `found` at `bin/larv_review/main.py:217` `record_ruling` need tracing
- Shape: `bin/metric_bench/main.py:38`: the history format is a contract between two tool packages
- Navigation, Self-sufficiency: `bin/larv_review/rules.py:118` `round_counts`: the 3am question lands on one named function, where the base had `skills/larv-review/SKILL.md:58` "Count"
- Navigation: `README.md:66` "Tools": the README lists larv-review and metric-bench
- Self-sufficiency: `bin/larv_review/history.py:62` `entries` and `:117` `ruling_entry`: the history format is enforced in code; the skill needs `--help` open beside it