Answer product-owner round 1: 0 🔴, 1 🟡 (0 misread); say which round commits count and that a recent chunk has had less time to gather fixes
This commit is contained in:
+1
-1
@@ -2,7 +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.
|
||||
- `score-outcomes` now counts each finished chunk's later fixes: the later chunks on the default branch that fixed code it shipped, each a defect that review let through. A later chunk counts where a change of it rewrites or removes lines that `git blame` traces to the earlier chunk: its whole change where it ships a `todo.md` item marked `defect` or `security`, or one of its round commits whose title counts both a 🔴 and a finding a reviewer marked `[misread]`. 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 mean per rung, over the chunks whose later fixes are known, in a new column of the routed-chunks table. To find them, 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.
|
||||
|
||||
@@ -28,10 +28,11 @@ holds R and S, and C too where its table also had A, G and Goals. The chunk meas
|
||||
it where a change of the later chunk removes or rewrites lines, outside todo.md and the records,
|
||||
that `git blame` traces to a commit this chunk brought to the default branch. The change is the
|
||||
later chunk's whole change where it ships a todo.md item whose Exempt cell is `defect` or
|
||||
`security`, or one of its round commits whose title counts a 🔴 and a misread finding, since a
|
||||
title counts misread 🔴 and 🟡 findings together. A fixing chunk that also ships other items
|
||||
counts all of its change, so the count can run high; a fix that ships no such item, and answers
|
||||
no such round, goes uncounted.
|
||||
`security`, or one of its round commits that may answer a misread 🔴. A title counts misread 🔴
|
||||
and 🟡 findings together, so this takes each round commit whose title counts both a 🔴 and a
|
||||
misread finding. A fixing chunk that also ships other items counts all of its change, so the
|
||||
count can run high; a fix that ships no such item, and answers no such round, goes uncounted. A
|
||||
recent chunk has had less time to gather any.
|
||||
|
||||
A chunk is marked `by rebase` where a commit in it has a committer time apart from its author time,
|
||||
since a rebase replays a pull request's commits at once, and `never replayed` where none does, since
|
||||
@@ -129,7 +130,7 @@ def report_text(results: list[Result], anchored: Anchors | Failure, given: dict[
|
||||
sections.append([f"Anchors in {ANCHORS_PATH}, each level's shipped items:", "", *anchor_lines(anchored, results)])
|
||||
sections.append(["Median outcome at each guessed score, among chunks that shipped one item, never-replayed ones left out:", "", *report(results)])
|
||||
sections.append(["🔴 and 🟡 findings, with how many a reviewer marked `[misread]`, per finished chunk whose round titles count them, newest first:", "", *misreads(results)])
|
||||
sections.append(["Later fixes, the later chunks that fixed code each finished chunk shipped, newest first:", "", *fixed_later(results)])
|
||||
sections.append(["Later fixes: the chunks that fixed code each finished chunk shipped, newest first:", "", *fixed_later(results)])
|
||||
if any(result.landed != "merge" for result in results):
|
||||
sections.append(UNMERGED)
|
||||
return "\n\n".join("\n".join(section) for section in sections)
|
||||
|
||||
@@ -181,7 +181,7 @@ Median outcome at each guessed score, among chunks that shipped one item, never-
|
||||
|
||||
- None: no chunk's round titles count them.
|
||||
|
||||
Later fixes, the later chunks that fixed code each finished chunk shipped, newest first:
|
||||
Later fixes: the chunks that fixed code each finished chunk shipped, newest first:
|
||||
|
||||
- None: no later chunk fixed code a finished chunk shipped.""")
|
||||
|
||||
@@ -194,7 +194,7 @@ Later fixes, the later chunks that fixed code each finished chunk shipped, newes
|
||||
|
||||
def test_lists_each_chunks_later_fixes_newest_first_once_per_chunk_then_counts_the_others(self):
|
||||
found = [result(1, 5, 3, None, merge="bbbbbbb", merged="2026-10-12T10:00:00Z", shipped_with=(2,), fixed_by=("ddddddd",)), result(2, 5, 3, None, merge="bbbbbbb", merged="2026-10-12T10:00:00Z", shipped_with=(1,), fixed_by=("ddddddd",)), result(3, 5, 3, None, merge="ccccccc", merged="2026-10-14T10:00:00Z", fixed_by=("eeeeeee", "ddddddd")), result(4, 5, 3, None), result(5, 5, 3, None, merge="fffffff")]
|
||||
self.assertTrue(report_text(found, [], None).endswith("""Later fixes, the later chunks that fixed code each finished chunk shipped, newest first:
|
||||
self.assertTrue(report_text(found, [], None).endswith("""Later fixes: the chunks that fixed code each finished chunk shipped, newest first:
|
||||
|
||||
- 2026-10-14T10:00:00Z in ccccccc: 2 later fixes, by eeeeeee and ddddddd
|
||||
- 2026-10-12T10:00:00Z in bbbbbbb: 1 later fix, by ddddddd
|
||||
|
||||
Reference in New Issue
Block a user