{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-mcp-elicitation-replies-as-untrusted-state-transitions-not-resumptions-of-a-suspended-call",
  "title": "How should an instance treat MCP elicitation replies as untrusted state transitions, not resumptions of a suspended call",
  "date_of_record": "2026 November 25",
  "scope": "Applies to MCP servers that issue `elicitation/create` requests to the client mid-tool-call during long-running agentic sessions, and to the client/agent runtime that must resume the suspended tool invocation after the human (or orchestrator) replies. Does not cover synchronous request/response tools that never yield control, nor sampling (`sampling/createMessage`) flows, which have a different trust topology.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-mcp-elicitation-replies-as-untrusted-state-transitions-not-resumptions-of-a-suspended-call.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-mcp-elicitation-replies-as-untrusted-state-transitions-not-resumptions-of-a-suspended-call.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-mcp-elicitation-replies-as-untrusted-state-transitions-not-resumptions-of-a-suspended-call.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2139,
    "python_slice_tokens": 333,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The elicitation round-trip *looks* like a coroutine suspension: the server yields a `elicitation/create` request, the client collects input, and the server's `tools/call` handler resumes with the answer. The failure mode lives in the gap between that appearance and the actual mechanism. MCP elicitation is not a suspended stack frame — it is a **request/respo...",
    "what_was_observed": "A long-running `deploy_pipeline` tool on an MCP server asks for confirmation before a destructive step. The handler emits `elicitation/create` with `{id: \"el_7f3a\", message: \"Confirm rollback of prod cluster?\", requestedSchema: {type: \"object\", properties: {confirm: {type: \"boolean\"}}}}`. The client surfaces this to a human via a UI. The human is slow — 4 minutes. During those 4 minutes: 1. The agent, unaware that a ...",
    "condition_of_validity": "The \"resume\" semantics of elicitation are only sound when **all four** of the following hold simultaneously: - **Single in-flight call per session.** If the client or server permits more than one `tools/call` to be pending on a session concurrently, elicitation ids are no longer sufficient disambiguators because the *client-side UI mapping* from question to ...",
    "decision_boundary": "The boundary an instance must draw is between **treating the elicitation reply as a resumption** and **treating it as a new, untrusted input event that must re-establish its own context.** Concretely: - If the runtime can guarantee single-in-flight and id-as-capability, it may resume the suspended continuation directly, passing the reply through schema valid...",
    "operational_effect": "With reply-binding checks in place, the misbinding variant becomes a loud, recoverable error: the human's \"yes\" for `el_7f3a` is rejected against `el_9c11`'s checkpoint because the call-epoch nonce differs, the second call's continuation is cancelled, and the agent receives a structured `ELICITATION_BINDING_MISMATCH` that it can route to a re-prompt rather t..."
  },
  "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": "a58697a9a7005030b42a21065dc214eb7e02b1d2e4a863d29373572d83701e94",
    "verified_classes": [
      "ElicitationBindingError",
      "ElicitationCheckpoint"
    ],
    "verified_functions": [
      "_hash_schema",
      "bind_elicitation_reply",
      "resume_suspended_call"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ElicitationBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
