Archive each chunk in its own folder, and add a stop to a verdict already archived
This commit is contained in:
@@ -13,12 +13,13 @@ 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 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),
|
||||
named by its hash. Beside it, <sha256>.verdict.md holds the verdict, or why the loop stopped.
|
||||
Claude Code keeps a folder per session beside its transcript, holding the subagents' transcripts
|
||||
among other files; those files are copied to <key>/<session id>/. A file there is replaced only by
|
||||
a version that grew from it. A file with other content under the same name, such as one an earlier
|
||||
chunk left, lands beside it as <name>.<hash of its content>.
|
||||
copied to $LOOP_CLAUDE_TRANSCRIPTS/<key>/<chunk>/<sha256>.jsonl (default
|
||||
~/.claude/loop-claude-transcripts), named by its hash. <chunk> is the hash of the transcript's first
|
||||
line with a timestamp, the same for every cycle of a chunk. Beside the copy, <sha256>.verdict.md
|
||||
holds the verdict, and why the loop stopped when it did. Claude Code keeps a folder per session
|
||||
beside its transcript, holding the subagents' transcripts among other files; those files are copied
|
||||
into <chunk>/. A file there is replaced only by a version that grew from it. A file Claude Code
|
||||
rewrote lands beside its copy as <name>.<hash of its content>.
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user