Answer architecture round 1: 2 🔴, 2 🟡 (0 misread); move transcript parsing into claude_code and keep repeat_read pure

This commit is contained in:
2026-10-28 12:51:24 +01:00
parent 1d2f3d14d2
commit 248e46f616
10 changed files with 110 additions and 86 deletions
+5
View File
@@ -37,6 +37,11 @@ def session_files(transcript: str) -> list[str]:
return sorted(glob.glob(glob.escape(transcript.removesuffix(".jsonl")) + "*"))
# <session id>/subagents/agent-<agent id>.jsonl, beside <session id>.jsonl
def subagent_transcript(session_transcript: str, agent_id: str) -> str:
return os.path.join(session_transcript.removesuffix(".jsonl"), "subagents", f"agent-{agent_id}.jsonl")
def delete_session(session: Session) -> Failure | None:
path = transcript_file(session)
if path is None: