Repository navigation
Conversation
Architecture-Review: unchanged; the coordinator still owns runner fingerprinting and readiness still verifies the receipt. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by claude on 84117182e4c8986cbe51dc7696502c66c6cb7931, 18.1s: approve (0 critical, 0 important, 1 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)
Native Claude output is retained in the restricted local review receipt.
| assert run(capsys, *args, "check")[0] == 1 | ||
|
|
||
|
|
||
| def test_check_refuses_unverified_receipt_after_runner_retarget(wt, gh, capsys, head, tmp_path): |
There was a problem hiding this comment.
suggestion: Only the mid-run retarget case is tested, not a runner that is missing from the start
The acceptance criteria cover two cases: runner identity that is missing, and runner identity that changes. The new test only covers the change during execution. A runner whose identity can't be resolved at the start also goes through the new branch, because settings_fingerprint returns None when runner_executable is None (sandbox.py:300). I checked by reading the code, not by running it. A small parametrized case where the configured runner can't be resolved from the start, but the stage still reports exit 0, would lock in that behaviour too. This doesn't block the change.
…ed-runner # Conflicts: # tests/test_cli.py
|
Superseded by #1381, which carries the runner receipt fix onto current main with a fresh primary approval and passing local checks. |
Fail closed when the delegated check runner changes during execution
Context and goal
Closes #1282
Acceptance
Notes
Keep coordinator-owned fingerprints and the existing receipt predicate. Preserve stage exit codes so an operator can distinguish execution success from receipt verification.
The offline runner-retarget regression failed before the fix because check returned 0.
Base
Base: fa78ebb
Validation
(no
loopzero checkrun recorded)Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Review