Group loop_claude's modules into claude_code, claude_runs and project, and move the findings document beside larv-review

This commit is contained in:
2026-09-28 21:28:41 +02:00
parent 6a1a1d9027
commit 998cc3ac85
26 changed files with 39 additions and 35 deletions
+2 -2
View File
@@ -23,12 +23,12 @@ def decode_state(handed, kind):
def fingerprint(launcher):
digest = hashlib.sha256()
for path in [launcher, *sorted((launcher.parent / "loop_claude").glob("*.py"))]:
for path in [launcher, *sorted((launcher.parent / "loop_claude").rglob("*.py"))]:
try:
content = path.read_bytes()
except OSError as failure:
content = str(failure).encode()
digest.update(f"{path.name}\0{len(content)}\0".encode() + content)
digest.update(f"{path.relative_to(launcher.parent)}\0{len(content)}\0".encode() + content)
return digest.hexdigest()