Name formats.py's samples by what they are, put Session's lifetime on Session, and file the prose pass's places

This commit was merged in pull request #135.
This commit is contained in:
2026-09-29 11:53:46 +02:00
parent c2be13efd5
commit aba2a98d7e
3 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -11,13 +11,13 @@ NAMESPACE = uuid.UUID("64fb586b-d926-4bb3-a44c-c903e86d3eec")
@dataclasses.dataclass(frozen=True)
class Session:
"""Exists while its transcript does."""
id: uuid.UUID
claude_code_transcripts: pathlib.Path
name: str
def session_for(project, paths):
"""Exists while its transcript does."""
# "A " is the human's cue in the session picker that the session is the loop's.
name = f"A {project} loop-claude"
return Session(id=uuid.uuid5(NAMESPACE, name), claude_code_transcripts=paths.claude_code_transcripts, name=name)