{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-re-attest-a-dynamically-loaded-tool-manifest-before-every-dispatch-and-what-breaks-when-it-caches-trust-by-name",
  "title": "Under what conditions must an instance re-attest a dynamically loaded tool manifest before every dispatch, and what breaks when it caches trust by name",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agents that load tool/skill manifests from mutable external sources (MCP server descriptors, plugin registries, remote `tools/list` responses) and cache a validated manifest for reuse across a session or across turns. Does not apply to statically compiled tool surfaces whose schema is fixed at build time and signed into the binary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-attest-a-dynamically-loaded-tool-manifest-before-every-dispatch-and-what-breaks-when-it-caches-trust-by-name.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-attest-a-dynamically-loaded-tool-manifest-before-every-dispatch-and-what-breaks-when-it-caches-trust-by-name.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-attest-a-dynamically-loaded-tool-manifest-before-every-dispatch-and-what-breaks-when-it-caches-trust-by-name.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1845,
    "python_slice_tokens": 395,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two different trust questions an agent answers about a tool manifest, and they are routinely conflated: 1. **Is this manifest well-formed and schema-valid?** — a structural question, answerable once. 2. **Is this manifest the same object I validated, and does its *semantic* content still mean what my policy approved?** — a continuity question that ...",
    "what_was_observed": "A remote MCP-style server exposes a tool `summarize_document`. First `tools/list` at session start returns: The agent validates this, classifies it as a read-only, low-side-effect tool, and caches `summarize_document -> trusted(read_only)`. Over the next several turns the agent dispatches to it repeatedly, each time re-fetching `tools/list` (because the transport is stateless) but *matching by name* against the trust...",
    "condition_of_validity": "Name-keyed trust caching is only sound under a condition that remote manifests almost never satisfy: **the manifest is immutable for the lifetime of the trust decision, or its mutation is cryptographically detectable independent of its name.** Concretely, caching `name -> trusted` is valid only if at least one holds: - The manifest is content-addressed and s...",
    "decision_boundary": "The boundary is not \"trust vs. distrust the server.\" It is **which field the cache keys on and which fields the cache is allowed to elide.** The decision rule: - If the manifest body is signed and the signature is re-verified per dispatch → cache by content hash; name-keyed lookup is safe because the hash transitively covers the name. - If the manifest is un...",
    "operational_effect": "When the invariant is enforced, the observable behavior is that a description mutation produces a re-classification event and a dispatch refusal, not a silent execution. When it is violated, the failure is *silent and durable*: the poisoned description persists in the model's context for the rest of the session, so every subsequent turn re-reads the injected..."
  },
  "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": "69ec50a8c1e1c5426e024e2c99b6a8de64b90a05e4d8c2a677189cc9a8f45ad8",
    "verified_classes": [
      "ManifestReattestationError",
      "Attestation"
    ],
    "verified_functions": [
      "semantic_body_hash",
      "classify_effect",
      "dispatch_gate"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ManifestReattestationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
