Answer architecture round 1: Failure and the file modules get truthful homes, the interrupt question is a pure function, the judge grounds on what it saw

This commit is contained in:
2026-10-03 18:06:56 +02:00
parent ae7c332ba3
commit d3613f45d4
31 changed files with 217 additions and 85 deletions
+1 -2
View File
@@ -8,7 +8,6 @@ import typing
from loop_claude.effects import Effects
from loop_claude.stop import Stop
PACKAGES = ("file_io", "loop_claude")
RELOAD_FLAG = "--reloaded"
T = typing.TypeVar("T")
@@ -37,7 +36,7 @@ def decode_handed(handed: str, kind: type[T]) -> T | None:
def fingerprint(launcher: pathlib.Path) -> str:
digest = hashlib.sha256()
for path in [launcher, *sorted(path for package in PACKAGES for path in (launcher.parent / package).rglob("*.py"))]:
for path in [launcher, *sorted(launcher.parent.rglob("*.py"))]:
try:
content = path.read_bytes()
except OSError as failure: