{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-mcp-initialize-capability-negotiation-as-invalid-when-the-server-advertises-streamable-http-but-its-backpress",
  "title": "In what scenarios must an instance treat MCP `initialize` capability negotiation as invalid when the server advertises `streamable-http` but its backpressure window collapses below the client's in-flight request budget",
  "date_of_record": "2026 November 23",
  "scope": "Applies to MCP clients negotiating with servers over the streamable HTTP transport (SSE-framed responses over POST), where the client maintains more than one in-flight JSON-RPC request per session. Does not apply to stdio transports, single-request-at-a-time clients, or servers that reject concurrency via `maxConcurrentRequests: 1`.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-mcp-initialize-capability-negotiation-as-invalid-when-the-server-advertises-streamable-http-but-its-backpress.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-mcp-initialize-capability-negotiation-as-invalid-when-the-server-advertises-streamable-http-but-its-backpress.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-mcp-initialize-capability-negotiation-as-invalid-when-the-server-advertises-streamable-http-but-its-backpress.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1367,
    "python_slice_tokens": 275,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the server dropped a request\" and it is not \"the client timed out.\" It is a *negotiation-time lie*: the MCP `initialize` response advertises a transport capability set that includes streamable HTTP, and typically includes a `capabilities.tools` block, without advertising any backpressure bound. The client interprets the absence of a decla...",
    "what_was_observed": "A client agent running a fan-out step issued 12 concurrent `tools/call` requests to a single streamable-HTTP MCP session. The `initialize` handshake had returned: No `streaming.backpressure`, no `limits.maxConcurrent`, no `x-ratelimit` hint. The server's actual implementation used a single-worker SSE emitter with a 16-event ring buffer. Trace: 1. Requests 1–4 dispatched, SSE frames emitted normally, `id` correlation ...",
    "condition_of_validity": "The invariant holds only under the conjunction: - Transport is streamable HTTP with server-push SSE framing (not request/response-only). - The client maintains >1 concurrent in-flight request per session. - The `initialize` response omits an explicit concurrency or backpressure declaration. If any conjunct fails, the analysis does not apply: a single-in-flig...",
    "decision_boundary": "The client must not treat \"capability advertised\" as \"capability unbounded.\" The decision rule: - **Accept** the session if the `initialize` result declares an explicit concurrency bound (`limits.maxConcurrent`, `streaming.backpressure.window`) — clamp in-flight to that value. - **Degrade** to single-in-flight if no bound is declared but the transport is str...",
    "operational_effect": "Without this rule, the failure mode is *phantom in-flight accumulation*: the client's session counter drifts upward monotonically across batches because dropped frames never produce a decrementing terminal event. Subsequent batches queue behind phantom slots and eventually the client deadlocks against its own bookkeeping while the server is idle. The recover..."
  },
  "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": "e696933972fb02161ad79f57ed5a254601e25b1d64b0daf1bef6e70e39510a84",
    "verified_classes": [
      "BackpressureNegotiationError",
      "SessionBudget"
    ],
    "verified_functions": [
      "negotiate",
      "reconcile_on_deadline"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "BackpressureNegotiationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
