Answer architecture round 5: return the heading as a dataclass, read the Mean line as its own field, mark an entry paired explicitly, move metric-bench's path resolution back to metric_bench, and split the scoring trigger into named steps

This commit is contained in:
2026-10-09 01:44:53 +02:00
parent efed78bf5e
commit c1133edf39
9 changed files with 143 additions and 92 deletions
+29
View File
@@ -452,3 +452,32 @@ Inherited architect, decided by:
- `bin/larv_review/git.py:4` the import of `HistoryChange` from rules, and `bin/metric_bench/main.py:143` `git`: a reversed dependency and two git runners
- `bin/larv_review/seats.py:7` `SCORING_SEATS` and `SEAT_LINE`, with `bin/larv_review/rules.py:11` `FIRST_SEATS`: seat names spelled in four places
- `bin/larv_review/main.py:164` `record` and `bin/larv_review/history.py:52` `entries`: positional regex groups that need `HEADING` open beside them
## 2026-10-08T23:40:09Z, PR #231 at efed78b, against 12d6d75
Ruling: worse
| Seat | Vote |
|---|---|
| Mid A | worse |
| Inherited architect | worse |
Mid A, decided by:
- `bin/larv_review/rules.py:105` `scoring_run_due`: set arithmetic over two plans, an `earliest` release and a `landed` flag built in `git.py`, with `or` and `and` unparenthesised, where the base's trigger was one clause at `skills/larv-review/SKILL.md:35`
- `bin/larv_review/rules.py:66` `measured_commit` and `:82` `base`: the base comes from diffing the history around each merged change, held with `history.py` `entries` and `git.py` `history_changes` at once
- `bin/larv_review/rules.py:16` `votes` and `:34` `ruling`, with `bin/larv_review/seats.py:16` `FIRST_SEATS`: fixed seat order, a split, a lead of two and a placeless vote stacked, where `skills/larv-review/SKILL.md:93` only points at `--help`
- `bin/larv_review/main.py:220` `read_seats`: `named.group(3, 4)` depends on `HEADING`'s group positions in `bin/larv_review/history.py:13`
- `bin/larv_review/history.py:95` `resolved` and `:66` `scoring_runs`: used only by `bin/metric_bench/main.py:40`, so metric-bench reaches into another tool's package
- `bin/larv_review/rules.py:57` `round_counts`, better: the round count is a small named function where the base had prose at `skills/larv-review/SKILL.md:58`
- `bin/larv_review/history.py:129` `ruling_entry`, better: the history's format has one owner in code
Inherited architect, decided by:
- `bin/larv_review/rules.py:105` `scoring_run_due`: set arithmetic whose inputs are built in three other files, where the base's trigger was one table cell at `skills/larv-review/SKILL.md:35`
- `bin/larv_review/rules.py:66` `measured_commit` and `:82` `base`: `against is None` doubles as the type tag of `bin/larv_review/history.py:30` `Entry`; the hardest unit at 3am
- `bin/larv_review/main.py:220` `read_seats`, with `bin/larv_review/history.py:111` `heading`: a raw `re.Match` whose groups another file reads by position
- `bin/larv_review/seats.py:10` `MEAN`, with `bin/larv_review/history.py:111` `heading`: a fake seat standing for a legacy import, threaded through every scoring path
- `bin/larv_review/history.py:95` `resolved` and `:66` `scoring_runs`: metric-bench's legacy path rules inside larv-review's package, and two `git` helpers at `bin/metric_bench/main.py:143` and `bin/larv_review/git.py:10`
- `bin/larv_review/main.py:1` the module docstring, with `bin/larv_review/rules.py:83` `base`: the base rule stated in several places in different words
- `bin/larv_review/rules.py:57` `round_counts`, better: the fourth-round symptom leads to a tested function