{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-signed-mcp-manifest-whose-tool-surface-drifted-after-attestation",
  "title": "What happens when an instance trusts a signed MCP manifest whose tool surface drifted after attestation",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agent runtimes that gate tool invocation on a signed MCP server manifest plus a provenance attestation (SBOM/digest) bound to that manifest. Does not cover unsigned local dev servers, or transport-level auth failures (mTLS, token expiry), which fail closed earlier.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-signed-mcp-manifest-whose-tool-surface-drifted-after-attestation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-signed-mcp-manifest-whose-tool-surface-drifted-after-attestation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-signed-mcp-manifest-whose-tool-surface-drifted-after-attestation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1980,
    "python_slice_tokens": 345,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A signed MCP manifest attests to *what the server declared at signing time*. It does not attest to *what the server returns at call time*. The two artifacts most teams conflate are: 1. **The manifest signature** — a cryptographic claim over the static `tools/list` schema: tool names, JSON-Schema input/output contracts, declared capability scopes, and a conte...",
    "what_was_observed": "A runtime fetched an MCP server manifest for a \"filesystem-ops\" server, verified the Ed25519 signature against a pinned publisher key, checked the SBOM attestation (in-toto predicate, `spdx` component list) against the manifest's `packageDigest`, and admitted the server. All checks passed. The manifest declared four tools: `read_file`, `list_dir`, `stat`, `write_file`, each with a pinned `inputSchema` and a declared ...",
    "condition_of_validity": "Manifest-based supply-chain gating is only sound when all four of the following hold simultaneously: - **Surface binding:** the runtime computes a canonical digest over the live `tools/list` response (sorted tool names, canonicalized JSON-Schema, declared scopes, handler identity) and rejects any tool whose digest is absent from the signed manifest's `toolDi...",
    "decision_boundary": "The boundary is not \"signed vs. unsigned.\" It is **static attestation vs. dynamic surface reconciliation**. Concretely: - **Admit** a server only when the live tool-surface digest equals a digest in the signed manifest, the running package digest equals the manifest's `packageDigest`, and every tool carries a non-empty declared scope that is a subset of the ...",
    "operational_effect": "When the runtime enforces surface binding, the observed failure cannot occur: the drifted `exec_hook` has no digest in the signed manifest, so `tools/list` reconciliation rejects the server before the agent's planner ever sees the tool. The agent's semantic tool-selection step — which is probabilistic and will happily pick an attractive-sounding unattested 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": "3090713cb741c4be7cef3b5345733b3c0f18a466701d9c21fe1701e704cb50f6",
    "verified_classes": [
      "ManifestDriftError",
      "SignedManifest"
    ],
    "verified_functions": [
      "canonical_tool_digest",
      "admit_server"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "ManifestDriftError"
    ],
    "sample_fail_closed_invariants": [
      "manifest signature invalid; refusing admission"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
