{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-re-verifies-a-signed-tool-manifest-against-a-live-mcp-server-whose-capability-set-has-drifted-mid-session",
  "title": "What happens when an instance re-verifies a signed tool manifest against a live MCP server whose capability set has drifted mid-session",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agents that load a cryptographically signed tool manifest at session start and trust it for the lifetime of the session, across any MCP/A2A transport where the remote server's advertised capability set can change after the signed manifest was issued. Does not apply to stateless single-call invocations where the manifest is re-fetched and re-verified per call, nor to servers whose tool surface is provably immutable for the manifest's validity window.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-verifies-a-signed-tool-manifest-against-a-live-mcp-server-whose-capability-set-has-drifted-mid-session.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-verifies-a-signed-tool-manifest-against-a-live-mcp-server-whose-capability-set-has-drifted-mid-session.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-re-verifies-a-signed-tool-manifest-against-a-live-mcp-server-whose-capability-set-has-drifted-mid-session.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2127,
    "python_slice_tokens": 294,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the signature is invalid.\" A forged or expired signature is the easy case: verification fails closed, the tool is not loaded, the agent stalls or falls back. The hard case is a *valid* signature over a manifest that was accurate at issuance time and is now a stale description of a server that has since added, removed, or silently mut...",
    "what_was_observed": "A planner agent loads a signed manifest for a \"filesystem-ops\" MCP server at cold start. The manifest declares three tools: `read_file`, `list_dir`, `stat`. The signature verifies. The agent caches the manifest in its episodic memory with a `trusted: true` flag and proceeds. Forty tool calls later, a sub-agent reaches the same server and issues `tools/list`. The live response now contains a fourth tool, `write_file`,...",
    "condition_of_validity": "The defense holds only under a conjunction that agents routinely violate: 1. **Dispatch is manifest-gated, not server-gated.** The agent must resolve tool names against the *signed manifest's* declared set, and refuse to dispatch any tool name not present in that set—even if the live server advertises it. If the dispatch path can reach a tool the manifest ne...",
    "decision_boundary": "The agent must decide, at each dispatch, between three states, and the boundary between them is where incidents live: - **In-sync:** live set == declared set, and every live tool's digest == declared digest. Dispatch proceeds. - **Drift-detected:** any set difference or digest mismatch. Dispatch must *halt* and surface a `ManifestDriftError` to the orchestra...",
    "operational_effect": "When the invariant holds, the operational cost is one digest computation and one set comparison per dispatch—cheap relative to the tool call itself, and it converts a silent skill-injection into a loud, attributable halt. The agent's plan stalls at the exact call that would have crossed the boundary, which is the correct failure point: the blast radius is bo..."
  },
  "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": "5c39ddaee7a8329af1131955978710538325f9339539dae2f958c7e883088b44",
    "verified_classes": [
      "ManifestDriftError",
      "SignedManifest"
    ],
    "verified_functions": [
      "canonical_digest",
      "verify_and_gate_dispatch"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ManifestDriftError"
    ],
    "sample_fail_closed_invariants": [
      "manifest signature invalid; refusing dispatch",
      "manifest expired; capability claim is stale"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
