Count each finished chunk's later fixes in score-outcomes and the routing figures

This commit is contained in:
2026-10-28 19:27:09 +01:00
parent f2149adc46
commit 1a81b55925
15 changed files with 630 additions and 101 deletions
+1
View File
@@ -2,6 +2,7 @@
## Unreleased
- `score-outcomes` now counts each finished chunk's later fixes: the later chunks on the default branch that fixed code it shipped, the defects review let through. A later chunk counts where it ships a `todo.md` item marked `defect` or `security`, or answers a 🔴 a reviewer marked `[misread]`, and its change rewrites or removes lines that `git blame` traces to the earlier chunk. Each finished item shows the count beside its guessed scores, and a new list, after the misread findings, names the chunks that fixed each one, newest first. `routing-figures.md` shows the median per rung in a new column of the routed-chunks table. To find it, loop-claude now reads each archived project's checkout, and the figures name each project whose default branch it could not read.
- `loop-claude` now opens every message it prints with the machine's local time, as in `2026-10-28 11:46:01`, so you can see when each happened, such as how long a question has waited. A message of several lines, such as a question, carries the time on its first line only. The `retrying at …` time of a usage-limit wait now also shows seconds, and no longer names the zone.
- larv-review now gives each review pass at most two rounds per chunk, where it gave three and then asked for more, and no longer asks: the fixes answering a pass's second round merge once the gate passes. rule-hook's new `round-cap` rule refuses a round commit that would take a pass past round 2, such as `Answer stability round 3: …`, and takes no override. It counts the pass's earlier round commits on the branch, so a third commit titled round 2 is refused too. `larv-review round-count` marks a pass at two rounds as at the cap.
- rule-hook has a new rule, `repeat-read`, and now runs before each Read call too. It blocks a Read, or a Bash `cat`, `head` or `sed -n '<A>,<B>p'` of one file, when every line it asks for is already in the agent's context, and the block names those lines. The rule takes no override.