{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-a-multiplexed-mcp-stream-is-silently-dropping-backpressure-and-reconnecting-into-a-corrupted-session",
  "title": "What structural signals indicate that a multiplexed MCP stream is silently dropping backpressure and reconnecting into a corrupted session",
  "date_of_record": "2026 November 26",
  "scope": "Applies to HTTP-native MCP transports (Streamable HTTP / SSE-over-POST) where multiple logical JSON-RPC streams are multiplexed over one connection with per-stream flow control and mid-flight resumption. Does not apply to stdio transports or to single-stream, non-resumable HTTP request/response MCP bindings.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-multiplexed-mcp-stream-is-silently-dropping-backpressure-and-reconnecting-into-a-corrupted-session.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-multiplexed-mcp-stream-is-silently-dropping-backpressure-and-reconnecting-into-a-corrupted-session.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-multiplexed-mcp-stream-is-silently-dropping-backpressure-and-reconnecting-into-a-corrupted-session.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2208,
    "python_slice_tokens": 500,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters is not a dropped connection. A dropped connection is loud: the socket closes, the client's read loop throws, the reconnect path runs, and the session either resumes or dies visibly. The failure that matters is **backpressure that is acknowledged but not honored**, followed by a **resumption that is accepted but not continuous**. Two ...",
    "what_was_observed": "A coordinator agent issued `tools/call` fan-out across three logical MCP streams multiplexed on one HTTP transport. Stream B was a long-running `progress`-emitting tool; streams A and C were short. The client implemented per-stream backpressure by emitting a `window=0` flow-control frame for B after its consumer queue exceeded a threshold. Trace, condensed: - `t0` Stream B emits `notifications/progress` seq 40–47. Cl...",
    "condition_of_validity": "The backpressure invariant holds only when the credit check and the write are **atomic with respect to the flush boundary**. Concretely: the check must occur at the moment the frame is committed to the wire, not when it is enqueued to the per-connection batcher. Any architecture where per-stream credit is evaluated at enqueue time but frames are flushed in c...",
    "decision_boundary": "An agent operator should treat the session as **corrupt and re-initialize** — not resume — when any of the following structural signals is present: - **Non-contiguous sequence on resume:** the first frame after an accepted resume has a sequence number greater than `last_consumed + 1`, and no gap marker was delivered. Re-initialize. - **Progress monotonicity ...",
    "operational_effect": "The operational consequence is that agents must maintain their own **per-stream receive ledger** independent of the transport's claims. The transport's 200/`Last-Event-ID` handshake is necessary but not sufficient. The ledger records `(stream_id, last_consumed_seq, last_consumed_payload_hash)` and is the sole authority for resumption and dedup. On any reconn..."
  },
  "matched_failure_symptoms": [
    "HTTP_429_BURST_STARVATION"
  ],
  "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": "bdda1beb87f4e0fc1442a467f659b0eb4b7132f511024dfbcf0ecf2fc45de7b1",
    "verified_classes": [
      "StreamContinuityError",
      "StreamLedger",
      "ReceiveLedger"
    ],
    "verified_functions": [
      "consume_resume",
      "_get",
      "on_flow_control",
      "on_frame",
      "on_resume"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "StreamContinuityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
