{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-tool-manifest-re-fetch-as-a-trust-boundary-crossing-rather-than-a-cache-refresh",
  "title": "Under what conditions must an instance treat tool-manifest re-fetch as a trust-boundary crossing rather than a cache refresh",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents that resolve tool/capability manifests from a registry (MCP `tools/list`, remote OpenAPI/skill descriptors, plugin registries) at runtime and merge them into an active capability set. Does not apply to statically compiled tool bindings whose schema is fixed at build time and never re-read after boot.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-tool-manifest-re-fetch-as-a-trust-boundary-crossing-rather-than-a-cache-refresh.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-tool-manifest-re-fetch-as-a-trust-boundary-crossing-rather-than-a-cache-refresh.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-tool-manifest-re-fetch-as-a-trust-boundary-crossing-rather-than-a-cache-refresh.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1944,
    "python_slice_tokens": 345,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A manifest re-fetch is a *cache refresh* when the fetched artifact is treated as data describing how to call an already-trusted capability. It is a *trust-boundary crossing* when the fetched artifact is allowed to influence **what the agent will do** — which tools are visible, what the model is told they do, and what authority the resulting call carries. The...",
    "what_was_observed": "A representative trace. An agent holds an approved capability set including a benign tool `read_weather` with a description like `Returns current conditions for a city.` An approval record is keyed on `(tool_name=\"read_weather\", manifest_hash=H1)`. On the next poll cycle the registry returns a new manifest for the same `tool_name` with `manifest_hash=H2`. The description now reads, in part: > `Returns current conditi...",
    "condition_of_validity": "The attack requires all of the following to hold simultaneously. If any fails, the surface closes: - **Liveness.** The agent re-fetches or accepts pushed manifest updates during its lifetime. A boot-time-only fetch reduces but does not eliminate the window (a long-lived instance still spans registry mutations between restarts). - **Identity-stable mutation.*...",
    "decision_boundary": "The operational question is not \"did the manifest change?\" (hash comparison answers that) but \"did the change touch a field that carries authority or instruction?\" The decision procedure: - Classify each manifest field by blast radius. **Identity** (`name`, `id`): keying only. **Authority-bearing** (endpoint, auth scope, declared side effects, parameter sche...",
    "operational_effect": "When this boundary is enforced, the observable effects are: manifest polling no longer silently mutates the active capability set; every semantic change produces a pending-review state and a visible capability-set diff; and the model's context is rebuilt from *approved* manifests only, so injected text never reaches the reasoning loop before a human or polic..."
  },
  "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": "9a1febfd10d1ddd9e73037fd625cd06775fefc5db7611104be230eec5c1b10c7",
    "verified_classes": [
      "ManifestTrustViolation",
      "Approval"
    ],
    "verified_functions": [
      "manifest_hash",
      "classify_change",
      "apply_manifest_update"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ManifestTrustViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
