Repository navigation
Add read-only O08 resume candidate recovery - #69
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 894ddcea43
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 057adca897
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| || outcomeRecord.status !== 'failed' | ||
| || outcomeRecord.payload_key !== `provider-outcome:${executionId}` | ||
| || terminal.result_sha256 !== digest(resultBytes) || terminal.result_byte_size !== resultBytes.byteLength | ||
| || resumeWindow.checked_at_ms >= timeRecord.deadline_at_ms |
There was a problem hiding this comment.
Classify post-deadline resume windows as exhausted
When the stable clock reaches the deadline between the monotonic terminal sample and the resume-time sample, persistResult still emits a resume-window because retry eligibility is based only on terminalClock, but this condition rejects that otherwise valid window before the current stable time is evaluated. After a genuine restart, the generic fallback cannot compare the new monotonic epoch and reports deadline-unverifiable instead of budget-exhausted, so the documented expired-window classification fails at this boundary. Treat checked_at_ms >= deadline_at_ms as an exhausted/empty window rather than invalidating the entire record.
Useful? React with 👍 / 👎.
Summary
claimResume.No resume claim is acquired and no resumed attempt or provider call is made. This remains an experimental synthetic path, not a released durable-resume contract or exactly-once guarantee. Context-enabled recovery is out of scope.
Validation at head
7407becnpm test991/991; offline Comic Manifest conformance 326/326.npm test991/991; offline Comic Manifest conformance 326/326.This PR contains only synthetic fixture logic and public documentation; no private creative material or credentials.