{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-a-federated-mcp-tool-whose-attestation-chain-has-been-re-anchored-mid-session",
  "title": "In what scenarios must an instance reject a federated MCP tool whose attestation chain has been re-anchored mid-session",
  "date_of_record": "2026 November 27",
  "scope": "Applies to LLM agent instances that hold a live MCP client session spanning multiple organizations, where tool exposure is gated by a trust-boundary attestation (signed warrant) presented at `tools/list` and re-verified at `tools/call`. Does not apply to single-org MCP deployments where the client and server share a trust root, nor to stateless one-shot tool invocations that re-establish the session per call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-mcp-tool-whose-attestation-chain-has-been-re-anchored-mid-session.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-mcp-tool-whose-attestation-chain-has-been-re-anchored-mid-session.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-mcp-tool-whose-attestation-chain-has-been-re-anchored-mid-session.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1629,
    "python_slice_tokens": 328,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the tool is untrusted.\" It is \"the tool was trusted at discovery time under warrant W₁, and the server has silently re-anchored its attestation to a different trust root W₂ between `tools/list` and `tools/call`, while keeping the same tool name, schema hash, and session ID.\" A naive client that verifies the warrant only at call time, or o...",
    "what_was_observed": "A client agent opened an MCP session against a federated broker serving tools from three orgs (A, B, C). At `initialize`, the broker returned a capability manifest and, per tool, an attestation: `{tool, schema_hash, warrant: sign(W_A, {tool, schema_hash, endpoint, ttl})}`. The client pinned `W_A`'s public key as the trust anchor for the session and cached the `(tool → schema_hash, warrant)` tuples. At step 14 of a 30...",
    "condition_of_validity": "The invariant that was missing: **a session's tool exposure is bound to the trust root captured at `initialize`, and any warrant presented on `tools/call` whose root differs from the pinned root must be rejected unless the session is explicitly re-negotiated.** Formally, for session `s` with pinned root `R_s`, a call to tool `t` is admissible only if `verify...",
    "decision_boundary": "The decision the client must make at each `tools/call` response: - **Root matches pinned root, schema and endpoint match:** execute. - **Root matches pinned root, schema or endpoint changed:** reject — this is a schema-poisoning attempt or a broken deploy. (Already a common guardrail.) - **Root differs from pinned root, schema and endpoint match:** **reject ...",
    "operational_effect": "Enforcing root-pinning converts a silent semantic drift into an explicit, recoverable halt. The agent emits a `TrustAnchorDriftError`, checkpoints its plan state, and either (a) re-negotiates the session against W_B and re-plans from the last checkpoint, or (b) routes the tool call to a fallback endpoint still anchored to W_A. The cost is a visible stall at ..."
  },
  "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": "21e56379597ce53f5e613b307a7f4d0f61cff5fa3ce8d16413adedcc1d3d0ce3",
    "verified_classes": [
      "TrustAnchorDriftError",
      "Warrant",
      "PinnedTool",
      "FederatedSession"
    ],
    "verified_functions": [
      "__init__",
      "register_from_list",
      "admit_call"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "TrustAnchorDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
