3.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. What remains of the rebuild is rebuild's todo.md (git show origin/rebuild:todo.md), where each chunk ticks its item off; this copy stays as planned until the merge. Other sessions run on ~/.claude main throughout; only the human merges rebuild into main, once they have approved the finished whole.
Ships when a four-seat scoring run puts every dimension and the overall at 7.0 or above (docs/decisions.md). The rebuild lifts every dimension: each item below is one chunk on a worktree based on origin/rebuild, its PR into rebuild, until the last item merges rebuild into main. The sketches, the judges' verdicts and what to take from each: ~/code/claude-handoffs/claude-config_2026-09-28.md.
- Move the transcript, the session and the worker into their own modules.
UserEntryKindnames each entry Claude Code writes; a malformed line is skipped; an unreadable transcript is its own error, never "typed nothing";sessionstates the lifecycle once, where the id is made. - Move the judge, the interrupt, trust and model resolution into their own modules. The judge is retried alone and checks evidence on every verdict against the rendered transcript;
modelsowns the whole resolution, env overrides included, with no sentinel;trustnames aprojectsentry that is not an object;input()at end of file is exit 2. - Archive the raw transcript, deduplicated by content hash, with the verdict beside it, and stop on a failed archive. Tests first; the changelog line says what the archive now holds.
- Replace
bin/test_loop_claude.py's internal-function tests with the black-box tests plus unit tests of the pure parsers. - Hold every reviewer to one findings document,
principles/review-findings.md. Severity, verdict, rounds with round 2 verifying each earlier finding, the per-chunk round cap, declining, and/security-review's HIGH/MEDIUM/LOW mapped onto the scale; it replacesprinciples/review-protocol.md. - Rewrite larv-review around one pass table and one re-entry rule. A trigger per pass, each stated only there; the re-entry paragraph classifies a fix by the widest thing it touches; forge neutrality, the draft PR, CI watched in the foreground, the comprehension floor, the auto-reviewer's waits and the goal-alignment check carried over.
- Make the three reviewer agents pure reporters in the findings document's vocabulary. Keep their names and checklists; remove every README- and decision-writing duty and every private severity or verdict scale.
- Bring
CLAUDE.md→ "Vocabulary", the README anddocs/decisions.mdin line with the rebuild. Trigger covers every pass, round cap counts per chunk, "looping reviewer" goes if the rule no longer needs it; superseded decisions leave the log. - Score
rebuildwith the four-seat panel at 7.0 or above on every dimension and the overall, none below the 2026-09-28 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. A loop running main's script reloads into the new one and carries on (docs/decisions.md).