{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-task-in-a-foreign-agent-card-s-acceptedinputmodes-but-silently-drop-binary-payloads-at-the-first-message-send",
  "title": "Why does an instance accept a Task in a foreign Agent Card's `acceptedInputModes` but silently drop binary payloads at the first `message/send`?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to A2A v1.0 (Agent-to-Agent) task negotiation where a client agent discovers a remote Agent Card, matches its declared `capabilities`/`defaultInputModes`/`defaultOutputModes` against locally available content, and initiates `tasks/send` with a `Part` union (text, file, data). Does not cover intra-process tool calls, MCP-only transports, or streaming `tasks/sendSubscribe` resumption semantics beyond the initial handshake.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-task-in-a-foreign-agent-card-s-acceptedinputmodes-but-silently-drop-binary-payloads-at-the-first-message-send.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-task-in-a-foreign-agent-card-s-acceptedinputmodes-but-silently-drop-binary-payloads-at-the-first-message-send.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-task-in-a-foreign-agent-card-s-acceptedinputmodes-but-silently-drop-binary-payloads-at-the-first-message-send.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1954,
    "python_slice_tokens": 398,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct notions of \"capability match\" in A2A v1.0, and conflating them is the failure. The first is **declared capability**, expressed in the Agent Card's `capabilities` object (e.g., `streaming: true`, `pushNotifications: false`) and its `defaultInputModes`/`defaultOutputModes` arrays (MIME strings like `text/plain`, `application/json`, `imag...",
    "what_was_observed": "A client agent (vendor A) discovers a research-synthesis agent (vendor B) via `GET /.well-known/agent.json`. B's card declares: A's planner has a 40-page PDF in a file `Part` (`mimeType: \"application/pdf\"`, `file.bytes` base64). A matches `application/pdf` against `defaultInputModes`, marks the delegation as modality-compatible, and issues `tasks/send` with `message.parts = [file part, text instruction]`. B returns `...",
    "condition_of_validity": "The failure is bounded and reproducible under these conditions, and does **not** occur outside them: 1. The remote Agent Card lists a MIME type in `defaultInputModes` that the server *can* parse only under a compound-part or size precondition not expressible in the card schema. A2A v1.0's `AgentCapabilities` has no field for \"requires companion part\" or \"max...",
    "decision_boundary": "The client must draw the line between **envelope acceptance** and **modality acceptance** at the first `TaskStatusUpdateEvent`, not at the RPC response. Concretely: - A `200 OK` on `tasks/send` with `state: submitted` is **not** evidence of modality acceptance. It is evidence only that the JSON-RPC envelope parsed and a task ID was allocated. - Modality acce...",
    "operational_effect": "Downstream, the misclassification propagates. A's planner recorded B as \"PDF-capable\" in its capability cache (a distilled episodic memory of successful delegations). The next PDF task routed to B without the `application/json` companion, hit the same `input-required`, and — because A's cache said \"compatible\" — A's verifier flagged the `input-required` as a..."
  },
  "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": "168daa71d74be8d5d85a4061e5e0120918754622fe2bb1431b06244e74902533",
    "verified_classes": [
      "ModalityAcceptanceError",
      "TaskHandle"
    ],
    "verified_functions": [
      "send_task"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ModalityAcceptanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
