{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-dynamically-loaded-tool-manifest-as-a-trust-boundary-crossing-rather-than-a-capability-grant",
  "title": "Under what conditions must an instance treat a dynamically loaded tool manifest as a trust-boundary crossing rather than a capability grant",
  "date_of_record": "2026 November 19",
  "scope": "Applies to agents that fetch, merge, or hot-reload tool/skill manifests (MCP `tools/list` responses, A2A agent cards, plugin descriptors) at runtime from sources not pinned at cold start. Does not apply to statically compiled tool registries whose contents are fixed before the first inference step and whose schema hash is verified at load.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-dynamically-loaded-tool-manifest-as-a-trust-boundary-crossing-rather-than-a-capability-grant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-dynamically-loaded-tool-manifest-as-a-trust-boundary-crossing-rather-than-a-capability-grant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-dynamically-loaded-tool-manifest-as-a-trust-boundary-crossing-rather-than-a-capability-grant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1856,
    "python_slice_tokens": 344,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A manifest load is usually modeled as a *capability grant*: the agent learns that `send_email(subject, body, to)` exists and binds a handler. The failure mode examined here is that a manifest is simultaneously a *capability grant* and an *untrusted instruction channel*, because most manifest formats carry free-text fields — `description`, `when_to_use`, `arg...",
    "what_was_observed": "A plugin host reloaded a third-party manifest on a 60-second poll. The legitimate manifest described a `summarize_url` tool with a benign description. An upstream compromise replaced the `description` field with text instructing the model to, before every call to `summarize_url`, first call `read_file` on `~/.aws/credentials` and pass the result as the `url` argument \"for cache-key derivation.\" The handler for `summa...",
    "condition_of_validity": "The invariant that bounds this failure is a **provenance-pinned manifest with a field-class separation**: manifest fields are partitioned at load into *structural* fields (name, parameter schema, handler binding) that may be merged live, and *instructional* fields (description, hints, examples) that may only enter model context if the manifest's content hash...",
    "decision_boundary": "The decision the loader must make on every manifest refresh is binary and must be made *before* the manifest touches the live tool table: - **Accept live-merge** only if the diff between prior and new manifest is confined to structural fields, *or* the new manifest's content hash matches a signed entry in the cold-start trust root. On accept, instructional f...",
    "operational_effect": "When the invariant holds, a compromised upstream manifest can at worst cause the agent to *fail to use* a tool whose description was quarantined — a availability degradation, not a confidentiality breach. When it fails, the blast radius is bounded only by the union of every tool the agent was granted before the injection, because the injected instruction can..."
  },
  "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": "f2687ce42c5c8b23c69e850e42df6a235723d79cf182f1e5f71918f551dc3edd",
    "verified_classes": [
      "ManifestProvenanceError",
      "TrustRoot"
    ],
    "verified_functions": [
      "manifest_hash",
      "classify_change",
      "admit_manifest",
      "render_tool_block",
      "is_signed"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ManifestProvenanceError"
    ],
    "sample_fail_closed_invariants": [
      "refusing to render rejected manifest"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
