Skip to content

Finish interrupted Codex runs from authenticated evidence (T63) - #238

Merged
erickb336 merged 1 commit into
mainfrom
codex/t63-interrupted-run
Oct 15, 2026
Merged

erickb336 merged 1 commit into
mainfrom
codex/t63-interrupted-run

Conversation

@erickb336

@erickb336 erickb336 commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Closes #237
Sage task T63

The Codex chief can finish an interrupted run as blocked, question, or failed using saved authenticated interruption evidence. It can then create eligible replacement work. The existing report-based finish input remains unchanged. No report, verdict, task transition, or success is invented.

A temporary admission record prevents conflicting child-team work while a typed logbook receipt and the run ending reach disk. Exact retries recover incomplete publication, preserve the first result, and cannot clear another request. Normal eligible child reuse remains available after acknowledgement.

Verification

Frozen head: 44fdd4a483c3550e6577d3e95764c4036ce7a9e5, based on 8cffddd.

  • npm run build: built 306 files. npm run check: all checks pass.
  • node --test --test-name-pattern='T63' scripts/codex-server.test.mjs scripts/providers.test.mjs: tests 17, pass 17, fail 0.
  • Detached main: all 11 new server groups and six admission groups fail because the feature/API is absent. These are missing-feature proofs, not evidence of a previous behavioral defect.
  • An isolated exact-delta validator mutation fails its targeted test. Removing the pending admission guard fails three tests; removing the active-team guard fails two. The latter tests exercise both publication orders.
  • The first native probe verified finish and retry but failed its replacement-row comparison: tool output has nine fields and stored TSV rows have twelve. The final fixture compares all stored fields with empty defaults and reports only completed stages. The repaired exact-head native probe passed: eight root requests, two child requests, exact blocked ending, unchanged retry, eligible replacement run, zero reports/verdicts, and temporary-profile cleanup. Model responses are simulated.
  • Two independent code/security/QA review cycles are clean on this unchanged head. npm test -- --test-concurrency=1 passed: tests 1374, pass 1374, fail 0, skipped 0. Exact-head CI also passed: tests 1374, pass 1374, fail 0, skipped 0 (run 38778041619).
  • Tests and probes use fake process commands first on PATH. Detached proof worktrees were removed. All owned local test and probe processes ended.

Not verified: real-model judgment, cross-session transfer, whole-runtime policy or installed automatic Sage. Claude PR #140 active functions remain unchanged. Parent tracking issue: #88; full runtime work remains incomplete.

@erickb336
erickb336 marked this pull request as ready for review October 15, 2026 17:44
@erickb336
erickb336 merged commit 4162ac3 into main Oct 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Finish interrupted Codex runs from authenticated evidence (T63)

1 participant