From a22608a189d7c740a60de8ebb0afd674f16b62f4 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 15 Oct 2026 19:45:09 +0200 Subject: [PATCH] =?UTF-8?q?Answer=20stability=20round=201:=201=20?= =?UTF-8?q?=F0=9F=94=B4,=204=20=F0=9F=9F=A1;=20hand=20the=20relaunch=20the?= =?UTF-8?q?=20report=20that=20asked,=20count=20only=20a=20backed=20worse?= =?UTF-8?q?=20vote,=20test=20the=20routed=20and=20top-rung=20prompts;=20wi?= =?UTF-8?q?th=20product-owner's=20fixes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 +- bin/loop_claude/test_loop_claude.py | 3 +++ docs/decisions.md | 4 ++-- skills/comprehension-panel/seat-prompts.md | 2 +- skills/larv-review/SKILL.md | 8 ++++---- skills/larv-review/review-findings.md | 2 +- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b410cee..5eae0aee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Unreleased -- A reviewer that rules a chunk's work below standard, with systems-architect's BLOCK or a finding against larv-review's `standards/quality.md`, may ask to rerun one rung up, as may a comprehension seat that votes worse in a paired ruling. The worker reruns it once, on the rung `loop-claude`'s prompt names, and the rerun's report replaces the one that asked in the same round, so it adds no round. The ruling that stands is a fourth escalation trigger in `CLAUDE.md`. Expect a chunk whose work falls below standard to spend more on its review and its fix. +- A reviewer that rules a chunk's work below standard, with systems-architect's BLOCK or a finding against larv-review's `standards/quality.md`, may ask to rerun one rung up, as may a comprehension seat whose worse vote in a paired ruling counts. The worker relaunches it once, on the rung `loop-claude`'s prompt names, with the report that asked. The relaunch confirms or dismisses each of that report's findings and adds its own, and its report stands in place of the one that asked, in the same round, so it adds no round. The ruling that stands is a fourth escalation trigger in `CLAUDE.md`. Expect a chunk whose work falls below standard to spend more on its review and its fix. - A `loop-claude` worker hands a task that proves too hard for its rung to a subagent one rung up, edits included, when a trigger fires: a re-score of the item on the project's rung or above picks a higher rung, the same failing test or finding survives two fix attempts, or a review pass reports a ๐Ÿ”ด in round 2 or later. Each further trigger climbs one more rung, to at most two rungs above the rung the chunk's `todo.md` item picks, unless you agree. `CLAUDE.md` states the rule, and `loop-claude`'s prompt names the rungs a trigger opens. The worker opens the subagent's prompt with `Escalation trigger :`, and `routing-figures.md` counts the escalations by trigger. Expect a chunk that gets stuck to spend more on the stuck part, and fewer unfinished verdicts. - A session or subagent below the project's rung, the cheapest rung of the project's model, no longer scores or reshapes `todo.md`: it drafts each new item and each change to a filed item, and before its next commit one subagent on the project's rung or above applies and scores the drafts and sets their release. It may still remove finished items. `rules/todo-items.md` states the rule. `CLAUDE.md` has a session launch a subagent that files or scores items on the rung the new `bin/subagent-rung --plan ` prints, never below the project's rung, and `loop-claude`'s prompt to a worker below that rung names the command. Expect one extra subagent in a chunk that files items while its worker runs below the project's rung. - `loop-claude` runs the judge of an Opus 5.5 project on the rung the chunk's `todo.md` item picks, never below Opus 5.5 at medium effort, the project's rung. Before, the judge ran at the effort `settings.json` sets, xhigh. A replay of 39 archived verdicts found every cheaper rung missing verdicts. The judge keeps its rung when the worker steps up or takes in another item, and runs on the project's rung when no item routed the chunk. A project on another model keeps its judge at its settings' effort. Each verdict in the archive now names the judge's rung on a `Judge:` line. The new `bin/judge-replay ` replays the judge on archived verdicts and prints the cheapest rung that returns them. Expect the judge to cost less on items of R + C 12 or less, and more on items of R + C 15 or more. diff --git a/bin/loop_claude/test_loop_claude.py b/bin/loop_claude/test_loop_claude.py index 438e0979..2a260730 100644 --- a/bin/loop_claude/test_loop_claude.py +++ b/bin/loop_claude/test_loop_claude.py @@ -679,6 +679,9 @@ class WorkerArgs(unittest.TestCase): self.assertTrue(prompts.resumed("", Route(Rung("claude-fable-5-1", "max"), 3, 20), opus).endswith(" A comprehension seat that asks for a rerun one rung up reruns with the Agent tool set to `model opus, effort high`.")) self.assertNotIn("rerun", prompts.resumed("", Route(Rung("m")), None)) self.assertNotIn("rerun", prompts.fresh("Do it.", "## Goals", Route(Rung("m", "high"), 3, 11), None)) + self.assertIn(f"{both}\n\nThe chunk's", prompts.fresh("Do it.", "## Goals", Route(opus, 3, 9), opus)) + fable = Rung("claude-fable-5-1", "max") + self.assertNotIn("rerun", prompts.resumed("", Route(fable), fable)) def test_opens_a_fresh_session_by_name_and_resumes_an_open_one(self): opened = session.session_named("A proj loop-claude", pathlib.Path("/h/.claude/projects")) diff --git a/docs/decisions.md b/docs/decisions.md index 9f4438e4..50419c4d 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -64,9 +64,9 @@ 2026-10-15, lilleman asked for it through todo item 144, implemented by claude. Serves goal 1.1: a cheap reviewer that finds the work below standard can have a more capable one check that ruling, and work below standard gets a more capable rung to fix it. -The work is below standard where systems-architect returns BLOCK, a reviewer reports a finding against larv-review's `standards/quality.md`, or a comprehension seat votes worse in a paired ruling. That reviewer or seat may ask, and the worker then reruns it on the rung loop-claude's prompt names, one above the rung it ran on. `bin/loop_claude/cycle/prompts.py`'s `reruns` names it: the seats run on the project's rung, and the other reviewers too while the worker runs below it. Off the ladder, or on its top rung, the prompt names none and the report stands. +The work is below standard where systems-architect returns BLOCK, a reviewer reports a finding against larv-review's `standards/quality.md`, or a comprehension seat's worse vote in a paired ruling counts. That reviewer or seat may ask, and the worker then relaunches it on the rung loop-claude's prompt names, one above the rung it ran on. `bin/loop_claude/cycle/prompts.py`'s `reruns` names it: the seats run on the project's rung, and the other reviewers too while the worker runs below it. Off the ladder, or on its top rung, the prompt names none and the report stands. -The rerun's report replaces the one that asked, in the same round, so it adds no round, and a rerun cannot ask again. So the round cap still bounds a pass, and one round launches a reviewer at most twice. The ruling that stands is the fourth escalation trigger in `CLAUDE.md`. lilleman ruled that no ruling raises the judge's rung, which `routing: on a model judge-replay covered` sets. +The relaunch gets the report that asked, confirms or dismisses each of its findings with a reason, and adds its own, so no finding goes unanswered. Its report stands in place of the one that asked, in the same round, so it adds no round, and a relaunch cannot ask again. So the round cap still bounds a pass, and one round launches a reviewer at most twice. The ruling that stands is the fourth escalation trigger in `CLAUDE.md`. lilleman ruled that no ruling raises the judge's rung, which `routing: on a model judge-replay covered` sets. Valid while the ladder orders its rungs by competence. diff --git a/skills/comprehension-panel/seat-prompts.md b/skills/comprehension-panel/seat-prompts.md index 640b6217..6ab2ca0b 100644 --- a/skills/comprehension-panel/seat-prompts.md +++ b/skills/comprehension-panel/seat-prompts.md @@ -91,5 +91,5 @@ Same means a reader of either version would find it as easy to understand and ch Report, in this shape: 1. Your rulings, each better, same or worse, in this shape: Navigation , Locality , Shape , Self-sufficiency , Overall 2. The places that decided them, most decisive first. Each opens with the names from your rulings line that it moves, joined by ", " and followed by ": ", such as `Locality, Shape: `. Then `path:line` and the unit's name, each in backticks, in the version the place is in, and one or two sentences on what reads easier or harder there than in the other version. A dimension's ruling that no place opens with counts as same, and the overall ruling does unless you name a place. -3. Where you ruled anything worse and want a more capable reader to check that ruling, the line `Rerun one rung up`. +3. Where a place you name backs a worse ruling and you want a more capable reader to check that ruling, the line `Rerun one rung up`. ``` diff --git a/skills/larv-review/SKILL.md b/skills/larv-review/SKILL.md index 7d4f8b1c..947c1bbb 100644 --- a/skills/larv-review/SKILL.md +++ b/skills/larv-review/SKILL.md @@ -62,7 +62,7 @@ Give a reviewer without Bash the branch diff and `git ls-files`'s output in its **Round cap.** -- **Round.** A round is one review by a pass's reviewer: the first, each re-entry, and the rerun after the architect returns Stage 0 questions ("Architecture" below). +- **Round.** A round is one review by a pass's reviewer: the first, each re-entry, and the rerun after the architect returns Stage 0 questions ("Architecture" below). A relaunch one rung up ("Rung up" below) stays in its round. - **Architecture round.** The architecture pass's first round is the architect (unless skipped) and the principles audit. A later round relaunches each reviewer whose ๐Ÿ”ด or ๐ŸŸก the previous round's fixes answer. Where those fixes carry an architectural decision, the architect and the principles audit run again. - **Auto-reviewer.** The external auto-reviewer (ยง4) is a pass of its own, each review it posts a round. - **Count.** Close each round with one commit that holds the round's fixes. Title it `Answer round : ๐Ÿ”ด, ๐ŸŸก; โ€ฆ`: `` is the pass's name in lower case, such as `full scan`, and `` and `` are the ๐Ÿ”ด and ๐ŸŸก findings all the round's reviewers reported. Example: `Answer stability round 1: 1 ๐Ÿ”ด, 2 ๐ŸŸก; flag a deleted test`. A round that changed nothing gets an empty commit (`git commit --allow-empty`). Push the commits when ยง4 runs next, where there is a remote. `~/.claude/bin/larv-review round-count` prints each pass's count and marks a pass at the cap. The auto-reviewer's count is the number of its reviews on the PR, less its reviews of a `Record the comprehension check:` commit. @@ -77,10 +77,10 @@ Give a reviewer without Bash the branch diff and `git ls-files`'s output in its - **Rerun.** A round's fixes for ๐Ÿ”ด and ๐ŸŸก findings outside the prose pass re-enter together. Run, in table order, each pass whose ๐Ÿ”ด or ๐ŸŸก they answer, and each pass whose trigger has an "a fix, only where โ€ฆ" clause they meet, a done pass included. A pass at its cap gets "Round cap" โ†’ "Cap"'s ask instead. Then ยง4. - **No rerun.** A fix for a ๐ŸŸข, a โ“ or any prose finding reruns no pass. -**Rung up.** A reviewer rules the work below standard when its report holds systems-architect's BLOCK or a finding against `standards/quality.md`. A comprehension seat does when it votes worse in a paired ruling. +**Rung up.** A reviewer rules the work below standard when its report holds systems-architect's BLOCK or a finding against `standards/quality.md`. A comprehension seat does when a worse vote of its counts, as `record-ruling` counts votes. - **Ask.** Such a reviewer or seat may end its report asking for a rerun one rung up. Rerun it only on the rung loop-claude's prompt names for it; where the prompt names none, the report stands. -- **Rerun.** Relaunch it with the same prompt on that rung. Its report replaces the one that asked, in the same round. A seat's rerun replaces its line in the votes file before `record-ruling` runs. A rerun cannot ask again. +- **Relaunch.** Relaunch it on that rung with the same prompt and the report that asked. It confirms or dismisses each finding of that report, with a reason, and adds its own. Its report stands in place of the one that asked, in the same round. A seat's relaunch replaces its line in the votes file before `record-ruling` runs. A relaunch cannot ask again. - **Escalate.** A below-standard ruling in the report that stands is escalation trigger 4 in `~/.claude/CLAUDE.md` โ†’ "Working with the codebase". **Findings.** A reviewer rates each finding ๐Ÿ”ด must fix, ๐ŸŸก should fix, ๐ŸŸข nit, โ“ question, or ๐Ÿ”€ escalation naming the reviewer whose concern it is. @@ -98,7 +98,7 @@ Give a reviewer without Bash the branch diff and `git ls-files`'s output in its Launch systems-architect: review the system as a whole entered through this change; the decision log carries previously accepted decisions to honor, the README the goals and Stage 0 artifacts. Give it the places per "Comprehension check" โ†’ "Places". Each of its other findings names a concrete later change the PR makes harder, such as "a second forge needs edits in four modules"; drop one that names none. - **Stage 0 questions returned**: relay them to the user, record the answers in the README, re-run once. -- **BLOCK** โ†’ confirm with the user first when the restructure materially reshapes their PR; until confirmed, no later pass runs. +- **BLOCK**, in the report that stands after any relaunch per "Rung up" โ†’ confirm with the user first when the restructure materially reshapes their PR; until confirmed, no later pass runs. Then the principles audit: one principles-auditor for the README's goals, and one per file in `~/.claude/principles/` whose `Applies to` line the project meets, judged from the README, `git ls-files` and the branch diff. A file without the line applies to every project. Unsure โ†’ launch it. diff --git a/skills/larv-review/review-findings.md b/skills/larv-review/review-findings.md index d743d30f..32b99756 100644 --- a/skills/larv-review/review-findings.md +++ b/skills/larv-review/review-findings.md @@ -12,7 +12,7 @@ A reviewer reads and reports; it edits nothing. Read `docs/decisions.md` and `to - โ“ **question** for the author: a finding you could not confirm goes here, not above. - ๐Ÿ”€ **escalation** โ€” names the reviewer whose concern it is (`product-owner-reviewer`, `systems-architect` or `/security-review`) and why, in one line. -A finding against a technical principle names it and the file under `~/.claude/principles/` it lives in. +A finding against a technical principle names it and the file under `~/.claude/principles/` it lives in. A finding against `~/.claude/skills/larv-review/standards/quality.md` names that file and the rule it breaks. ## Verdict