Skip to content

Add optional MCP processing acknowledgments and recovery - #435

Merged
asselstine merged 1 commit into
mainfrom
codex/mcp-processing-acknowledgments
Nov 24, 2026
Merged

asselstine merged 1 commit into
mainfrom
codex/mcp-processing-acknowledgments

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

Summary

  • Add a default-off processing overlay for each active OAuth subscription. The standard MCP subscription request and ordinary HTTP delivery remain unchanged.
  • Acknowledge exact original occurrence IDs after durable work. Idempotent retries do not extend optional subscription cooldown. Paused work is durable and resumes without another event.
  • Track transport and processing independently. Recover unresolved events with a fresh wake ID and their original occurrence ID, bounded backoff, exact-ID replay, and no additional business occurrences.
  • Atomically waive unresolved processing and clear cooldown when disabled. Fence old subscriptions and stale claims without changing live subscriptions.
  • Document opt-in, exact IDs, recovery, and client-local pacing in MCP catalog descriptions, tool descriptions, and agent-facing skills and docs.

Validation

  • 254 API tests passed with isolated PostgreSQL and pinned Node/npm, including 14 MCP protocol tests.
  • All 39 browser tests, API types, package boundaries, generated skills, OpenAPI drift, docs validation, and git diff --check passed.
  • GitHub CI covers the Worker runtime. Real ChatGPT callback batching and recovery require a post-deploy smoke test on an isolated opt-in subscription.

@asselstine
asselstine enabled auto-merge November 24, 2026 21:55
@asselstine
asselstine merged commit facb991 into main Nov 24, 2026
8 checks passed
@asselstine
asselstine deleted the codex/mcp-processing-acknowledgments branch November 24, 2026 22:06
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