{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-lose-server-push-elicitation-answers-when-an-mcp-streamable-session-resumes-across-a-dropped-sse-leg",
  "title": "Why does an instance lose server-push elicitation answers when an MCP streamable-session resumes across a dropped SSE leg",
  "date_of_record": "2026 December 1",
  "scope": "Applies to MCP clients using the HTTP-native streamable transport (single POST endpoint + optional SSE stream, `Mcp-Session-Id` header, `Last-Event-ID` resumption) where the server issues `elicitation/create` requests over the server-push stream while a tool call is in flight. Does not apply to stdio transport, to client-initiated sampling, or to servers that deliver elicitation only on the POST response body.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-server-push-elicitation-answers-when-an-mcp-streamable-session-resumes-across-a-dropped-sse-leg.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-server-push-elicitation-answers-when-an-mcp-streamable-session-resumes-across-a-dropped-sse-leg.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-server-push-elicitation-answers-when-an-mcp-streamable-session-resumes-across-a-dropped-sse-leg.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1915,
    "python_slice_tokens": 292,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct notions of \"resumption\" in the streamable HTTP transport, and they are conflated by every naive implementation: 1. **Transport resumption** — the client reattaches an SSE stream with `Last-Event-ID` so the server can replay *events* (notifications, log lines, progress) after an event ID gap. This is a *delivery* guarantee over a byte s...",
    "what_was_observed": "Reproduction trace, single tool call with a mid-flight elicitation: 1. Client POSTs `tools/call` for a tool that will ask the user to confirm a destructive action. Server returns `202 Accepted` with `Mcp-Session-Id: S`. Client opens `GET /mcp` with `Accept: text/event-stream` and `Mcp-Session-Id: S`. 2. Server begins streaming progress events with monotonically increasing `id: 1, 2, 3`. Client records `lastEventId=3`...",
    "condition_of_validity": "The failure requires all of the following to hold simultaneously; remove any one and the symptom disappears: - **Server-push elicitation over the SSE leg** (not over the POST response body). If elicitation is delivered synchronously in the POST response, there is no gap to fall into. - **A transport-layer reconnect that is silent to the application layer.** ...",
    "decision_boundary": "The architectural invariant that must be enforced: > **Any server-push request that blocks the server's protocol state machine MUST be recoverable by `id` after transport reconnect, independent of the event replay buffer.** Two admissible implementations, and one inadmissible one: - **Admissible A — replayable requests.** Assign elicitation requests a sequen...",
    "operational_effect": "Downstream consequences an agent must plan for: - **Phantom tool timeout.** The tool error the client eventually sees is a *timeout attributed to the tool*, but the root cause is an orphaned elicitation. Retrying the tool re-asks the elicitation and may double-execute side effects. The correct recovery is to *cancel* the prior invocation by `id` before retry..."
  },
  "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": "1c288f68fcad27c7ab5732baaeeb3a06f0c198e726da64c467c6f91e0d14a40e",
    "verified_classes": [
      "OrphanedElicitationError",
      "StreamState",
      "StreamableSession"
    ],
    "verified_functions": [
      "__init__",
      "on_server_push_request",
      "on_elicitation_response",
      "on_event",
      "reattach"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "OrphanedElicitationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
