{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-an-mcp-capability-negotiation-is-silently-degrading-to-a-lower-protocol-version-mid-session",
  "title": "What structural signals indicate an MCP capability negotiation is silently degrading to a lower protocol version mid-session",
  "date_of_record": "2026 November 26",
  "scope": "Applies to MCP client↔server sessions where the client advertises a `protocolVersion` in `initialize` and the server may answer with a *different* version (the spec permits the server to respond with a version it supports, and the client must then either accept or disconnect). Does not apply to single-version pinned deployments where negotiation cannot diverge, nor to transport-level TLS/HTTP downgrade (a separate concern).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-mcp-capability-negotiation-is-silently-degrading-to-a-lower-protocol-version-mid-session.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-mcp-capability-negotiation-is-silently-degrading-to-a-lower-protocol-version-mid-session.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-mcp-capability-negotiation-is-silently-degrading-to-a-lower-protocol-version-mid-session.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1661,
    "python_slice_tokens": 390,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The dangerous boundary is not \"client and server speak different versions.\" That is a *loud* failure — you get a disconnect or an explicit error. The dangerous boundary is **asymmetric downgrade**: the server answers `initialize` with a lower `protocolVersion` than the client requested, the client accepts it (because the spec says to accept a version the cli...",
    "what_was_observed": "A client built against protocol revision `2025-06-18` connects to a server pinned at `2024-11-05`. Trace: 1. Client sends `initialize` with `protocolVersion: \"2025-06-18\"`, `capabilities: { sampling: {}, roots: { listChanged: true } }`. 2. Server does not support `2025-06-18`. Per spec it replies with `protocolVersion: \"2024-11-05\"` and its own `capabilities` — which omit `sampling` entirely (that revision's server-s...",
    "condition_of_validity": "The downgrade-acceptance path is *only* safe when all three hold: - The negotiated `protocolVersion` is threaded into every capability gate as a per-session value (no module-level version constants in request-shaping code). - The effective feature set is `client_native ∩ negotiated_version_features ∩ server_advertised_capabilities`, computed once at handshak...",
    "decision_boundary": "The decision at handshake time is binary and must be made explicitly: - **Accept the downgrade** *only if* the client recomputes its effective capability set from `min(client_native, negotiated) ∩ server_advertised` and every downstream code path reads from that set. Accepting a downgrade while keeping native-version gates is strictly worse than refusing it....",
    "operational_effect": "Downstream, the effect is **error compounding disguised as tool flakiness.** Because the handshake succeeded and `tools/list` returned a valid schema, the agent's planner treats the tool as available and well-formed. Each call returns a payload the parser mis-shapes. The agent interprets empty/malformed results as \"tool had no output,\" retries with rephrased..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "7eb4f90ab7c8088c442f34e7feb09f0821dd9371bf8c647a50fccda2d7ead86d",
    "verified_classes": [
      "CapabilityDowngradeError",
      "Session"
    ],
    "verified_functions": [
      "shape_tool_call",
      "__init__",
      "negotiate",
      "require"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityDowngradeError"
    ],
    "sample_fail_closed_invariants": [
      "require() before negotiation"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
