Answer architecture round 2: 1 🔴, 5 🟡; return a gone checkout's git failure as a value, derive a round's seconds from its stamp, let claude_reply own the flags it parses, test the uncovered paths, warn to sandbox the replay, decline injecting the shell's filesystem

This commit is contained in:
2026-10-15 20:57:22 +02:00
parent 4f722d94f4
commit c2a4757d56
8 changed files with 84 additions and 19 deletions
+1 -5
View File
@@ -133,14 +133,10 @@ def judge_once(root: str, task: str, premises: str, records: str, rendered_trans
def judge_args(rung: Rung) -> list[str]:
# --json-schema has claude check its reply against the schema and return it as the json result's structured_output.
# No tools, so the verdict rests on the transcript grounded() checks it against; no persistence, so its runs stay out of the session picker.
# No tools, so the verdict rests on the transcript grounded() checks it against.
return [
"-p",
"--json-schema", json.dumps(JUDGE_SCHEMA),
*rung.flags(),
"--no-session-persistence",
"--output-format", "json",
"--permission-mode", "bypassPermissions",
"--tools", "",
]
-1
View File
@@ -40,4 +40,3 @@ def limit_wait(limited: Limited, now: float) -> float:
if limited.resets_at is not None and limited.resets_at + PAST_RESET > now:
return limited.resets_at + PAST_RESET - now
return UNKNOWN_RESET_POLL