Run loop-claude from the checkout root wherever inside it is started #37

Merged
lilleman merged 7 commits from checkout-root into main 2026-09-25 08:50:18 +02:00
Showing only changes of commit 4e1efc78ee - Show all commits
+5 -5
View File
@@ -10,11 +10,11 @@ interrupt: `claude --resume` on the terminal. An unfinished chunk resumes the sa
cycle; a finished one starts a fresh session. Cycles continue until that interrupt or Ctrl-C. Words: cycle; a finished one starts a fresh session. Cycles continue until that interrupt or Ctrl-C. Words:
~/.claude/CLAUDE.md → "Vocabulary". ~/.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 Exit 1: no task, not inside a checkout, no premises, claude leaves no transcript, or the worker or
times running, a verdict missing a field or quoting nothing in the transcript being a judge failure. the judge fails three times running, a verdict missing a field or quoting nothing in the transcript
Exit 2: the human is needed and stdin or stdout is not a terminal, or the interrupt ended without being a judge failure. Exit 2: the human is needed and stdin or stdout is not a terminal, or the
them typing anything. Rerunning resumes the session after either exit. Before an interrupt every interrupt ended without them typing anything. Rerunning resumes the session after either exit.
worktree is marked trusted in ~/.claude.json. Before an interrupt every worktree is marked trusted in ~/.claude.json.
Each project has one session, "A <path> loop-claude", <path> being the checkout relative to ~/code, 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 or to / outside it, deleted when the chunk finishes. Its transcript is archived under