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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user