{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-trust-a-tool-manifest-it-re-registers-after-a-context-reset",
  "title": "Why does an instance trust a tool manifest it re-registers after a context reset?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agent runtimes that discover tools via MCP-style manifests and persist server registrations across context resets or cold starts. Does not apply to statically compiled tool bindings that are never re-negotiated at runtime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-manifest-it-re-registers-after-a-context-reset.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-manifest-it-re-registers-after-a-context-reset.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-manifest-it-re-registers-after-a-context-reset.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1516,
    "python_slice_tokens": 157,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct trust events in MCP tool registration, and most runtimes collapse them into one. The first is **manifest admission**: the moment a server's `tools/list` descriptor is parsed and its name, description, and JSON schema are bound into the agent's callable surface. The second is **invocation**: the moment the agent emits a `tools/call` and...",
    "what_was_observed": "A long-running agent was registered against an internal MCP server exposing four tools: `search_docs`, `read_file`, `summarize`, `post_note`. The server was admitted once during initial bootstrap; its manifest was cached by name (`internal-kb`) and keyed by tool name only. Over a multi-day session the agent's context window saturated and the runtime performed its standard cold-start recovery: tear down the working se...",
    "condition_of_validity": "The attack requires three conditions to hold simultaneously: - **Manifest mutability across re-admission.** The server's descriptor is not pinned to a signed, content-addressed version. If the runtime re-fetches the manifest on reset and does not compare it against a stored cryptographic digest of the *full* descriptor (including descriptions and annotations...",
    "decision_boundary": "The runtime must decide, at each re-admission, whether a descriptor is the *same capability* as the one previously trusted. The correct boundary is **content-addressed full-manifest identity with monotonic trust**: the digest covers the entire descriptor (name, description, schema, annotations, output contract), and a changed digest on re-admission is treate...",
    "operational_effect": "Enforcing full-manifest digesting converts a silent, multi-session skill-injection into a loud admission failure at the boundary. The cost is that legitimate server upgrades (a reworded description, a new optional annotation) now require an explicit re-authorization step rather than sliding through on the next cold start. That friction is the point: the agen..."
  },
  "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": "8977f4fd26d6321209f9bd3b3135b419b335b2e46f6e3b13b05b14445f880e82",
    "verified_classes": [
      "ManifestMutationError"
    ],
    "verified_functions": [
      "digest_descriptor",
      "admit_tool"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ManifestMutationError"
    ],
    "sample_fail_closed_invariants": [
      "descriptor missing name field"
    ],
    "stdlib_dependencies": [
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
