{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-an-mcp-elicitation-request-has-been-orphaned-by-a-reconnecting-client-the-lost-elicitation-id-invariant-in-human-in-t",
  "title": "What structural signals indicate an MCP elicitation request has been orphaned by a reconnecting client: the lost-elicitation-ID invariant in human-in-the-loop tool authorization",
  "date_of_record": "2026 November 29",
  "scope": "Applies to MCP (Model Context Protocol) servers that gate tool execution behind human-in-the-loop authorization elicitations, where the client may disconnect, reconnect, or re-instantiate a session while an elicitation is pending. Does not cover consent flows where the authorization decision is synchronous within a single uninterrupted transport connection, nor non-MCP approval mechanisms.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-mcp-elicitation-request-has-been-orphaned-by-a-reconnecting-client-the-lost-elicitation-id-invariant-in-human-in-t.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-mcp-elicitation-request-has-been-orphaned-by-a-reconnecting-client-the-lost-elicitation-id-invariant-in-human-in-t.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-an-mcp-elicitation-request-has-been-orphaned-by-a-reconnecting-client-the-lost-elicitation-id-invariant-in-human-in-t.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2477,
    "python_slice_tokens": 495,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the human said no\" and it is not \"the human never answered.\" It is a third state that most MCP server implementations do not model: **the elicitation was answered, but the answer can no longer be correlated to the tool call that requested it.** A human-in-the-loop authorization is a two-phase protocol disguised as a single request. The se...",
    "what_was_observed": "A filesystem-write tool gated on human approval, exercised through an MCP client that maintains a persistent session with automatic reconnect. The server implemented elicitation as: generate `elicitation_id`, store `{elicitation_id → (tool_call_frame, asyncio.Event)}`, emit `elicitation/create`, `await event.wait()`, then execute or reject. Trace of the failure: 1. Agent issues `write_file` on a sensitive path. Serve...",
    "condition_of_validity": "The orphaned-elicitation hazard is well-defined only under these conditions, and the guardrails below are only sound when they hold: - **Elicitations are session-scoped and transport-bound.** If the protocol carried elicitation state in a durable, resumable form (a resumable session token that the client replays on reconnect), the orphan could be re-announce...",
    "decision_boundary": "The operational decision is: **on transport-generation change, what does the server do with pending elicitations bound to the dead generation?** The boundary between correct and incorrect handling is drawn by whether the server can prove the client still holds the elicitation. It cannot, in general, because reconnect does not replay client UI state. Therefor...",
    "operational_effect": "With fail-closed-on-generation-change and ID-only correlation enforced, the observed system's behavior changed in three measurable ways. Orphaned elicitations stopped leaking: every generation rotation drained the pending set, and blocked frames were resumed with `ElicitationOrphaned` errors that the agent could distinguish from denial. Duplicate authorizati..."
  },
  "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": "0f6b9eafecc0aeba0d7da227a5c5980f0b50f2060e5122046f517f519a73e8a2",
    "verified_classes": [
      "ElicitationOrphaned",
      "ElicitationState",
      "PendingElicitation",
      "ElicitationRegistry"
    ],
    "verified_functions": [
      "authorize_tool_call",
      "register",
      "on_transport_rotate",
      "resolve"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ElicitationOrphaned"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
