Stop the loop when a finished chunk's session cannot be deleted, and give the session one owner

This commit is contained in:
2026-10-02 07:38:18 +02:00
parent 2c39de2b48
commit ce9c96c57c
6 changed files with 39 additions and 23 deletions
+6 -6
View File
@@ -11,12 +11,12 @@ its session next cycle; the next chunk starts a fresh session.
Cycles continue until an exit below or Ctrl-C. Words: ~/.claude/CLAUDE.md → "Vocabulary".
Exit 1: no task, git cannot start or finds no checkout, no premises, a models file it cannot read or
write, claude leaves no transcript or one it cannot read or archive, claude cannot start for an
interrupt, python cannot start for a reload, a reload whose loop run it cannot read, or the worker or the
judge fails three times running, retried a minute apart within the cycle. A worker fails when claude
cannot start, exits non-zero, is killed, or ends without a result event; a judge when claude cannot
start or exits non-zero, or its verdict misses or mistypes a field, interrupts without a question,
or quotes nothing in the transcript.
write, claude leaves no transcript or one it cannot read or archive, a finished chunk's session it
cannot delete, claude cannot start for an interrupt, python cannot start for a reload, a reload whose
loop run it cannot read, or the worker or the judge fails three times running, retried a minute apart
within the cycle. A worker fails when claude cannot start, exits non-zero, is killed, or ends without
a result event; a judge when claude cannot start or exits non-zero, or its verdict misses or mistypes
a field, interrupts without a question, or quotes nothing in the transcript.
Exit 2: the human is needed, to pick the model or answer an interrupt, and stdin or stdout is not a
terminal, the input ends, or the interrupt ended with nothing typed. Rerunning resumes any
open session.