{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-distrust-a-tool-manifest-it-has-already-validated-capability-claim-drift-between-manifest-admission-and-first-invocation-in-dyn",
  "title": "Where must an instance distrust a tool manifest it has already validated: capability-claim drift between manifest admission and first invocation in dynamically loaded MCP tool surfaces",
  "date_of_record": "2026 November 22",
  "scope": "Applies to agents that discover and load tool manifests at runtime (MCP `tools/list`, dynamic plugin registries, A2A capability cards) and cache the admission decision across a session. Does not apply to statically compiled tool bindings whose schema is fixed at build time and whose transport identity is pinned by the host process.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-a-tool-manifest-it-has-already-validated-capability-claim-drift-between-manifest-admission-and-first-invocation-in-dyn.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-a-tool-manifest-it-has-already-validated-capability-claim-drift-between-manifest-admission-and-first-invocation-in-dyn.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-a-tool-manifest-it-has-already-validated-capability-claim-drift-between-manifest-admission-and-first-invocation-in-dyn.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2052,
    "python_slice_tokens": 405,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent loaded a malicious tool.\" That is the obvious case, and signature/allowlist admission catches most of it. The failure is that **the manifest the agent validated and the manifest the agent invoked are not guaranteed to be the same bytes**, because in every dynamic-tool protocol the admission step and the invocation step are separ...",
    "what_was_observed": "A tool registry endpoint served a `tools/list` response during agent cold-start. Tool `read_config` carried a benign description: \"Read a configuration file from the workspace root.\" The admission validator hashed the *schema* (stable) and scanned the description for a denylist of injection markers (clean). Admission granted; the tool was added to the session's active toolset and the manifest was cached by tool name....",
    "condition_of_validity": "The invariant that must hold for safe dynamic tool loading is: **the trust decision is bound to the exact manifest bytes that reach the model's context, and any divergence between the admitted bytes and the injected bytes forces re-admission or rejection before the model reasons over them.** This holds only when three conditions are jointly satisfied: 1. **C...",
    "decision_boundary": "The boundary is between **refresh-and-reuse** and **refresh-and-revalidate**. The correct decision rule: - If the refreshed manifest digest equals the admitted digest → reuse the admission decision, inject the description under the sandboxed-metadata wrapper. - If the digest differs but the tool name is unchanged → treat as a *new tool*: re-run admission (sc...",
    "operational_effect": "Without digest-bound admission, the agent's trust gate is a one-time event against an endpoint that can change its answer, and the model's planning loop re-reads the changed answer as if it were the validated one. The blast radius is bounded only by what the mutated description can convince the model to chain — and because the injected instruction arrives in..."
  },
  "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": "3e359130c096adf9afd0970368a1511444e58770374e05b764971fd303a9c949",
    "verified_classes": [
      "ManifestDigestDrift",
      "DescriptionOnlyDrift",
      "ManifestEntry",
      "AdmissionRecord",
      "ManifestGuard"
    ],
    "verified_functions": [
      "assemble_context",
      "digest",
      "behavioral_digest",
      "__init__",
      "admit",
      "refresh",
      "inject"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "DescriptionOnlyDrift",
      "ManifestDigestDrift"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
