From ef12b17d8bdbd44ec716aad98fc4fdc9a7a0d2fb Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 23 Oct 2026 04:29:37 +0200 Subject: [PATCH] =?UTF-8?q?Answer=20prose=20round=201:=200=20=F0=9F=94=B4,?= =?UTF-8?q?=200=20=F0=9F=9F=A1;=20tighten=20the=20changelog,=20decision=20?= =?UTF-8?q?and=20item=20220=20wording?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 +- bin/round_titles.py | 2 +- docs/decisions.md | 2 +- todo.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 968331e1..5ab9609a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Unreleased -- rule-hook now blocks a larv-review round commit titled past round 3, `Answer stability round 4: …`, unless a `round-cap` override quotes the human's yes, so a program holds the three-round cap. +- 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. - `loop-claude --help` now describes routing in two short paragraphs for the person running the loop. The rules it used to repeat are now stated once, in the code that enforces them. - loop-claude now archives the route on each `Worker:` line as a JSON record, such as `{"model": "claude-opus-5-5", "effort": "high", "item": 3, "likelihood": 4, "escape_and_impact": 5, "escalated_at": 12}`, and reads it back field by field. The line used to be a sentence, such as `claude-opus-5-5 at high effort, routed by item 3's L of 4 and E + I of 5`, which loop-claude parsed back word for word: rewording the sentence in the code would have made every archived line unreadable, and a rerun would have routed the open chunk afresh. A rerun and the routing figures still read the sentences archived since loop-claude routed on L. A rerun that finds a `Worker:` line it can't read now says so on stderr. The judge's reply now names the levels the worker took in `highest_likelihood_taken_in` and `highest_escape_and_impact_taken_in`, in place of `bundled` and `bundled_escape_and_impact`. diff --git a/bin/round_titles.py b/bin/round_titles.py index 14a3c006..a640a6dd 100644 --- a/bin/round_titles.py +++ b/bin/round_titles.py @@ -3,7 +3,7 @@ import re from review_passes import PASSES -# The most rounds a pass takes before the run asks the human, per `docs/decisions.md` → `review: a pass gets at most three rounds per chunk; …`. rule-hook's `round-cap` refuses a round title past it, and `larv-review round-count` marks a pass at it. +# The most rounds a pass takes before the run asks the human, per `docs/decisions.md` → `review: a pass gets at most three rounds per chunk; …`. rule-hook's `round-cap` refuses a round title past it, and `larv-review round-count` marks a pass at or past it. CAP = 3 ROUND = re.compile(r"^Answer (.+?) round ([0-9]+):", re.IGNORECASE) # What follows a round title's colon: the round's 🔴 and 🟡 counts, then `;` and its summary, if any. diff --git a/docs/decisions.md b/docs/decisions.md index 7e607764..a8bfcbc0 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -60,7 +60,7 @@ 2026-10-15, lilleman through todo item 144: a rerun one rung up belongs to the round it reruns, so it counts toward no cap: `review: a reviewer or comprehension seat that rules the work below standard`. -2026-10-23, lilleman through todo item 214, implemented by claude: rule-hook's `round-cap` refuses a round commit titled past round 3, so a program holds the cap; the override reason quotes the human's yes. It reads the title's number, so a fourth commit titled round 3 passes it, and `larv-review round-count` still marks that pass past the cap; `todo.md` item 220 closes the gap. +2026-10-23, lilleman through todo item 214, implemented by claude: rule-hook's `round-cap` refuses a round commit titled past round 3 unless its override reason quotes the human's yes. It reads only the title's number, so a fourth commit titled round 3 passes it, while `larv-review round-count` marks that pass past the cap; `todo.md` item 220 closes the gap. ## review: a reviewer or comprehension seat that rules the work below standard may ask to rerun once, one rung up, in the same round; the ruling that stands is an escalation trigger for the worker, never for the judge diff --git a/todo.md b/todo.md index b5d76958..9d3cc4de 100644 --- a/todo.md +++ b/todo.md @@ -296,7 +296,7 @@ Before PR #310, reports reached the worker as the Agent call's result, a median ### 220. Have rule-hook also count a pass's earlier round commits on the branch, so a fourth commit titled round 3 is refused too. -Found by the principles pass of PR #360 (item 214). rule-hook's `round-cap` reads only the number in the title being committed (`bin/round_titles.py` `past_cap`), while `larv-review round-count` (`round_counts`) also counts repeated numbers, so a fourth commit titled `Answer stability round 3: …` passes the hook. Have `command_breaches`' caller in `bin/rule_hook/main.py` read the titles of `..HEAD` in each round commit's checkout, with the hook's guarded git (`bin/rule_hook/git.py`), and refuse the commit when `round_counts(titles)` already holds 3 for its pass. The hook must not fetch from origin, as `git_repo.default_branch` does, and a `git commit --amend` must not count the commit it replaces. Hard part: the hook runs on every commit, so a slow or failing lookup must not block it. The change touches `bin/round_titles.py:4` `CAP`, which the comprehension seats found hard; make it easier to read. +Found by the principles pass of PR #360 (item 214). rule-hook's `round-cap` reads only the number in the title being committed (`bin/round_titles.py` `past_cap`), while `larv-review round-count` (`round_counts`) also counts repeated numbers, so a fourth commit titled `Answer stability round 3: …` passes the hook. Have `bash_breaches` in `bin/rule_hook/main.py` read the titles of `..HEAD` in each round commit's checkout, with the hook's guarded git (`bin/rule_hook/git.py`), and refuse the commit when `round_counts(titles)` already holds 3 for its pass. The hook must not fetch from origin, as `git_repo.default_branch` does; it already has a lookup that needs no fetch, `local_default_branch` in `bin/rule_hook/override_log.py`. A `git commit --amend` must not count the commit it replaces. Hard part: the hook runs on every commit, so a slow or failing lookup must not block the commit. The change touches `bin/round_titles.py` `CAP`, which the comprehension seats found hard; make it easier to read. ### 149. Fill each release by priority up to a capacity it states, in place of the bar, and move what does not fit to a later release.