Re-enter a nit's fix like any fix, so prose fixes are reviewed too #149

Merged
lilleman merged 3 commits from nit-prose-reentry into rebuild 2026-09-30 11:55:33 +02:00
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -18,7 +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
- review: a 🟢's or ❓'s fix re-enters like any fix
- 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
+2 -2
View File
@@ -56,9 +56,9 @@
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
## review: a 🟢's or ❓'s fix re-enters like any fix
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.
2026-09-30, lilleman. Serves goal 4: no human reads an unattended chunk before it merges, so every change it makes, a nit's wording included, is reviewed. In the 2026-09-30 bench this cost four of nine rounds in one run and drove two passes to the round cap. Valid while a pass is the only reader of a fix before merge.
## loop-claude: the judge is retried alone, on its own counter
+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`. 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 🟡, 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.
**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.
**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.
### Architecture
+1 -1
View File
@@ -8,7 +8,7 @@ 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`):
- **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.
- **Define the prose pass's fresh-context agent: its prompt, the bar it reads, whether round 2 gets the earlier findings, and whether a rerun judging only diff lines launches it and counts as a round.** 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. 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.