Name loop_claude's modules and words by what each holds, explain the reload, and tie each exit-1 clause of --help to its Stop

This commit is contained in:
2026-10-02 08:42:29 +02:00
parent dc844030fa
commit 211524196b
27 changed files with 212 additions and 165 deletions
+3 -3
View File
@@ -1,13 +1,13 @@
import hashlib
import sys
from loop_claude.failure import Failure
from loop_claude.file_writes import make_private, replace_file
from loop_claude.outcome import Failure
from loop_claude.paths import Paths
def archive(project: str, path: str, note: str, paths: Paths) -> Failure | None:
folder = paths.archive / project
def archive(project_key: str, path: str, note: str, paths: Paths) -> Failure | None:
folder = paths.transcript_archive / project_key
try:
with open(path, "rb") as handle:
raw = handle.read()