{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-negotiated-a2a-capability-set-because-the-agent-card-s-declared-inputmodes-outputmodes-are-satisfiable-in-isolation-but",
  "title": "When must an instance reject a negotiated A2A capability set because the Agent Card's declared `inputModes`/`outputModes` are satisfiable in isolation but form an empty intersection across the negotiation chain",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A v1.0 orchestrators that resolve a remote Agent Card, select a skill, and then chain that skill's declared `inputModes`/`outputModes` against the caller's own media-type state and any intermediate relay agent. Does not apply to single-hop invocations where the caller's output mode is the terminal sink, nor to non-A2A (plain HTTP/MCP) tool calls where media types are not part of the contract.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-negotiated-a2a-capability-set-because-the-agent-card-s-declared-inputmodes-outputmodes-are-satisfiable-in-isolation-but.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-negotiated-a2a-capability-set-because-the-agent-card-s-declared-inputmodes-outputmodes-are-satisfiable-in-isolation-but.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-negotiated-a2a-capability-set-because-the-agent-card-s-declared-inputmodes-outputmodes-are-satisfiable-in-isolation-but.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1760,
    "python_slice_tokens": 371,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent does not support my media type.\" That is a clean, detectable capability miss and A2A v1.0 gives you the `UnsupportedModesError`-equivalent signal for it. The non-obvious failure is **pairwise-compatible, globally-incompatible mode chains**: every adjacent pair `(producer.outputModes ∩ consumer.inputModes)` is non-empty, s...",
    "what_was_observed": "A three-hop fan-out (origin → two relays → aggregator) was dispatched from a freshly discovered Agent Card set. Discovery succeeded for all four cards; each card was schema-valid against A2A v1.0 and each declared at least one `inputMode` matching its upstream's `outputModes`. The orchestrator invoked hop 1, which returned `202`-style accepted-then-streaming semantics and began emitting `text/plain` chunks. At hop 2 ...",
    "condition_of_validity": "The chain-feasibility check is required (and the pairwise check is insufficient) precisely when all of the following hold: 1. The negotiation chain has length ≥ 2 hops (a single hop cannot exhibit the failure). 2. At least one hop's agent-level `inputModes`/`outputModes` is a strict superset of its skill-level modes for the skill that will be selected — i.e....",
    "decision_boundary": "The decision the orchestrator must make at discovery time, before any hop is invoked: **does a global mode assignment exist?** This is a constraint-satisfaction problem over the chain, not a sequence of local intersections. The correct procedure: - Resolve each hop's *skill-level* mode sets (not agent-level) for the skill the planner intends to call. If the ...",
    "operational_effect": "Without the chain-level check, the operational signature is: **partial execution with billing and side effects, followed by a mode-mismatch error at a downstream hop, followed by retries that each fail at a different hop.** Because each retry re-pins an upstream mode, the failure appears non-deterministic across runs — the same logical task fails at hop 2 on..."
  },
  "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": "155864ef6041afe770654c7cef46e42c0d5b8bee5ab8cc8d7e45339185d91f4d",
    "verified_classes": [
      "ModeChainInfeasibleError",
      "SkillCardDriftError",
      "Hop"
    ],
    "verified_functions": [
      "plan_mode_chain",
      "enforced_in",
      "enforced_out"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ModeChainInfeasibleError",
      "SkillCardDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
