From 3a6ea7e6cac39dce0103670e3b66c55caacf29ee Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 25 Sep 2026 08:50:11 +0200 Subject: [PATCH] Keep the exit paragraph to exits and drop the rerun overclaim --- CHANGELOG.md | 2 +- bin/loop-claude | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f45ae72..68cbb253 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ - `loop-claude` exits 1 when the judge fails three times running; a verdict missing a field or quoting nothing in the transcript is a failure. - `loop-claude` exits 2 when an interrupt gets no answer, saying why: stdin or stdout is not a terminal, or nothing was typed. Rerunning resumes the session. - `loop-claude` archives each session's transcript under `~/.claude/loop-claude-transcripts/`, one folder per project; `LOOP_CLAUDE_TRANSCRIPTS` overrides the root. -- `loop-claude` works from the checkout root wherever inside the checkout it is started. +- `loop-claude` runs at the checkout root wherever inside the checkout it is started. - `loop-claude --help` names the Claude Code version its transcript, session and trust handling were observed on; check it first when an upgrade breaks a cycle. - `loop-claude` runs the model each project's settings pick; `LOOP_CLAUDE_WORKER_MODEL` and `LOOP_CLAUDE_JUDGE_MODEL` override it. This repo runs on Fable 5.1. - Reviewers share one protocol for verdicts, severities, rounds and declines: `agents/review-protocol.md`. diff --git a/bin/loop-claude b/bin/loop-claude index 0b5ae089..9fac06f2 100755 --- a/bin/loop-claude +++ b/bin/loop-claude @@ -6,15 +6,14 @@ usage: loop-claude Run it anywhere inside a project checkout whose README.md has ## Goals and ## Audience, the premises; the task runs at the checkout root. Each cycle a worker runs the task; a judge then reads the transcript against them. A question only the human can answer, or a release ready to cut, is an -interrupt: `claude --resume` on the terminal. An unfinished chunk resumes the same session next -cycle; a finished one starts a fresh session. Cycles continue until that interrupt or Ctrl-C. Words: -~/.claude/CLAUDE.md → "Vocabulary". +interrupt: `claude --resume` on the terminal, every worktree first marked trusted in ~/.claude.json. +An unfinished chunk resumes the same session next cycle; a finished one starts a fresh session. +Cycles continue until that interrupt or Ctrl-C. Words: ~/.claude/CLAUDE.md → "Vocabulary". Exit 1: no task, not inside a checkout, no premises, claude leaves no transcript, or the worker or -the judge fails three times running, a verdict missing a field or quoting nothing in the transcript -being a judge failure. Exit 2: the human is needed and stdin or stdout is not a terminal, or the -interrupt ended without them typing anything. Rerunning resumes the session after either exit. -Before an interrupt every worktree is marked trusted in ~/.claude.json. +the judge fails three times running. A judge fails when its verdict misses a field or quotes nothing +in the transcript. Exit 2: the human is needed and stdin or stdout is not a terminal, or the +interrupt ended without them typing anything. Rerunning resumes any open session. Each project has one session, "A loop-claude", being the checkout relative to ~/code, or to / outside it, deleted when the chunk finishes. Its transcript is archived under