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