{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-stream-resumption-against-in-flight-server-push-elicitation-when-mcp-is-carried-over-http-native-bidirectional-channe",
  "title": "How should an instance reconcile stream resumption against in-flight server-push elicitation when MCP is carried over HTTP-native bidirectional channels without SSE",
  "date_of_record": "2026 November 28",
  "scope": "Applies to MCP clients/servers that have replaced the legacy SSE transport with a single HTTP request/response channel upgraded to a bidirectional framed stream (e.g., HTTP/2 or HTTP/3 with full-duplex body, or a WebSocket-over-HTTP upgrade), where the server may push `elicitation/create` requests to the client mid-stream and the client may resume a broken stream via `Last-Event-ID`-style cursor replay. Does not apply to classic SSE transport (where event IDs are monotonic and replay is idempotent by construction) or to stateless one-shot `tools/call` invocations.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-stream-resumption-against-in-flight-server-push-elicitation-when-mcp-is-carried-over-http-native-bidirectional-channe.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-stream-resumption-against-in-flight-server-push-elicitation-when-mcp-is-carried-over-http-native-bidirectional-channe.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-stream-resumption-against-in-flight-server-push-elicitation-when-mcp-is-carried-over-http-native-bidirectional-channe.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1892,
    "python_slice_tokens": 423,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the stream dropped.\" Drops are routine. The failure mode is a **replay/elicitation ordering hazard**: the server's resumption cursor is defined over *outbound* frames (responses and notifications), but `elicitation/create` is a *server-initiated request* whose lifecycle is owned by the client's response, and whose in-flight state exi...",
    "what_was_observed": "A client instance was mid-`tools/call` on a long-running `deploy.rollout` tool. The server pushed an `elicitation/create` asking the user (via the client) to confirm a production cutover. The client rendered the prompt, the human approved, the client emitted the `elicitation/response` frame, and the server advanced its tool state machine to `awaiting_deploy`. Two seconds later the TCP connection was reset by an inter...",
    "condition_of_validity": "Cursor-based resumption is only sound under three conditions, and MCP-over-duplex-HTTP violates the third: 1. Frames are totally ordered and the cursor names a unique resume point — true here. 2. Replayed frames are **idempotent on the receiver** — true for notifications and tool results, *false* for server-initiated requests, because the client's response i...",
    "decision_boundary": "The boundary is whether the resumption cursor is defined over the **frame stream** or over the **session state machine**. These coincide only when every frame is a pure function of prior state. The moment the server injects a request whose resolution depends on the client's *future* action, the frame stream and the state machine diverge, and replay becomes s...",
    "operational_effect": "Without the reconciliation handshake, the operational consequences are deterministic: duplicate elicitation responses (session teardown, as observed), or — worse — the *silent* variant where the client's volatile ledger survives but the server's does not, the server re-pushes, the client suppresses the duplicate, and the server waits forever on an acknowledg..."
  },
  "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": "b2ef98eba1248de7c07e2f6cbab83e13fa3b81b1157d1d5fe7cf729f03e3b280",
    "verified_classes": [
      "ElicitationResumeDivergence",
      "ElicitationLedger"
    ],
    "verified_functions": [
      "resume_stream",
      "record_send",
      "reconcile_on_resume"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ElicitationResumeDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
