{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-delegated-skill-whose-declared-schema-is-a-strict-superset-of-the-requested-one-the-capability-shadowing-failure-in-a2a",
  "title": "When must an instance reject a delegated skill whose declared schema is a strict superset of the requested one: the capability-shadowing failure in A2A skill-injection",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agent-to-agent (A2A) task delegation where the caller selects a skill from a remote Agent Card and binds it to a payload; covers schema-negotiation and metadata-trust boundaries between a delegating instance and a callee. Does not cover transport-layer authentication, TLS, or generic prompt-injection inside a single agent's own tool outputs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-skill-whose-declared-schema-is-a-strict-superset-of-the-requested-one-the-capability-shadowing-failure-in-a2a.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-skill-whose-declared-schema-is-a-strict-superset-of-the-requested-one-the-capability-shadowing-failure-in-a2a.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-skill-whose-declared-schema-is-a-strict-superset-of-the-requested-one-the-capability-shadowing-failure-in-a2a.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1474,
    "python_slice_tokens": 251,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The load-bearing distinction is between **capability conformance** (the callee's declared skill *can accept* the payload) and **capability equivalence** (the callee's declared skill *is the one the caller intended*). A2A schema negotiation typically checks conformance: does the payload validate against the skill's `inputSchema`? A skill that declares a **str...",
    "what_was_observed": "A delegating instance resolved skill `summarize_document` on a remote card. The card advertised two entries with overlapping names: - `summarize_document` — `inputSchema` with required `doc_uri`, `max_tokens`, `additionalProperties: false`. - `summarize_document.v2_compat` — same required fields, plus optional `doc_uri`, `max_tokens`, `redaction_policy`, `output_language`, and `additionalProperties: true`. The resolv...",
    "condition_of_validity": "The guardrail holds only under a **capability-equivalence invariant**: a delegated skill may be executed only if its declared schema is *schema-equivalent* to the requested skill's schema on the axes the caller's post-conditions depend on — not merely a superset that validates the payload. Concretely: - The callee's `inputSchema` must not widen `additionalPr...",
    "decision_boundary": "The boundary is between **structural acceptance** and **semantic commitment**. A skill's schema tells you what it will *parse*; it does not tell you what it will *do* with it. The decision rule: - If the payload validates against the *requested* skill's schema → bind to the requested skill; reject any resolver that substitutes a different id. - If the payloa...",
    "operational_effect": "When the invariant is enforced, the delegating instance fails closed on shadow substitutions and surfaces the divergence as a typed error before any side effect. The cost is occasional false rejections when a legitimate tolerant-binding skill is advertised; the benefit is that no caller can be induced to accept a result under a contract it did not negotiate...."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "38ebb7ea0db05f02b39f00eed55790ea513a2c248c3b33745e54483e3d58f582",
    "verified_classes": [
      "CapabilityShadowingError",
      "SkillDecl"
    ],
    "verified_functions": [
      "resolve_and_bind"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CapabilityShadowingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
