8.3 KiB
8.3 KiB
todo
0.1.0
⚠️ THE REBUILD NEVER MERGES INTO MAIN WITHOUT THE HUMAN'S EXPLICIT APPROVAL. Every rebuild chunk is a worktree based on origin/rebuild with its PR into rebuild, never into main. Other sessions run on ~/.claude main throughout; only the human merges rebuild into main, once they have approved the finished whole.
The sketches, the judges' verdicts and what to take from each: ~/code/claude-handoffs/claude-config_2026-09-28.md.
- Carry main's #155 into
grounded(): match the judge's quote with markdown emphasis and whitespace ignored. The judge drops a bold line's closing**when quoting it;rebuildstill rejects that, so merging it into main would bring back loops stopping on a correct verdict. - Score
rebuildwith the four-seat panel at 7.0 or above on every dimension and the overall, none below the last run, and open its PR into main for the human. ⚠️ Leave that PR ready and unmerged: only the human merges it, after approving the whole rebuild. A dimension under the floor gets its places filed above this item. The PR deletes main'sAGENTS.mdparagraph on a rebuild chunk's larv-review, which only main holds.
0.2.0
- Sort
bin/'s imports on their first binding, and say inprinciples/technical-principles.md→ "Deterministic order" how case sorts and which groups Python has. Today they sort by path, so a module move reorders unchanged lines; "host packages" names no Python group. - Name CLI flags and exit codes among larv-review's external contracts, or record that they do not fire the architecture pass. A prose pass found the product-owner row names the CLI and the architecture row does not.
- Show the judge's reply when
loop-clauderejects its verdict. Its stdout is discarded, so a judge that failed three times running leaves nothing to diagnose. - Back up
loop-claude's transcript archive to a destination other than this repo's remote. - Make the contributor a standing member of every project's audience, dropped only where
## Audiencesays maintainability does not matter.CLAUDE.md's premises rule states it; larv-review's comprehension floor names the contributor as the reader it serves, so the floor gates every chunk while the contributor stands and a project that drops them skips it. - Give
docs/decisions.md's comprehension-floor and vocabulary entries a premise that has not already expired, with the floor's rule first and its runs' scores as a table, and give the rebuild entry's warning placement its own heading and index line. A prose pass found both "Valid until the next scoring run" outlived by three runs. - Move larv-review's reasons for
/security-reviewand for the premises chunk's review intodocs/decisions.md. A prose pass found rejected alternatives at the rule. - Cut
comprehension-panel's run history and the restated description,systems-architect.md's "one home" line, and split its Reasonability Review steps 4 and 5. A prose pass found them carrying nothing the instructions need. - Keep
outcome.Failure's docstring to what a failure is, without namingretried. A value type naming its consumer. - Give a 🟡 shown factually wrong the 🔴's way out in
review-findings.md. Today it can only be fixed, declined on a goal, or filed. - Say in
AGENTS.mdthat only the rebuild's last chunk opensrebuild's PR into main. Today it reads as every chunk doing so. - Have larv-review's prose pass fix only what the chunk touched, and file the rest per
CLAUDE.md→ "Working loop". Its fixes land "in this chunk", cited sections and the sweep run when the architecture pass ran included. The 2026-09-30 bench's costliest rebuild runs sprawled outside the chunk: deleted README facts, 13 mypy rounds where main took 6–7 for the same fixes. On 35b, rebuild's one clear win took 6–11 agents to main's 8–16.~/code/claude-handoffs/claude-config/2026-09-30/bench/comparison.md - Give principles-auditor and prose-reviewer a way to list the project's files. Their
tools: Read, Grep, Globleft only Read in the 2026-09-30 audit run, so each read what imports and.gitignorenamed and said which files it could not reach. - Judge a cycle on more than the transcript's last 40,000 characters.
judge.py:80cuts the session, which spans every cycle of the chunk, so a decision made early in a long run is never judged and the human is not interrupted for it (goal 4). - Name
jqand GNUdateunder README → Install, or drop them fromstatusline.sh. Withoutjqthe status line aborts; under BSDdatethe reset times vanish, so CHANGELOG's "runs on any machine unedited" is false. - Inject
loop-claude's side effects:time.sleep,subprocess,input(),isattyandos.execv, and splitproject_modelandinterruptinto decisions and effects. Functional core, imperative shell; the loop's flow has no tests because nothing reaches it without the effects. - Test
run_cycle,judge_through_interrupts,retried,archive,trust,interrupt, the models file and the worker's arguments. Only the pure helpers are tested today. - Give a project's loop state named states and one transition function. Fresh, resuming, awaiting the human and finished come today from whether a transcript exists, two verdict booleans and an open
while Trueinsteps.py. - Make a
Verdictwith bothinterruptandfinished, or a question without an interrupt, unrepresentable.steps.py:49ignoresfinishedwheninterruptis set. - Return a
Stopwhengitoros.execvfails.checkout.py:7,15andreload.py:52end in a traceback. - Narrow
.gitignore's!bin/*andskills/*/**to the files they mean. A stray log ofloop-claudeoutput inbin/would be committed with transcript text in it. - Archive the transcript as each cycle ends, so a failed exit or Ctrl-C loses nothing. Today only an interrupt or a finish archives, against goal 2.
- Key a project on its checkout's full path — its session, archive folder and models entry — and refuse to start while another session on that id is active.
checkout.py:22drops the leading/, so~/code/aand/ashare a session, an archive folder and a models entry, and one loop can resume or delete the other's session. - Move what
loop-claudewrites out of~/.claude.json, and bring each case that must stay to the human. Claude Code owns and writes that file, andtrust's read-modify-write loses a write landing in its window. - Have
loop-claudewrite one stats line per finished chunk, in one file at the root of the transcript archive. The line names the project, the commit the chunk started from and the archived transcript's hash. It holds the worker's tokens from the transcript, the judge's from its JSON output, and the chunk's cycles and interrupts, which the loop counts. - End larv-review with a machine-readable summary, and have
loop-claudecopy it from the transcript onto the chunk's stats line. Agents launched and rounds per pass; findings per pass by severity, inside the chunk's diff and outside it; and the comprehension scores when the panel ran. - Write a
workflow-reviewskill that reads the stats and files each change it proposes to the workflow as a plan item, and haveAGENTS.mdrun it on the chunk shipping a release's last item. The workflow isCLAUDE.md,principles/, the skills, the agents andloop-claude. The skill's signals: findings outside the chunk's diff and comprehension scores per release, both from the stats; fixes after merge, from git; and the human's corrections, from the archived transcripts. - Bench about one chunk in ten: redo it under an open PR that changes the workflow, from the commit it started from, and have a claude blind to which run is which rule which outcome better serves this repo's goal 4.
loop-claudepicks the chunk at random, small diffs and big ones alike; with no such PR open, no bench runs. The same outcome with less code and prose, in the chunk or in the workflow, also counts as better. The PR merges only once three benches rule it better. A bench that rules it worse closes the PR and records, indocs/workflow-learnings.md, what the PR changed and why it lost. The ruling and both runs' numbers go on the chunk's stats line. Start from the 2026-09-30 bench's scripts:~/code/claude-handoffs/claude-config/2026-09-30/bench/.