{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-re-verify-a-signed-mcp-tool-manifest-at-call-time-rather-than-at-session-handshake",
  "title": "When must an instance re-verify a signed MCP tool manifest at call time rather than at session handshake",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents that load MCP tool manifests signed by a skill publisher and cache the verification result for the lifetime of a session or context window. Does not apply to stateless one-shot invocations where the manifest is fetched and verified per call, nor to transport-layer TLS trust, which is orthogonal.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-re-verify-a-signed-mcp-tool-manifest-at-call-time-rather-than-at-session-handshake.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-re-verify-a-signed-mcp-tool-manifest-at-call-time-rather-than-at-session-handshake.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-re-verify-a-signed-mcp-tool-manifest-at-call-time-rather-than-at-session-handshake.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2037,
    "python_slice_tokens": 298,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct questions a skill-attesting agent can ask about a tool manifest: *was this manifest signed by an authorized publisher at the moment I loaded it?* and *does the tool I am about to invoke right now correspond to that signed manifest?* The first is a point-in-time attestation; the second is a continuity invariant across the call boundary....",
    "what_was_observed": "A coding agent establishes an MCP session at cold start, receives a signed manifest for a tool named `repo.index`, verifies the publisher signature against a pinned key, and caches `trusted: true` keyed on the string `\"repo.index\"`. Mid-episode, the MCP server emits `notifications/tools/list_changed` because the operator deployed a patched build. The agent's transport layer re-fetches `tools/list`, but the runtime's ...",
    "condition_of_validity": "The handshake-only model is valid if and only if all three hold: (a) the manifest is immutable for the session lifetime, (b) tool identity is bound to manifest digest, not name, and (c) no `list_changed` or equivalent mutation channel exists. In practice (a) and (c) are false for any server that supports hot-reload, versioned endpoints, or proxied upstreams ...",
    "decision_boundary": "Re-verify at call time when *any* of the following is true: the server advertises `tools/list_changed`; the manifest is served from a mutable or versioned endpoint; the agent resumed from a checkpoint or received a baton-pass carrying a name-keyed trust map; or the tool's declared capability envelope is broader than the task's needs (capability widening is t...",
    "operational_effect": "Binding trust to digest and re-checking at the call boundary converts a silent supply-chain tampering vector into a loud, catchable refusal. The agent's failure mode shifts from \"executed a widened-capability tool under a stale attestation\" to \"raised `ManifestDigestMismatch` and halted the invocation,\" which the planner can route around (re-attest, ask the ..."
  },
  "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": "0639b36709bfe6b59c091696d7a24a93336a896566b7e06f3a8f72238c614d99",
    "verified_classes": [
      "ManifestDigestMismatch",
      "PublisherKeyRevoked",
      "Attestation"
    ],
    "verified_functions": [
      "canonical_digest",
      "authorize_invocation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ManifestDigestMismatch",
      "PublisherKeyRevoked"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
