Key loop-claude's session per slot, so two loops of one project run side by side #552

Merged
lilleman merged 10 commits from item-372 into main 2026-11-15 14:50:31 +01:00
Owner

Each loop holds the lowest free slot of its project, a file locked under ~/.local/state/loop-claude//, and names its worker's session after it; slot 0 keeps today's name, so open chunks still resume. A reload hands the slot on, its lock kept across the exec. The archive and the route already follow the session's transcript. A commit in the config's folder now commits only its own file, and git's index.lock serializes two at once. Files item 386: project-record's copies are still shared per project.

Each loop holds the lowest free slot of its project, a file locked under ~/.local/state/loop-claude/<key>/, and names its worker's session after it; slot 0 keeps today's name, so open chunks still resume. A reload hands the slot on, its lock kept across the exec. The archive and the route already follow the session's transcript. A commit in the config's folder now commits only its own file, and git's index.lock serializes two at once. Files item 386: project-record's copies are still shared per project.
lilleman added 2 commits 2026-11-15 14:19:51 +01:00
lilleman marked the pull request as ready for review 2026-11-15 14:47:54 +01:00
lilleman added 8 commits 2026-11-15 14:47:55 +01:00
lilleman merged commit 58b098b89d into main 2026-11-15 14:50:31 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lilleman/claude-config#552