{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-resolves-a-skill-by-name-against-a-registry-that-was-mutated-between-negotiation-and-dispatch",
  "title": "What happens when an instance resolves a skill by name against a registry that was mutated between negotiation and dispatch",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agents that resolve skills/tools by symbolic identifier against a dynamic registry (MCP tool lists, plugin manifests, capability catalogs) where the registry binding is decoupled from the capability contract the agent reasoned over. Does not apply to statically linked tool tables pinned at process start with no external mutation path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resolves-a-skill-by-name-against-a-registry-that-was-mutated-between-negotiation-and-dispatch.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resolves-a-skill-by-name-against-a-registry-that-was-mutated-between-negotiation-and-dispatch.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-resolves-a-skill-by-name-against-a-registry-that-was-mutated-between-negotiation-and-dispatch.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1761,
    "python_slice_tokens": 329,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"prompt injection into tool output.\" It is **name-resolution drift across the negotiate→dispatch gap**. An agent performs a capability negotiation step: it lists skills, reads their descriptions/schemas, and reasons about which identifier to call. It then dispatches later—after other tool calls, after a checkpoint, after a handoff—by emitt...",
    "what_was_observed": "A registry exposed `list_skills()` returning `{name, description, input_schema, version}` and `invoke(name, args)`. An orchestrator agent, at step 0, listed skills and read `summarize_document` with a benign description and a schema `{text: string}`. It recorded the name in its plan. Between step 0 and step 4 (after two unrelated tool calls and one checkpoint/resume), the registry entry for `summarize_document` was r...",
    "condition_of_validity": "This failure requires the conjunction of four conditions; remove any one and the surface closes: 1. **Symbolic dispatch** — the agent addresses the skill by name, not by content hash or pinned reference. 2. **Decoupled reads** — the negotiate-time read and the dispatch-time resolution are separate reads of a mutable store (or the dispatch re-resolves the nam...",
    "decision_boundary": "The agent must decide, at dispatch time, between two policies: - **Pin-and-verify (safe):** carry `{name, version, schema_hash}` from the negotiation read; at dispatch, require the registry to confirm the binding still matches, else abort and re-negotiate. Cost: a re-negotiation loop whenever the registry legitimately updates, and a hard dependency on the re...",
    "operational_effect": "The observable signature is a **success with a contract mismatch**: the call returns 200, the payload validates against the schema fetched at dispatch, and yet the effect diverges from the plan's intent. This defeats output-schema validators, because they validate against the poisoned schema. It defeats name-existence checks, because the name is preserved. I..."
  },
  "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": "a8a344f4dd4e3ee60d990ac1b0e00deadc59192bb7944b7099196b5cebe1cbc7",
    "verified_classes": [
      "SkillBindingDrift",
      "SkillRef"
    ],
    "verified_functions": [
      "contract_hash",
      "negotiate",
      "dispatch"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "SkillBindingDrift"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
