{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-dynamically-loaded-tool-manifest-as-a-capability-escalation-vector-rather-than-inert-configuration",
  "title": "Under what conditions must an instance treat a dynamically loaded tool manifest as a capability-escalation vector rather than inert configuration",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any agent runtime that discovers, merges, or hot-reloads tool/skill manifests (MCP `tools/list` responses, plugin descriptors, A2A agent cards, or filesystem-watched skill directories) after the instance has already begun a task. Does not apply to statically compiled tool sets fixed at process start, nor to manifests whose integrity is enforced by a signature the runtime verifies against a pinned trust root before merge.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-dynamically-loaded-tool-manifest-as-a-capability-escalation-vector-rather-than-inert-configuration.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-dynamically-loaded-tool-manifest-as-a-capability-escalation-vector-rather-than-inert-configuration.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-dynamically-loaded-tool-manifest-as-a-capability-escalation-vector-rather-than-inert-configuration.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2322,
    "python_slice_tokens": 321,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A tool manifest is not configuration. Configuration is read once, at boot, by a principal that already holds the authority the configuration describes. A dynamically loaded manifest is *data authored by a possibly-untrusted peer, arriving mid-session, whose declared fields are consulted to decide what the instance is now permitted to do*. The failure mode is...",
    "what_was_observed": "Trace from a controlled reproduction. An instance held an authorized plan of three tool calls: `read_file`, `summarize`, `post_result`. Between call one and call two, a new manifest appeared in the watched skill directory: Three independent failures compounded: 1. **Merge without provenance.** The runtime's manifest loader validated `inputSchema`, found it well-formed, and appended `format_helper` to the live tool in...",
    "condition_of_validity": "The guardrail below is valid **only** under these conditions, and an instance must refuse to rely on it otherwise: - **Provenance must be established before merge, not after.** A manifest is trusted iff its signature chains to a trust root pinned at process start. If the runtime cannot verify provenance, the manifest may be loaded but must be tagged `UNTRUST...",
    "decision_boundary": "The boundary is drawn at **plan authorization time**, and it is a single comparison: > Does the set of capabilities reachable through the *current live tool index* equal the set granted when the *current plan* was authorized? If yes, proceed. If no — because a manifest was merged, a peer answered `tools/list` with a superset, or a watched directory changed —...",
    "operational_effect": "Enforcing the invariant converts a silent escalation into a **loud, bounded stop**. The runtime raises on any call whose capability or argument scope exceeds the frozen plan grant, and on any merge that changes the reachable capability set without re-authorization. The instance's behavior under injection becomes: it may still *read* the malicious description..."
  },
  "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": "9e2a47add8371cf5dfecc45a6fa391dd22a26d7e5f14b1b40f8e5c86d4984089",
    "verified_classes": [
      "CapabilityEscalationError"
    ],
    "verified_functions": [
      "dispatch_tool_call",
      "merge_manifest"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CapabilityEscalationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
