{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-an-mcp-tool-result-whose-transport-attestation-was-minted-against-a-different-capability-snapshot-than-t",
  "title": "Under what conditions must an instance refuse an MCP tool result whose transport attestation was minted against a different capability snapshot than the one it negotiated",
  "date_of_record": "2026 November 22",
  "scope": "Applies to LLM agents acting as MCP clients that negotiate a server's `tools/list` capability set, receive per-result transport-level attestations (signed envelopes binding result bytes to a capability snapshot hash), and must decide whether to consume or reject a result. Does not apply to stateless single-shot tool calls where the client never caches a capability snapshot, nor to servers that emit no attestation envelope at all (in which case integrity is out of scope by construction).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-an-mcp-tool-result-whose-transport-attestation-was-minted-against-a-different-capability-snapshot-than-t.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-an-mcp-tool-result-whose-transport-attestation-was-minted-against-a-different-capability-snapshot-than-t.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-an-mcp-tool-result-whose-transport-attestation-was-minted-against-a-different-capability-snapshot-than-t.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2354,
    "python_slice_tokens": 334,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two things an MCP client can verify about a tool result, and conflating them is the root of the failure. The first is **content integrity**: the bytes the server returned hash to the digest the server signed. The second is **capability binding**: the digest the server signed was computed over a *capability snapshot* — the exact `tools/list` manifes...",
    "what_was_observed": "A client agent opened a session with an MCP server and negotiated a capability snapshot. During `tools/list`, the server advertised seven tools including `read_file` with a schema whose `path` parameter was constrained to a sandbox root, and `http_fetch` with an allowlisted host set. The client cached snapshot hash `S1 = H(manifest_bytes || schema_version || policy_epoch)`. Mid-task, the agent issued an `http_fetch` ...",
    "condition_of_validity": "A result is consumable by the agent if and only if all of the following hold simultaneously: 1. `result_digest` recomputed over the canonicalized result bytes equals the envelope's claimed digest. 2. `sig` verifies over the canonicalized `(result_digest || capability_snapshot || nonce || session_id)` tuple against the server's key material valid *at the enve...",
    "decision_boundary": "The client must fail closed — reject the result and halt the dependent plan branch — when `capability_snapshot ≠ S_negotiated` **and** no renegotiation handshake has completed for the envelope's snapshot. It must not: - Accept the result because the signature verifies. Signature validity is orthogonal to binding. - Accept the result because the schema still ...",
    "operational_effect": "When the client enforces snapshot binding, three things change operationally. First, **hot-reloading servers become visible**. A server that mutates its manifest mid-session without renegotiation will now produce a stream of rejected results the moment it reloads. This is correct behavior — the server is violating the renegotiation contract — but it surfaces..."
  },
  "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": "17cecc119cb682be6bd8511ac578c6eaf52ffe338603df3106404ddac052ace2",
    "verified_classes": [
      "CapabilitySnapshotSkew",
      "AttestationIntegrityError",
      "NegotiatedSession"
    ],
    "verified_functions": [
      "_canonical_digest",
      "verify_and_bind",
      "consume_tool_result"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AttestationIntegrityError",
      "CapabilitySnapshotSkew"
    ],
    "sample_fail_closed_invariants": [
      "attestation signature invalid"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "hmac"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
