Re-enter a nit's fix only where it changes behaviour, and give a capped pass the cap's ask #148

Merged
lilleman merged 4 commits from nit-reentry into rebuild 2026-09-30 11:38:20 +02:00
4 changed files with 8 additions and 4 deletions
+1
View File
@@ -18,6 +18,7 @@ Decisions live in `docs/decisions.md`:
- loop-claude: each project's model lives in loop-claude's own file
- rebuild: loop-claude and the review process are rebuilt on `rebuild` and merge to main whole
- review: the round cap counts a pass's rounds per chunk
- review: a fix answering only a 🟢 or ❓ re-enters only where it changes behaviour
- loop-claude: the judge is retried alone, on its own counter
- loop-claude: the judge loads `CLAUDE.md`
- loop-claude: the archive keeps the raw transcript, and a failed archive stops the loop
+4
View File
@@ -56,6 +56,10 @@
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.
## review: a fix answering only a 🟢 or ❓ re-enters only where it changes behaviour
2026-09-30, larv-review. Serves goal 4. In the 2026-09-30 bench, re-entering every nit fix took four of nine rounds in one run, each finding only a smaller nit, and drove two passes to the round cap, whose fourth round asks the human. Valid while a nit fix changing no behaviour needs no reviewer to catch a defect.
## loop-claude: the judge is retried alone, on its own counter
2026-09-28, lilleman, for the rebuild. Serves goal 4. A failed verdict reruns the judge on the same transcript; rerunning the worker would spend a worker run on a judge's fault. Valid while a judge run costs far less than a worker run.
+2 -2
View File
@@ -37,9 +37,9 @@ 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 the repo holds 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 with no record behind it → 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 prose pass's round is its fresh-context agent; 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 🟡; the 🟢 and ❓ left are addressed in that round — fixed, answered, declined or filed in `todo.md` — and take no round of their own. 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 prose pass's round is its fresh-context agent; 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 🟡; the 🟢 and ❓ left are addressed in that round — 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.
**Re-entry.** A fix is a change no pass has seen. A round's fixes re-enter together: run, in table order, each pass whose trigger they fire and the pass whose 🔴 or 🟡 they answer; then §4.
**Re-entry.** A fix is a change no pass has seen, except one answering only a 🟢 or ❓ that changes no behaviour: that goes to §4. 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.
### Architecture
+1 -2
View File
@@ -8,10 +8,9 @@ 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`):
- **Say whether a 🟢 or ❓ fixed in a round re-enters, and what a fix does to a pass already at its round cap.** "take no round of their own" and "A round's fixes re-enter together" disagree; read as re-entry, nit fixes alone took four of nine launches in one run and drove two passes to the cap.
- **Define the prose pass's fresh-context agent: its prompt, the bar it reads, and whether round 2 gets the earlier findings.** No agent file exists, "nothing else" contradicts the round-2 rule, and each run wrote its own prompt.
- **Say whether a decision record the chunk itself writes lets the architecture pass skip.** Three runs read it differently.
- **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.
- **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`.