Keep the exit paragraph to exits and drop the rerun overclaim

This commit was merged in pull request #37.
This commit is contained in:
2026-09-25 08:50:11 +02:00
parent 0f77045837
commit 3a6ea7e6ca
2 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -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`.
+6 -7
View File
@@ -6,15 +6,14 @@ usage: loop-claude <task>
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 <path> loop-claude", <path> being the checkout relative to ~/code,
or to / outside it, deleted when the chunk finishes. Its transcript is archived under