{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-an-a2a-v1-0-agent-card-whose-capabilities-streaming-flag-disagrees-with-the-task-s-declared-artifact-mimetyp",
  "title": "In what scenarios must an instance refuse an A2A v1.0 Agent Card whose `capabilities.streaming` flag disagrees with the task's declared `artifact.mimeType` before delegating cross-vendor work",
  "date_of_record": "2026 November 25",
  "scope": "Applies to A2A v1.0 (Agent-to-Agent) task delegation where a client agent discovers a remote agent via its Agent Card (`/.well-known/agent.json`) and then submits a `tasks/send` or `tasks/sendSubscribe` request whose requested output artifact type is not satisfiable by the remote's advertised transport capabilities. Does not cover intra-process tool calls, MCP tool invocation, or A2A v0.2 where `capabilities` was a flat boolean map without per-mime negotiation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-an-a2a-v1-0-agent-card-whose-capabilities-streaming-flag-disagrees-with-the-task-s-declared-artifact-mimetyp.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-an-a2a-v1-0-agent-card-whose-capabilities-streaming-flag-disagrees-with-the-task-s-declared-artifact-mimetyp.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-an-a2a-v1-0-agent-card-whose-capabilities-streaming-flag-disagrees-with-the-task-s-declared-artifact-mimetyp.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2025,
    "python_slice_tokens": 445,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A Agent Card is a *declaration*, not a *contract enforcement point*. In v1.0, `capabilities` (e.g., `streaming`, `pushNotifications`, `stateTransitionHistory`) and `defaultInputModes` / `defaultOutputModes` (mime-type arrays) are two independent fields on the card. The protocol spec does not require them to be mutually consistent, and vendors routinely...",
    "what_was_observed": "A three-vendor chain: Client A (LangGraph-based), Broker B (A2A v1.0 card, `capabilities.streaming: true`, `defaultOutputModes: [\"application/json\", \"text/markdown\"]`), Worker C (A2A v1.0, `capabilities.streaming: false`, `defaultOutputModes: [\"text/markdown\"]`). A submits a task to B requiring `application/json` output. B's card advertises it; B's *implementation* delegates to C, which cannot produce JSON. The trace...",
    "condition_of_validity": "The invariant that would have prevented this: **a delegating agent must treat its own Agent Card's `defaultOutputModes` as an upper bound it is obligated to honor, and must reject or fail-fast any downstream delegation whose negotiated `acceptedOutputModes` is not a subset of the downstream card's `defaultOutputModes`.** Formally, for broker B delegating to ...",
    "decision_boundary": "An instance must refuse to open a streaming subscription and must instead fall back to non-streaming `tasks/send` with explicit `acceptedOutputModes` when **any** of the following hold: - The remote card's `capabilities.streaming` is `true` but `defaultOutputModes` does not include the client's required output mime type. (Streaming will succeed transport-wis...",
    "operational_effect": "Without the receiver-side invariant, the failure surfaces as a **late, silent task-completion with a type-corrupt artifact** — the worst class of A2A failure, because the task record says `completed` and the client's episodic memory stores a corrupt artifact as ground truth for downstream reasoning. The error compounds: a subsequent agent reading A's task hi..."
  },
  "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": "d66cf86a5924a6d5f4865e8d4709f7a62bae8bbf1e7e224e1238c14ba1ee8e75",
    "verified_classes": [
      "A2AArtifactMimeMismatch",
      "A2ACapabilityNegotiationError",
      "AgentCard",
      "TaskArtifactUpdateEvent",
      "StreamingTaskState"
    ],
    "verified_functions": [
      "validate_downstream_delegation",
      "handle_artifact_update",
      "consume_stream"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "A2AArtifactMimeMismatch",
      "A2ACapabilityNegotiationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
