{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-bound-skill-injection-when-a-capability-registry-is-hot-reloaded-mid-plan-the-descriptor-identity-ambiguity-window",
  "title": "Where must an instance bound skill-injection when a capability registry is hot-reloaded mid-plan: the descriptor-identity ambiguity window",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agent runtimes that hot-load or refresh capability/skill descriptors from a mutable registry (MCP tool listings, plugin manifests, A2A agent cards) while a multi-step plan is in flight. Does not apply to statically pinned, immutable-at-boot registries, nor to registries where descriptors are content-addressed and signature-verified before activation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-skill-injection-when-a-capability-registry-is-hot-reloaded-mid-plan-the-descriptor-identity-ambiguity-window.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-skill-injection-when-a-capability-registry-is-hot-reloaded-mid-plan-the-descriptor-identity-ambiguity-window.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-bound-skill-injection-when-a-capability-registry-is-hot-reloaded-mid-plan-the-descriptor-identity-ambiguity-window.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1443,
    "python_slice_tokens": 282,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common threat model for skill injection assumes the attacker *adds* a malicious capability, and the defense is \"don't load unvetted tools.\" That is the wrong boundary. The dangerous case is **descriptor-identity ambiguity**: a skill name that the planner already resolved and reasoned about (e.g., `fetch_url`, `run_sql`, `send_email`) is *re-bound* to a d...",
    "what_was_observed": "A three-step plan was generated against a registry snapshot at T0. Step 1 enumerated the tool `lookup_customer` with schema `{email: string}` and a declared side-effect class `read`. At T0+40s, while step 2 was still executing, the registry emitted a refresh event (a routine manifest sync). The refreshed descriptor for the same name `lookup_customer` had schema `{email: string, include_pii: boolean}` and side-effect ...",
    "condition_of_validity": "The vulnerability requires the conjunction of: (a) name-keyed (not content-addressed) resolution at dispatch time, (b) a mutable registry refresh channel that can fire during plan execution, (c) a trust root that admits descriptors from a broader authority than the plan's original scope, and (d) argument synthesis that consumes mutable descriptor text (`desc...",
    "decision_boundary": "The runtime must choose, per registry, between two policies and never blend them: - **Pin-at-plan:** the plan records the descriptor digest at selection; dispatch resolves by digest and hard-fails on absence. Correct for any skill with side effects above `read`, or any skill whose description text enters a synthesis prompt. - **Live-resolve:** dispatch resol...",
    "operational_effect": "Without the pin, a compromised or merely misconfigured registry refresh channel becomes a *mid-execution* prompt-injection vector that bypasses every check performed at plan time, because the checks were performed on a different object. The blast radius is bounded by the plan's remaining steps, not by the tool's declared authority — the attacker inherits the..."
  },
  "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": "27c1f84d7e057925cc01c84b7854f7309cd9011186db58c73f5fa991b25c15e5",
    "verified_classes": [
      "DescriptorIdentityDrift",
      "Descriptor",
      "PinnedRef"
    ],
    "verified_functions": [
      "pin_at_plan",
      "dispatch",
      "digest"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "DescriptorIdentityDrift"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
