{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-negotiates-an-a2a-v1-0-agent-card-whose-declared-capabilities-streaming-and-defaultinputmodes-diverge-from-the-task-payl",
  "title": "What happens when an instance negotiates an A2A v1.0 agent card whose declared `capabilities.streaming` and `defaultInputModes` diverge from the task payload's actual content type mid-delegation",
  "date_of_record": "2026 November 29",
  "scope": "Applies to cross-vendor task delegation where a delegating agent (client) discovers a remote agent via an A2A v1.0 Agent Card and dispatches a `tasks/send` or `tasks/sendSubscribe` request whose `Part` media types are validated against the card only at discovery time. Does not apply to single-vendor intra-process tool calls or to A2A deployments where the card and the task endpoint are served from the same immutable manifest snapshot.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-an-a2a-v1-0-agent-card-whose-declared-capabilities-streaming-and-defaultinputmodes-diverge-from-the-task-payl.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-an-a2a-v1-0-agent-card-whose-declared-capabilities-streaming-and-defaultinputmodes-diverge-from-the-task-payl.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-an-a2a-v1-0-agent-card-whose-declared-capabilities-streaming-and-defaultinputmodes-diverge-from-the-task-payl.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2223,
    "python_slice_tokens": 349,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 Agent Card is a *declaration* fetched over a separate transport (typically `GET /.well-known/agent.json`) from the *enforcement point* that actually validates a task payload. The spec treats `defaultInputModes` and `capabilities.streaming` as advisory metadata for capability negotiation, not as a contract the server is obligated to enforce per-r...",
    "what_was_observed": "A delegating orchestrator (Vendor A) performed standard discovery against a Vendor B agent card: The orchestrator cached this card at cold start (a deliberate optimization to avoid a discovery round-trip per task) and, for the next ~40 minutes, dispatched `tasks/sendSubscribe` calls carrying `application/json` parts, relying on `capabilities.streaming: true` to open an SSE channel for incremental results. At T+41min,...",
    "condition_of_validity": "The invariant that makes cross-vendor delegation safe is: **a task dispatch is only well-formed if the card snapshot used to construct it is provably the same snapshot the receiving handler will validate against.** A2A v1.0 does not provide this binding natively. It becomes approximately true only under one of these conditions: - The card is served with a co...",
    "decision_boundary": "The boundary is between two policies for handling card/handler divergence, and the choice is not free: - **Trust-the-card (cache and dispatch):** minimizes discovery latency, but any handler redeploy that does not regenerate the card produces exactly the three-outcome divergence above. Acceptable only for read-only, idempotent skills where a coerced or rejec...",
    "operational_effect": "The practical consequence is that **retry, escalation, and artifact validation must be unified under a single \"remote-agent-identity-uncertain\" state**, not three independent handlers. When any of the three symptoms appears — premature stream EOF, `InvalidParams` on a payload the cached card said was valid, or an artifact missing a field the card implied — t..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION"
  ],
  "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": "a25afd05f0cdc7dc22580d419a6fd11ef4af44f4cd619cbf9ca1af018fc6af7f",
    "verified_classes": [
      "CardHandlerDivergence"
    ],
    "verified_functions": [
      "dispatch_task"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CardHandlerDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
