Prefix the model overrides LOOP_CLAUDE_; name the session-id cause in the fixed-id decision

This commit was merged in pull request #26.
This commit is contained in:
2026-09-25 00:19:02 +02:00
parent 69384ea1d6
commit 8b8d1d12bf
4 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
## loop-claude: one session per project, at a fixed id
2026-09-21, lilleman; the rename and mirrored-path costs accepted 2026-09-25 by larv-review. Serves goal 4. One fixed id per project keeps the session picker at one entry per project and makes any transcript under that id the script's own to delete. The id derives from the checkout's path, so a rename migrates nothing: transcripts open under the old id stay in the picker until the human deletes them, a one-human audience not being worth the code. A checkout outside `~/code` mirroring a path inside it would share its id; none does. Valid while the picker lists sessions by id.
2026-09-21, lilleman; the rename and mirrored-path costs accepted 2026-09-25 by larv-review. Serves goal 4. One fixed id per project keeps the session picker at one entry per project and makes any transcript under that id the script's own to delete. The id is uuid5 of the session name, "A <path> loop-claude", so moving the checkout or changing that name orphans open sessions: they stay in the picker until the human deletes them, migration code not being worth a one-human audience. A checkout outside `~/code` mirroring a path inside it would share its id. Valid while claude takes `--session-id` and resumes by it, and no checkout outside `~/code` mirrors a path inside it.
## loop-claude: the trust file is rewritten before an interrupt