Answer architecture round 2: 0 🔴, 2 🟡; archive each verdict's judge rung, list the archive through transcript_archive alone, and say how the replay's retry differs from the loop's

This commit is contained in:
2026-10-15 08:49:22 +02:00
parent 16aba4cd98
commit 16d762a5f3
14 changed files with 84 additions and 64 deletions
+2 -2
View File
@@ -5,9 +5,9 @@ import sys
from transcript_archive.location import chunk_folder
from failure import Failure
from transcript_archive.outcomes import FILE_SUFFIX, TASK
from file_writes import make_private, replace_file
from claude_code.session import session_files
from transcript_archive.outcomes import TASK
from utc_stamp import utc
@@ -23,7 +23,7 @@ def archive(project_archive: pathlib.Path, path: str, task: str, outcome: str, a
if sibling != path and (unkept := mirror(pathlib.Path(sibling), folder / "session" / os.path.basename(sibling))):
return unkept
copy = folder / f"{hashlib.sha256(raw).hexdigest()}.jsonl"
outcomes = copy.with_suffix(".outcomes.md")
outcomes = copy.with_suffix(FILE_SUFFIX)
stamped = f"{utc(at)} {outcome}"
if copy.exists() and outcomes.exists():
return add_outcome(outcomes, stamped)