Skip to content

[codex] Guard duplicate MCP initialized notifications#102

Merged
Atomics-hub merged 1 commit into
masterfrom
codex/drop-duplicate-initialized-notifications
May 27, 2026
Merged

[codex] Guard duplicate MCP initialized notifications#102
Atomics-hub merged 1 commit into
masterfrom
codex/drop-duplicate-initialized-notifications

Conversation

@Atomics-hub
Copy link
Copy Markdown
Owner

Summary

  • Drop duplicate subprocess MCP notifications/initialized messages after the proxy is ready.
  • Add release-audit smoke coverage proving the first initialized notification is forwarded, duplicate lifecycle replay is not forwarded, and duplicate payloads are not returned or logged.
  • Update MCP proxy and roadmap docs to match the lifecycle behavior.

Why

A duplicate initialized notification after readiness should not be generic lifecycle passthrough. Forwarding it gives clients a way to replay lifecycle signals downstream outside the intended strict handshake.

Verification

  • cargo fmt --check
  • cargo test release_audit_subprocess_mcp_proxy_duplicate_initialized_notification_smoke_drops_payload -- --nocapture
  • cargo test
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo run --locked -- release-audit

@Atomics-hub Atomics-hub merged commit 21978ac into master May 27, 2026
1 check passed
@Atomics-hub Atomics-hub deleted the codex/drop-duplicate-initialized-notifications branch May 27, 2026 13:03
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