Run loop-claude on a model saved per project, asking for it on the first run #68

Merged
lilleman merged 7 commits from loop-claude-project-model into main 2026-09-26 20:00:37 +02:00
Showing only changes of commit d4ae61a685 - Show all commits
+3 -2
View File
@@ -25,8 +25,9 @@ asked and when the chunk finishes.
Every claude it starts runs the project's model, saved per <path> in ~/.claude/loop-claude-models.json
and read each cycle; a project without an entry, as on its first run, is asked for one.
LOOP_CLAUDE_JUDGE_MODEL overrides it for the judge, LOOP_CLAUDE_WORKER_MODEL for the worker and the
interrupt; with both set, nothing is asked. A change to this file takes effect at the next cycle boundary,
once the new file answers --help.
interrupt; with both set, nothing is asked.
A change to this script takes effect at the next cycle boundary, once the new script answers --help.
Claude Code internals this rests on, observed on 2.1.282, the model catalog on 2.1.283:
- The transcript is ~/.claude/projects/*/<session-id>.jsonl, one JSON object per line. A <session-id>/