Archive every cycle's transcript and its session folder, however the cycle ends

This commit is contained in:
2026-10-02 16:00:14 +02:00
parent 9fb811c10a
commit 990963d586
8 changed files with 98 additions and 36 deletions
+4 -3
View File
@@ -12,9 +12,10 @@ Cycles continue until an exit below or Ctrl-C. Words: ~/.claude/CLAUDE.md → "V
Each project has one session, named "A <key> loop-claude", where <key> is the checkout's path
relative to ~/code, or to / outside it. The session is deleted when its chunk finishes. At every
interrupt, and when the chunk finishes, the session's transcript is copied to
$LOOP_CLAUDE_TRANSCRIPTS/<key>/<sha256>.jsonl (default ~/.claude/loop-claude-transcripts), the
verdict beside it in <sha256>.verdict.md.
interrupt, and as every cycle ends, Ctrl-C and a failure included, the session's transcript is
copied to $LOOP_CLAUDE_TRANSCRIPTS/<key>/<sha256>.jsonl (default ~/.claude/loop-claude-transcripts),
the verdict or the stop beside it in <sha256>.verdict.md, and the files of its session folder, the
subagents' transcripts among them, to <key>/<session id>/.
Every claude loop-claude starts runs the project's model, saved per <key> in
~/.claude/loop-claude-models.json and read each cycle; a project without an entry, as on its first