From b78885e22ffa9c501bb349bc1d79aab885f7a7f0 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 30 Sep 2026 15:37:58 +0200 Subject: [PATCH 1/3] Give every ask in larv-review a no-human branch --- AGENTS.md | 1 + docs/decisions.md | 4 ++++ skills/larv-review/SKILL.md | 10 ++++++---- todo.md | 1 - 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 460db883..805f42e6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -28,3 +28,4 @@ Decisions live in `docs/decisions.md`: - loop-claude: a `claude` that cannot start is a failed worker run, retried - bin/: mypy checks `loop_claude`'s types in the tests - rebuild: main's larv-review reviews a chunk into `rebuild` +- review: an ask no user answers leaves the PR unmerged diff --git a/docs/decisions.md b/docs/decisions.md index a3ce69b1..867002c9 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -95,3 +95,7 @@ ## rebuild: main's larv-review reviews a chunk into `rebuild` 2026-09-29, lilleman. Serves goal 4. The rewritten larv-review has not yet been benched against main's, so it reviews nothing until the plan's bench shows it does not regress. Valid until the rebuild merges. + +## review: an ask no user answers leaves the PR unmerged + +2026-09-30, claude, for the rebuild. Serves goal 4: the round cap, a ❓ or a goal change asks because the call is the human's, and an unmerged PR is what brings it to them; running on or merging would make the call for them. A ❓ and a prose fix changing a goal or a decision are filed instead, since neither holds a merge. Valid while a human answers the asks. diff --git a/skills/larv-review/SKILL.md b/skills/larv-review/SKILL.md index a0b24fa7..d6771b92 100644 --- a/skills/larv-review/SKILL.md +++ b/skills/larv-review/SKILL.md @@ -11,6 +11,8 @@ You orchestrate, fix, and ship; reviewers only report. Run every reviewer synchr Words: `~/.claude/CLAUDE.md` → "Vocabulary". Findings, for every reviewer: ~/.claude/skills/larv-review/review-findings.md. +**An ask** holds only what it asks about; the rest runs on while it waits. No user reachable → finish the rest, then leave the PR unmerged with the question and your recommendation in the summary, unless the ask's rule names another branch. + ## 1. Preconditions - Not a git repo → say so and stop. @@ -37,7 +39,7 @@ A comment is prose, not code. Passes run in this order: line-level polish on cod **Record, then ask**, for the architecture pass and the full scan: where, before the chunk began, the repo held the decision this change executes — a decision-log entry, or a planning item crediting the pass — the pass is done: skip it and cite the record. A change that *departs* from the record is unreviewed however thorough the record is. Fired and not skipped → ask the user with the evidence and your recommendation; no user reachable → run it. -**Round cap.** A round is one launch of a pass's reviewer, whatever launched it, a rerun after the architect's Stage 0 questions — the goals, audience, scale or domain language it found unrecorded — included. The architecture pass's round is the architect and then the scoring run, so a floor fix reruns both as one round; the external auto-reviewer (§4) is a pass of its own, each review it posts a round. From round 2, prompt an agent under `~/.claude/agents/` with the previous round's findings verbatim and what changed since. A pass is done on no 🔴 and no 🟡, until a re-entry reruns it; the 🟢 and ❓ left are addressed in the round that finished it — fixed, answered, declined or filed in `todo.md`. A pass takes at most three rounds per chunk; instead of a fourth, list what is open and ask the human — for the auto-reviewer, before any push that would summon a fourth. +**Round cap.** A round is one launch of a pass's reviewer, whatever launched it, a rerun after the architect's Stage 0 questions — the goals, audience, scale or domain language it found unrecorded — included. The architecture pass's round is the architect and then the scoring run, so a floor fix reruns both as one round; the external auto-reviewer (§4) is a pass of its own, each review it posts a round. From round 2, prompt an agent under `~/.claude/agents/` with the previous round's findings verbatim and what changed since. A pass is done on no 🔴 and no 🟡, until a re-entry reruns it; the 🟢 and ❓ left are addressed in the round that finished it — fixed, answered, declined or filed in `todo.md`; a ❓ only the user can answer is asked, and with no user reachable filed. A pass takes at most three rounds per chunk; instead of a fourth, list what is open and ask the human — for the auto-reviewer, before any push that would summon a fourth. A yes grants one more round. **Re-entry.** A fix is a change no pass has seen, a 🟢's or ❓'s included. A round's fixes re-enter together: run, in table order, each pass whose trigger they fire and the pass whose 🔴 or 🟡 they answer, a pass at its cap getting the cap's ask; then §4. @@ -45,10 +47,10 @@ A comment is prose, not code. Passes run in this order: line-level polish on cod 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. -- **Stage 0 questions returned**: relay them to the user, record the answers in the README, re-run once. No user → skip the pass, carry the questions into the summary. +- **Stage 0 questions returned**: relay them to the user, record the answers in the README, re-run once. No user reachable → skip the pass, carry the questions into the summary. - **BLOCK** → confirm with the user first when the restructure materially reshapes their PR. -Then the comprehension floor: the `comprehension-panel` skill's scoring run (`~/.claude/skills/comprehension-panel/SKILL.md` → "The scoring run") over the whole project, not the diff. With any dimension or the overall below 7.0 the chunk does not merge: fix the places the seats name under the capping dimension, or take the user's explicit decision to ship under the floor, record it in `docs/decisions.md` with the scores, and file the places in `todo.md`. At the floor or above, the scores are still a ratchet — a later chunk may not lower any — and the four dimension scores and the overall go in the summary so the next run can see the direction of travel. +Then the comprehension floor: the `comprehension-panel` skill's scoring run (`~/.claude/skills/comprehension-panel/SKILL.md` → "The scoring run") over the whole project, not the diff. With any dimension or the overall below 7.0 the chunk does not merge: fix the places the seats name under the capping dimension, or take the user's explicit decision to ship under the floor, record it in `docs/decisions.md` with the scores, and file the places in `todo.md`. No user reachable → fix. At the floor or above, the scores are still a ratchet — a later chunk may not lower any — and the four dimension scores and the overall go in the summary so the next run can see the direction of travel. ### Security @@ -66,7 +68,7 @@ Launch the reviewer with the change — product-owner-reviewer also with the ext ### Prose -Launch prose-reviewer with what the diff touched and every section this review cited — a reviewer's finding, your decline or the implementer's decision quoted it — each with the code it governs, and say whether the architecture pass ran. Its fixes land in this chunk; a split or index bigger than the chunk is a `todo.md` item naming the section and what the hunt costs. +Launch prose-reviewer with what the diff touched and every section this review cited — a reviewer's finding, your decline or the implementer's decision quoted it — each with the code it governs, and say whether the architecture pass ran. Its fixes land in this chunk, except one changing a goal or a decision: that is asked, and with no user reachable filed in `todo.md` with the prose left as is; a split or index bigger than the chunk is a `todo.md` item naming the section and what the hunt costs. ## 4. Gate diff --git a/todo.md b/todo.md index 52aee838..cfb3cc68 100644 --- a/todo.md +++ b/todo.md @@ -8,7 +8,6 @@ The rebuild lifts every dimension, one chunk per item, until the last item opens The places the bench of 2026-09-30 found in rebuild's larv-review, each hit by two or more of its four runs (`~/code/claude-handoffs/claude-config_2026-09-30.md`): -- **Give every ask a no-human branch: the round cap's fourth round, a reviewer's ❓, and a prose fix that needs a goal or a decision changed.** Today only Stage 0 and "Record, then ask" have one. Say too whether the other passes run while the cap's ask waits, and what the human's yes grants. - **Say whether the comprehension floor runs when the architecture pass is skipped by record.** The floor sits inside that pass's round. - **Route a declined 🟢 without a decision-log entry, and define "answered".** Every declined nit grows `docs/decisions.md`. -- 2.52.0 From eaf5911b03d8ea14c2a76e0dd1f309a653fa1bdd Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 30 Sep 2026 15:39:37 +0200 Subject: [PATCH 2/3] Hold an unanswered Stage 0 and BLOCK, say what the cap's no does, and word the no-human branches one way --- docs/decisions.md | 4 ++-- skills/larv-review/SKILL.md | 10 +++++----- skills/larv-review/review-findings.md | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/decisions.md b/docs/decisions.md index 867002c9..07dc8aef 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -54,7 +54,7 @@ ## review: the round cap counts a pass's rounds per chunk -2026-09-28, lilleman, for the rebuild. Serves goal 4. Every round of a pass counts against one cap per chunk, and a fourth asks the human; one counter, and no fix bounces between two passes without end. Valid while one human answers the ask. +2026-09-28, lilleman, for the rebuild. Serves goal 4. Every round of a pass counts against one cap per chunk, and a fourth asks the human; one counter, and no fix bounces between two passes without end. Valid while one human answers the ask, in the session or from the unmerged PR. ## review: a 🟢's or ❓'s fix re-enters like any fix @@ -98,4 +98,4 @@ ## review: an ask no user answers leaves the PR unmerged -2026-09-30, claude, for the rebuild. Serves goal 4: the round cap, a ❓ or a goal change asks because the call is the human's, and an unmerged PR is what brings it to them; running on or merging would make the call for them. A ❓ and a prose fix changing a goal or a decision are filed instead, since neither holds a merge. Valid while a human answers the asks. +2026-09-30, claude, for the rebuild. Serves goal 4: the round cap, a BLOCK's restructure, Stage 0's questions and a goal conflict are the human's call, and an unmerged PR is what brings it to them; merging would make the call for them. Where an option reviews more — run the pass, fix under the floor, fix a finding no goal lets decline — the run takes it; a ❓ or a prose fix changing a goal or a decision is filed in `todo.md`, which reaches the human without holding the chunk. Valid while a human reads every unmerged PR an unattended run leaves. diff --git a/skills/larv-review/SKILL.md b/skills/larv-review/SKILL.md index d6771b92..e074d2cf 100644 --- a/skills/larv-review/SKILL.md +++ b/skills/larv-review/SKILL.md @@ -11,7 +11,7 @@ You orchestrate, fix, and ship; reviewers only report. Run every reviewer synchr Words: `~/.claude/CLAUDE.md` → "Vocabulary". Findings, for every reviewer: ~/.claude/skills/larv-review/review-findings.md. -**An ask** holds only what it asks about; the rest runs on while it waits. No user reachable → finish the rest, then leave the PR unmerged with the question and your recommendation in the summary, unless the ask's rule names another branch. +**An ask** holds only what it asks about; the rest runs on while it waits. No user reachable — a headless run — → finish the rest, then leave the PR unmerged with the question and your recommendation in the summary, unless the ask's rule names another branch. ## 1. Preconditions @@ -39,7 +39,7 @@ A comment is prose, not code. Passes run in this order: line-level polish on cod **Record, then ask**, for the architecture pass and the full scan: where, before the chunk began, the repo held the decision this change executes — a decision-log entry, or a planning item crediting the pass — the pass is done: skip it and cite the record. A change that *departs* from the record is unreviewed however thorough the record is. Fired and not skipped → ask the user with the evidence and your recommendation; no user reachable → run it. -**Round cap.** A round is one launch of a pass's reviewer, whatever launched it, a rerun after the architect's Stage 0 questions — the goals, audience, scale or domain language it found unrecorded — included. The architecture pass's round is the architect and then the scoring run, so a floor fix reruns both as one round; the external auto-reviewer (§4) is a pass of its own, each review it posts a round. From round 2, prompt an agent under `~/.claude/agents/` with the previous round's findings verbatim and what changed since. A pass is done on no 🔴 and no 🟡, until a re-entry reruns it; the 🟢 and ❓ left are addressed in the round that finished it — fixed, answered, declined or filed in `todo.md`; a ❓ only the user can answer is asked, and with no user reachable filed. A pass takes at most three rounds per chunk; instead of a fourth, list what is open and ask the human — for the auto-reviewer, before any push that would summon a fourth. A yes grants one more round. +**Round cap.** A round is one launch of a pass's reviewer, whatever launched it, a rerun after the architect's Stage 0 questions — the goals, audience, scale or domain language it found unrecorded — included. The architecture pass's round is the architect and then the scoring run, so a floor fix reruns both as one round; the external auto-reviewer (§4) is a pass of its own, each review it posts a round. From round 2, prompt an agent under `~/.claude/agents/` with the previous round's findings verbatim and what changed since. A pass is done on no 🔴 and no 🟡, until a re-entry reruns it; the 🟢 and ❓ left are addressed in the round that finished it — fixed, answered, declined or filed in `todo.md`; a ❓ only the user can answer is asked; no user reachable → filed. A pass takes at most three rounds per chunk; instead of a fourth, list what is open and ask the user — for the auto-reviewer, before any push that would summon a fourth, fixes waiting unpushed. A yes grants that pass one more round, and the round after it asks again; a no leaves the PR unmerged. **Re-entry.** A fix is a change no pass has seen, a 🟢's or ❓'s included. A round's fixes re-enter together: run, in table order, each pass whose trigger they fire and the pass whose 🔴 or 🟡 they answer, a pass at its cap getting the cap's ask; then §4. @@ -47,8 +47,8 @@ A comment is prose, not code. Passes run in this order: line-level polish on cod 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. -- **Stage 0 questions returned**: relay them to the user, record the answers in the README, re-run once. No user reachable → skip the pass, carry the questions into the summary. -- **BLOCK** → confirm with the user first when the restructure materially reshapes their PR. +- **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. Then the comprehension floor: the `comprehension-panel` skill's scoring run (`~/.claude/skills/comprehension-panel/SKILL.md` → "The scoring run") over the whole project, not the diff. With any dimension or the overall below 7.0 the chunk does not merge: fix the places the seats name under the capping dimension, or take the user's explicit decision to ship under the floor, record it in `docs/decisions.md` with the scores, and file the places in `todo.md`. No user reachable → fix. At the floor or above, the scores are still a ratchet — a later chunk may not lower any — and the four dimension scores and the overall go in the summary so the next run can see the direction of travel. @@ -68,7 +68,7 @@ Launch the reviewer with the change — product-owner-reviewer also with the ext ### Prose -Launch prose-reviewer with what the diff touched and every section this review cited — a reviewer's finding, your decline or the implementer's decision quoted it — each with the code it governs, and say whether the architecture pass ran. Its fixes land in this chunk, except one changing a goal or a decision: that is asked, and with no user reachable filed in `todo.md` with the prose left as is; a split or index bigger than the chunk is a `todo.md` item naming the section and what the hunt costs. +Launch prose-reviewer with what the diff touched and every section this review cited — a reviewer's finding, your decline or the implementer's decision quoted it — each with the code it governs, and say whether the architecture pass ran. Its fixes land in this chunk, except one changing a goal or a decision: that is asked; no user reachable → filed in `todo.md`, the prose left as is; a split or index bigger than the chunk is a `todo.md` item naming the section and what the hunt costs. ## 4. Gate diff --git a/skills/larv-review/review-findings.md b/skills/larv-review/review-findings.md index 39f53e92..14193af2 100644 --- a/skills/larv-review/review-findings.md +++ b/skills/larv-review/review-findings.md @@ -32,4 +32,4 @@ A review's first line, derived from the findings: ## Declining -A 🟡 or below may be declined where the reason is sound, consistent with the goals, and confidence is very high. The decline, its reason and the goal it rests on go to `docs/decisions.md`; an unrecorded one is raised again next review. A reason no goal speaks to is a gap in the goals: fix the finding, or ask per `~/.claude/CLAUDE.md` → "Working loop", "Ask, don't guess", which also says where an answer to a ❓ lands. Never a silent drop, and never a decline argued from convenience or the size of the fix. +A 🟡 or below may be declined where the reason is sound, consistent with the goals, and confidence is very high. The decline, its reason and the goal it rests on go to `docs/decisions.md`; an unrecorded one is raised again next review. A reason no goal speaks to is a gap in the goals: fix the finding, or ask per `~/.claude/CLAUDE.md` → "Working loop", "Ask, don't guess", which also says where an answer to a ❓ lands; no user reachable → fix. Never a silent drop, and never a decline argued from convenience or the size of the fix. -- 2.52.0 From d5323eb18668ebbadfec4bb1e3c4a80f1760809e Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 30 Sep 2026 15:40:09 +0200 Subject: [PATCH 3/3] Word the no-human branches' nits --- docs/decisions.md | 2 +- skills/larv-review/SKILL.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/decisions.md b/docs/decisions.md index 07dc8aef..fa8aa0ba 100644 --- a/docs/decisions.md +++ b/docs/decisions.md @@ -98,4 +98,4 @@ ## review: an ask no user answers leaves the PR unmerged -2026-09-30, claude, for the rebuild. Serves goal 4: the round cap, a BLOCK's restructure, Stage 0's questions and a goal conflict are the human's call, and an unmerged PR is what brings it to them; merging would make the call for them. Where an option reviews more — run the pass, fix under the floor, fix a finding no goal lets decline — the run takes it; a ❓ or a prose fix changing a goal or a decision is filed in `todo.md`, which reaches the human without holding the chunk. Valid while a human reads every unmerged PR an unattended run leaves. +2026-09-30, claude, for the rebuild. Serves goal 4: the round cap, a BLOCK's restructure, Stage 0's questions and a goal conflict are the human's call, and an unmerged PR is what brings it to them; merging would make the call for them. Where an option reviews more — run the pass, fix under the floor, fix a finding no goal lets the run decline — the run takes it; a ❓ or a prose fix changing a goal or a decision is filed in `todo.md`, which reaches the human without holding the chunk. Valid while a human reads every unmerged PR an unattended run leaves. diff --git a/skills/larv-review/SKILL.md b/skills/larv-review/SKILL.md index e074d2cf..139ab927 100644 --- a/skills/larv-review/SKILL.md +++ b/skills/larv-review/SKILL.md @@ -11,7 +11,7 @@ You orchestrate, fix, and ship; reviewers only report. Run every reviewer synchr Words: `~/.claude/CLAUDE.md` → "Vocabulary". Findings, for every reviewer: ~/.claude/skills/larv-review/review-findings.md. -**An ask** holds only what it asks about; the rest runs on while it waits. No user reachable — a headless run — → finish the rest, then leave the PR unmerged with the question and your recommendation in the summary, unless the ask's rule names another branch. +**An ask** holds only what it asks about; the rest runs on while it waits. No user reachable (a headless run) → finish the rest, then leave the PR unmerged with the question and your recommendation in the summary, unless the ask's rule names another branch. ## 1. Preconditions @@ -39,7 +39,7 @@ A comment is prose, not code. Passes run in this order: line-level polish on cod **Record, then ask**, for the architecture pass and the full scan: where, before the chunk began, the repo held the decision this change executes — a decision-log entry, or a planning item crediting the pass — the pass is done: skip it and cite the record. A change that *departs* from the record is unreviewed however thorough the record is. Fired and not skipped → ask the user with the evidence and your recommendation; no user reachable → run it. -**Round cap.** A round is one launch of a pass's reviewer, whatever launched it, a rerun after the architect's Stage 0 questions — the goals, audience, scale or domain language it found unrecorded — included. The architecture pass's round is the architect and then the scoring run, so a floor fix reruns both as one round; the external auto-reviewer (§4) is a pass of its own, each review it posts a round. From round 2, prompt an agent under `~/.claude/agents/` with the previous round's findings verbatim and what changed since. A pass is done on no 🔴 and no 🟡, until a re-entry reruns it; the 🟢 and ❓ left are addressed in the round that finished it — fixed, answered, declined or filed in `todo.md`; a ❓ only the user can answer is asked; no user reachable → filed. A pass takes at most three rounds per chunk; instead of a fourth, list what is open and ask the user — for the auto-reviewer, before any push that would summon a fourth, fixes waiting unpushed. A yes grants that pass one more round, and the round after it asks again; a no leaves the PR unmerged. +**Round cap.** A round is one launch of a pass's reviewer, whatever launched it, a rerun after the architect's Stage 0 questions — the goals, audience, scale or domain language it found unrecorded — included. The architecture pass's round is the architect and then the scoring run, so a floor fix reruns both as one round; the external auto-reviewer (§4) is a pass of its own, each review it posts a round. From round 2, prompt an agent under `~/.claude/agents/` with the previous round's findings verbatim and what changed since. A pass is done on no 🔴 and no 🟡, until a re-entry reruns it; the 🟢 and ❓ left are addressed in the round that finished it — fixed, answered, declined or filed in `todo.md`; a ❓ only the user can answer is asked; no user reachable → filed. A pass takes at most three rounds per chunk; instead of a fourth, list what is open and ask the user — for the auto-reviewer, before any push that would summon a fourth, fixes waiting unpushed. A yes grants that pass one more round, after which the ask repeats; a no leaves the PR unmerged. **Re-entry.** A fix is a change no pass has seen, a 🟢's or ❓'s included. A round's fixes re-enter together: run, in table order, each pass whose trigger they fire and the pass whose 🔴 or 🟡 they answer, a pass at its cap getting the cap's ask; then §4. -- 2.52.0