Answer architecture round 1: 1 🔴, 0 🟡; read the history's tables once and compare scoring runs on one commit

This commit is contained in:
2026-10-17 21:23:02 +02:00
parent 1fa39a6b10
commit c65207ad31
6 changed files with 107 additions and 60 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
## Unreleased
- `larv-review agreement` checks the assumption behind the paired ruling: it counts how often Mid A and the inherited architect vote alike in a paired ruling and how often their overall scores move alike between two scoring runs of one PR, and says whether the first rate is higher. A scoring run runs it and asks the user when it says no.
- Each release's scoring run is done twice on the same head, and `larv-review agreement` checks the assumption behind the paired ruling from the pairs: it counts how often Mid A and the inherited architect vote alike in a paired ruling and how often their overall scores move alike between two runs on one commit. It gives a verdict after 10 pairs, and a scoring run asks the user when it says the assumption fails.
- `workflow-bench/bench.py` gives each run a fixed list of allowed tools. Before, it skipped every permission check. A run may launch agents, run `/security-review`, edit its clone (not the clone's `.git/` or `.claude/`) and its report, and read its clone and the copy of `~/.claude` it benches. For git it gets one command, `workflow-bench/review_git.py`, and no bare `git`. The wrapper runs `log`, `diff`, `show`, `status`, `ls-files`, `add` and `commit -m` on the run's clone, whatever the working directory. It allows only the options it lists for each, and refuses an argument that names a path outside the clone. git runs with no global or system config, hook, pager or editor. A run loads no settings or MCP servers from `~/.claude` or from the case's clone, so their hooks and extra directories do not apply to it. Every other call is denied. Expect a benched review that needs another git command, or to run a project's code or tests, to say in its report that it could not.
- Every goal in `README.md` → Goals is marked `**Maintain:**`, a state to hold, or `**Achieve:**`, a direction to pursue. Each achieve goal has a signal, a counter-signal and a one-line reason under it. A change that breaks a maintain goal is redesigned or dropped, whatever it scores: `rules/todo-items.md` says so, and larv-review's goal alignment step no longer merges such a PR. `rules/goals-and-audience.md` states the form for every project's README. Expect larv-review to stop a PR on a maintain goal where it asked you before.
- Reshape every project's `todo.md` to the new shape below: until it is reshaped, that is the project's only work, as it is while README.md lacks Goals and Audience, and `rank_todo.py` says so. First move every machine to this release: an older release rejects the new formula, so it fails on every reshaped `todo.md`. Then mark the README's goals `**Maintain:**` or `**Achieve:**`, score each item's L, E and I, and set a bar on the new scale below the score of every item to keep, since the old bar would drop most items. Until then, an old-shape `todo.md` still ranks by its own formula and weights.