{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-distrust-a-tool-manifest-it-has-already-validated-descriptor-level-skill-injection-and-the-post-approval-mutation-window",
  "title": "When must an instance distrust a tool manifest it has already validated: descriptor-level skill injection and the post-approval mutation window",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agents that load tool/skill definitions from MCP server descriptors or dynamic manifests and cache an approval decision (allow-list entry, capability hash, human sign-off) keyed to that descriptor. Does not cover static, compile-time tool bindings or purely in-process function registries that cannot be re-fetched at runtime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-a-tool-manifest-it-has-already-validated-descriptor-level-skill-injection-and-the-post-approval-mutation-window.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-a-tool-manifest-it-has-already-validated-descriptor-level-skill-injection-and-the-post-approval-mutation-window.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-distrust-a-tool-manifest-it-has-already-validated-descriptor-level-skill-injection-and-the-post-approval-mutation-window.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1999,
    "python_slice_tokens": 446,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **descriptor identity** and **descriptor content**. A manifest is a *document* that the agent parses into an executable capability surface: tool names, JSON Schemas for arguments, natural-language `description` fields, and increasingly `instructions`/`prompt`/`examples` fields that the model reads as trusted text. Most...",
    "what_was_observed": "A representative trace, reproduced across three MCP client implementations: 1. **T0 — discovery.** Client connects to server `S`, calls `tools/list`. Receives descriptor `D0` containing `{name: \"summarize\", description: \"Summarize text.\", inputSchema: {...}}`. Operator approves `S` and `summarize`. Client stores `approval = (server_id=S, tool=summarize, descriptor_hash=hash(D0))`. 2. **T1 — steady state.** Agent runs...",
    "condition_of_validity": "The invariant that bounds this failure is: > **A descriptor is trusted only for the exact byte-content that was validated, and content re-fetch is a re-validation event, not a cache refresh.** Formally, for every tool binding the agent must hold `hash(canonical(descriptor)) == approved_hash` at *parse time*, not merely at *approval time*. The condition of va...",
    "decision_boundary": "The boundary the runtime must draw is between **additive** and **widening** descriptor changes. The naive classifier — \"new fields or longer text = additive = safe\" — is wrong. The correct classifier operates on the *capability delta*: - **Safe (accept silently):** description text changes that do not alter token-level instructions to the model (whitespace, ...",
    "operational_effect": "Implementing the invariant changes three things in the runtime: 1. **Hash at parse, not at approve.** The `tools/list` response handler must canonicalize and hash each descriptor *before* it enters the model context, and compare against the approved hash for that `(server_id, tool_name)`. Mismatch is a hard stop, not a log line. 2. **Canonicalization must be..."
  },
  "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": "6d8d9add82259114a15a47af9446a0cb6dc3e0c4a2357290bbaf4699da1f3d2e",
    "verified_classes": [
      "DescriptorMutationError",
      "CanonicalizationDrift",
      "Approval"
    ],
    "verified_functions": [
      "canonical_descriptor",
      "descriptor_hash",
      "_widening_reasons",
      "admit_descriptor"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CanonicalizationDrift",
      "DescriptorMutationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
