Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
PCF's initialize handler echoes the client's protocol version without checking support. On current main, unsupported strings are returned unchanged and truthy non-string values can become successful negotiated versions. Missing or falsy values silently default.
The MCP lifecycle requires selecting a supported version; the initialization schema requires a string.
Change
2025-06-18as the wire version, separate from PCF implementation metadata.-32602with no initialization result when the version is missing or non-string.Risk
Malformed callers that relied on silent defaults now receive an error. Clients must check the returned version and disconnect if they cannot support it. Existing supported-version responses, server metadata and capabilities are preserved.
Scope is version negotiation only: no full initialization-schema validation, session-order enforcement, notification changes or newer-version support. Drafts #36–39, package-verifier implementation/tests and frozen evaluation evidence are untouched.
Claim Integrity
ed87010reports 6 passed, 56 failed, 0 skipped (54 failing behavior cases plus two failed framing groups).Verification
2025-06-18, 28 malformed/missing sessions returned-32602, and all 48 following pings succeeded.2335e373ec6f1551776b06a2c2f4ecfdf6a6f001: Linux 543 passed, 0 failed, 2 skipped; Windows 540 passed, 0 failed, 5 skipped (545 total each). The CI merge tree equals the head treefde0f912a2fc983892cebf24aca7302d2f38b4ed.Maintainer Checklist