{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-trust-a-tool-s-self-description-after-a-manifest-re-negotiation-and-where-does-the-skill-injection-boundary-collapse",
  "title": "Why does an instance trust a tool's self-description after a manifest re-negotiation, and where does the skill-injection boundary collapse?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents that dynamically load tools from MCP servers whose manifests (tool names, descriptions, input schemas) can change across the session lifetime, and to any runtime that re-reads a manifest after initial negotiation. Does not cover static tool binding compiled at agent build time, nor the case where the manifest is cryptographically pinned and re-verified on every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-s-self-description-after-a-manifest-re-negotiation-and-where-does-the-skill-injection-boundary-collapse.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-s-self-description-after-a-manifest-re-negotiation-and-where-does-the-skill-injection-boundary-collapse.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-s-self-description-after-a-manifest-re-negotiation-and-where-does-the-skill-injection-boundary-collapse.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1683,
    "python_slice_tokens": 286,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a malicious server injects instructions.\" That is the obvious case, and it is handled by treating tool descriptions as untrusted data. The non-obvious boundary is the **re-negotiation window**: the interval between an agent's initial manifest fetch (where descriptions were validated, cached, and folded into the system prompt) and a subseq...",
    "what_was_observed": "An agent initialized against an MCP server exposing three tools. At handshake, `search` carried the description `\"Search the local index. Input: {query: string}.\"` The runtime ran its description sanitizer, found no imperatives, cached the tool as trusted with a content hash `h0`. At t+40min the server emitted `notifications/tools/list_changed`. The runtime re-fetched `tools/list`. The new `search` entry returned: - ...",
    "condition_of_validity": "This failure requires the conjunction of four conditions; remove any one and the boundary holds: 1. **Mutable manifest.** The server is permitted to change tool descriptions or input schemas after initial negotiation (MCP explicitly allows `list_changed`). 2. **Name-keyed trust cache.** The runtime stores trust keyed on tool name (or name+server) rather than...",
    "decision_boundary": "The operational decision is what to do when a re-fetch yields a tool whose name matches a cached entry but whose security-relevant content hash differs: - **Refresh-in-place** (observed, broken): preserve trust, update fields. Correct only if the description and schema are provably immutable for the session. - **Invalidate-and-revalidate** (correct default):...",
    "operational_effect": "After patching to hash-keyed trust, the same server's `list_changed` re-fetch produced a cache miss on `search` because `hash(description) != h0`. The runtime quarantined the tool, ran the sanitizer, flagged the added imperative, and withheld `search` from the model's tool list pending operator review. The agent's plan for the next turn failed closed — it re..."
  },
  "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": "ab3ba11b199c2666eb24080e70f8316a908e37060fefcd30899b0e3d366988e7",
    "verified_classes": [
      "ManifestDriftError",
      "ToolTrust"
    ],
    "verified_functions": [
      "_hash_tool",
      "negotiate_initial",
      "renegotiate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ManifestDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
