diff --git a/CHANGELOG.md b/CHANGELOG.md index 6580b5d5..6fd58ef2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Unreleased -- Reviewers now mark a 🔴 or 🟡 `[misread]` where it arose because the implementer misread code that had already shipped. A round's commit title now counts the marked findings, as in `Answer stability round 1: 1 🔴, 2 🟡 (1 misread); …`, and rule-hook's `round-title-counts` blocks a round title without that count. `score-outcomes` shows the count on each finished item, and ends its report with each chunk's count, newest first. Chunks titled before this change read as unknown. +- Reviewers now mark a 🔴 or 🟡 `[misread]` where it arose because the implementer misread code that had already shipped. A round's commit title now counts the marked findings, as in `Answer stability round 1: 1 🔴, 2 🟡 (1 misread); …`, and rule-hook's `round-title-counts` blocks a round title without that count. `score-outcomes` shows the count on each finished item, and lists it after the medians for each chunk whose round titles carry it, newest first. A chunk whose round titles predate this change reads as unknown. - larv-review's skill now says a commit answering the external auto-reviewer takes no `Answer round` title, and that `larv-review round-count` doesn't list the auto-reviewer. A worker who followed the skill used to get a "not a pass" warning. - rule-hook now blocks a larv-review round commit titled past round 3, such as `Answer stability round 4: …`, unless a `round-cap` override quotes the human's yes. - loop-claude's first prompt for a chunk that no plan item routed now also names the rung on which the worker launches its reviews for an item it takes in, as the prompt after a step-up or an unfinished verdict already did. diff --git a/bin/score_outcomes/main.py b/bin/score_outcomes/main.py index d681d238..ea1f3d12 100644 --- a/bin/score_outcomes/main.py +++ b/bin/score_outcomes/main.py @@ -19,12 +19,11 @@ holds R and S, and C too where its table also had A, G and Goals. The chunk meas - review rounds past each pass's first: among the branch's `Answer round :` commit titles, each pass's rounds as `larv-review round-count` counts them, less one, summed; - 🔴 and 🟡 findings: summed over those titles, each opening ` 🔴, 🟡` after the colon, - such as `Answer stability round 1: 1 🔴, 2 🟡; flag a deleted test`. Unknown where a round title - lacks the counts, or the branch has no round; -- findings from misread shipped code: of those 🔴 and 🟡 findings, the ones a reviewer marked - `[misread]`, because the implementer misread code that had already shipped, summed over the titles' - `( misread)` after the 🟡 count, such as `1 🔴, 2 🟡 (1 misread)`. Unknown where a round title - lacks the count, as every title from before it does, or the branch has no round. + such as `Answer stability round 1: 1 🔴, 2 🟡 (1 misread); flag a deleted test`. Unknown where a + round title lacks the counts, or the branch has no round; +- misread findings: how many of those 🔴 and 🟡 findings a reviewer marked `[misread]`, the + `( misread)` after the 🟡 count, summed over the titles. Unknown where a round title lacks + that count, as every title written before the count does, or the branch has no round. 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 @@ -52,8 +51,8 @@ that shipped one item, since a chunk measures all its items at once. It leaves o replayed, which may hold only part of a pull request. It reports a score only once 10 of the chunks it counts hold it and its outcomes. -Last, each finished chunk's findings from misread shipped code among its 🔴 and 🟡 findings, newest -first, for every chunk whose round titles count them: code health's counter-signal in +Then, newest first, each finished chunk's 🔴 and 🟡 findings with its misread findings, for every +chunk whose round titles count them: code health's counter-signal in ~/.claude/CLAUDE.md → "Shared goal". Exit 1, saying why, on bad arguments, when git cannot start, finds no checkout or reads a shallow @@ -108,7 +107,7 @@ def main(argv: list[str]) -> int: def report_text(results: list[Result], anchored: Anchors | Failure, given: dict[str, int] | None) -> str: - """The report: the finished items nearest the given scores, where any are given, then the anchors, then the medians.""" + """The report: the finished items nearest the given scores, where any are given, then the anchors, then the medians, then each chunk's misread findings.""" sections = [] if given is not None: r = risk(given["L"], given["E"], given["I"])