Skip to content

Add intentional settings cutover cancellation - #136

Merged
lynnswap merged 2 commits into
mainfrom
codex/settings-cutover-cancellation-pr
Aug 22, 2026
Merged

Add intentional settings cutover cancellation#136
lynnswap merged 2 commits into
mainfrom
codex/settings-cutover-cancellation-pr

Conversation

@lynnswap

@lynnswap lynnswap commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Purpose

Separate intentional runtime cutover cancellation from failure abort so superseded runtime work does not leave a false settings error.

Changes

  • Add a token-consuming cancelRuntimeCutover owner operation.
  • Invalidate the canceled epoch without publishing an error.
  • Retain and reproject deferred raw intents for one replay after the next successful cutover.
  • Restore the settings error baseline that existed before the canceled cutover.
  • Reject foreign, stale, copied, or repeated token use without mutation.

Testing

  • Settings cutover suite repeated 25 times (300 executions)
  • swift test --build-system swiftbuild --no-parallel
  • Compatibility consumer, API, and MCP gates
  • ReviewMonitor xcodebuild test (15 tests)
  • Owner/concurrency audit and Codex review (0 findings)

Screenshots

Not applicable.

@lynnswap

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 06401256fb

ℹ️ 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".

@lynnswap

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 6ab239e9c6

ℹ️ 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".

@lynnswap
lynnswap merged commit 5d9f884 into main Aug 22, 2026
2 checks 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.

1 participant