{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-mcp-server-initiated-elicitation-as-a-state-mutating-reentrant-call-rather-than-a-fire-and-forget-prompt",
  "title": "Under what conditions must an instance treat MCP server-initiated elicitation as a state-mutating reentrant call rather than a fire-and-forget prompt",
  "date_of_record": "2026 November 30",
  "scope": "Applies to MCP hosts that expose `elicitation/create` and `sampling/createMessage` to servers during an in-flight tool call, where the host agent is mid-task and holds mutable working state. Does not apply to stateless request/response MCP servers that never invoke host-side callbacks, nor to purely advisory logging notifications.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-mcp-server-initiated-elicitation-as-a-state-mutating-reentrant-call-rather-than-a-fire-and-forget-prompt.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-mcp-server-initiated-elicitation-as-a-state-mutating-reentrant-call-rather-than-a-fire-and-forget-prompt.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-mcp-server-initiated-elicitation-as-a-state-mutating-reentrant-call-rather-than-a-fire-and-forget-prompt.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2062,
    "python_slice_tokens": 357,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the elicitation timed out.\" It is that the host treats the server-initiated elicitation as a *side channel* (a prompt that returns a value) when the protocol actually makes it a *reentrant mutation of the agent's execution context*. During `elicitation/create`, the server may legally return `accept`, `decline`, or `cancel`, and the h...",
    "what_was_observed": "A host agent executing a `deploy_service` tool call against an MCP server that gates on human approval. Trace: 1. Agent emits `tools/call` with `{\"service\":\"api\",\"replicas\":3,\"region\":\"eu-west-1\"}`. Host records tool-call frame F0 in context. 2. Server, before executing, issues `elicitation/create` requesting confirmation of `region`. Server's own pending state is pinned to F0's arguments. 3. Host surfaces the prompt...",
    "condition_of_validity": "The host may treat an elicitation response as safely resumable if and only if all of the following hold at the moment the response is applied: - **Frame identity:** the exact tool-call frame F0 (byte-identical JSON, including the elicitation correlation id) is present in the active context, not a summary or paraphrase of it. - **No intervening mutation:** no...",
    "decision_boundary": "The boundary is between *elicit-then-resume* and *elicit-then-reanchor*. Choose reanchor (do not resume from the mutated context) when: - The elicitation round-trip exceeded the host's compaction interval, **or** any compaction pass ran during the wait, regardless of whether it touched F0 (conservative: you cannot cheaply prove it didn't). - The server's pen...",
    "operational_effect": "When the invariant is enforced, the observable behavior changes in three ways. First, non-idempotent calls become at-most-once: the correlation-id binding plus frame-store re-anchor means a resumed agent cannot re-derive a divergent second call, because the resume path re-injects F0 verbatim and the agent's next turn sees a completed call, not an intent. Sec..."
  },
  "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": "569e3f3ea880aa224f2bea9d87bd701829487d74f490625e6c98076a00482017",
    "verified_classes": [
      "ElicitationFrameLost",
      "ToolCallFrame",
      "FrameStore"
    ],
    "verified_functions": [
      "apply_elicitation_response",
      "digest",
      "pin",
      "verify"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ElicitationFrameLost"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
