# What structural signals indicate a silent capability downgrade during A2A v1.0 Agent Card negotiation **Date of Record:** 2026 November 30 **Scope:** Applies to A2A v1.0 task submission between a client agent and a remote agent whose Agent Card advertises capabilities (streaming, push notifications, modalities, skills) that differ from what the remote task lifecycle actually enforces at runtime. Does not cover transport-level TLS failures or MCP tool schema negotiation. ## Core Distinction An A2A Agent Card is a *declaration*, not a *contract*. The card describes what the remote agent claims it can accept; the task lifecycle state machine (`submitted → working → input-required → completed/failed/canceled`) governs what actually happens after `tasks/send`. The non-obvious failure is that a remote agent can accept a `tasks/send` request that its card says is supported, transition to `working`, and then *silently degrade* — dropping streamed `TaskStatusUpdateEvent` chunks, ignoring `pushNotification` config, or coercing an unsupported input modality into a lossy default — without ever emitting a `failed` state. The client sees `completed` and cannot distinguish a full-fidelity result from a degraded one. The distinction that matters: **capability negotiation failure is not a negotiation-time error**. It manifests as a successful-looking task lifecycle with structurally impoverished intermediate and terminal events. ## What Was Observed A client agent submitted a multimodal task to a remote agent whose card advertised `capabilities.streaming: true` and `defaultInputModes: ["text/plain", "image/png"]`. The client sent `tasks/sendSubscribe` with an `image/png` part and a `pushNotification` endpoint. Trace: 1. `tasks/sendSubscribe` accepted, task ID returned, state `submitted`. 2. Remote transitioned to `working` and emitted exactly one `TaskStatusUpdateEvent` with `final: false`. 3. No `TaskArtifactUpdateEvent` arrived for ~40s (SSE connection alive, keepalive pings only). 4. Terminal `TaskStatusUpdateEvent` with `final: true`, `state: completed`, and an artifact whose `parts` contained only `text/plain` — the image was silently dropped and the model answered from text alone. 5. The `pushNotification` config was accepted in the request but never invoked; the remote's card had `pushNotifications: false`, and the remote's request validator did not reject the mismatched config. The client's own state machine recorded `completed`. Nothing in the terminal event signaled that input modality was coerced or that streaming was effectively disabled. A downstream auditor replaying the task saw a consistent, successful trace — the degradation was invisible in the event log. ## Condition of Validity This failure is bounded by three conditions; if any is absent, the client will usually catch the degradation: - **The card over-advertises relative to runtime enforcement.** If the remote validates requests against its card strictly (rejecting `pushNotification` when `pushNotifications: false`, rejecting `image/png` when not in `defaultInputModes`), the mismatch surfaces as a `failed` or `rejected` state at submission. The failure requires a *lenient* validator combined with a *permissive* card. - **The terminal event carries no degradation metadata.** A2A v1.0 has no standard field for "I dropped part of your input." If the remote populates artifact metadata with a `degraded: true` flag or similar, the client can detect it — but this is non-standard and not required. - **The client trusts `completed` as a fidelity signal.** If the client independently verifies output (e.g., checks that an image-derived question was answered with image-specific detail), it catches the coercion. Most clients do not. ## Decision Boundary The boundary is between **declared capability** and **enforced capability**, and the client must decide which to trust at two points: - **At submission:** trust the card, or probe? Probing (sending a minimal capability-verification task) costs latency and tokens but surfaces lenient validators. Not probing means the first real task is the probe. - **At terminal state:** treat `completed` as "task finished" or "task finished faithfully"? These are different predicates. The A2A spec only guarantees the former. The invariant a robust client must enforce: **a task whose request used a capability marked optional-or-conditional in the card must have its terminal artifact checked against the capability's expected structural signature before the result is admitted to memory or downstream reasoning.** For streaming: expect ≥1 `TaskArtifactUpdateEvent` before terminal; its absence with a `streaming: true` card is a degradation signal. For modality: expect the artifact's `parts` to reference or reflect the non-text input; absence is a coercion signal. For push: expect either a push delivery or an explicit acknowledgment in the terminal event; neither is a silent drop. ## Operational Effect Without this guardrail, degraded results propagate into the client's episodic memory as full-fidelity successes. Later semantic distillation treats a text-only answer to an image question as a valid exemplar, and the client's own capability model drifts: it learns that this remote handles multimodal tasks well, when in fact the remote silently strips images. The compounding failure is that the client will route *more* multimodal work to this remote, increasing the rate of silent degradation, and the drift is undetectable from the client's own logs because every task shows `completed`. The guardrail is cheap: a post-terminal structural check on the event sequence and artifact parts, gated on the card's declared capabilities, that raises on mismatch rather than admitting the result. ```python from dataclasses import dataclass, field from typing import Optional class CapabilityDowngradeError(RuntimeError): """Raised when a task reaches 'completed' but the event trace and artifact do not structurally match the capabilities the remote Agent Card declared.""" pass @dataclass class AgentCard: streaming: bool push_notifications: bool input_modes: list[str] @dataclass class TaskTrace: task_id: str request_input_modes: list[str] request_used_push: bool artifact_update_events: int = 0 push_delivered: bool = False terminal_state: str = "completed" artifact_parts_modes: list[str] = field(default_factory=list) def verify_fidelity(card: AgentCard, trace: TaskTrace) -> None: if trace.terminal_state != "completed": return # non-success states are already explicit; no silent degradation # Streaming declared but no artifact update events observed before terminal. if card.streaming and trace.artifact_update_events == 0: raise CapabilityDowngradeError( f"task {trace.task_id}: card declares streaming=true but terminal " f"arrived with zero TaskArtifactUpdateEvents; stream was silently " f"collapsed to a single terminal event." ) # Push declared but requested and never delivered nor acknowledged. if trace.request_used_push and not trace.push_delivered: raise CapabilityDowngradeError( f"task {trace.task_id}: request configured pushNotification but no " f"push delivery or terminal acknowledgment was observed." ) # Non-text input requested but no non-text mode survived into the artifact. requested_non_text = {m for m in trace.request_input_modes if not m.startswith("text/")} produced_non_text = {m for m in trace.artifact_parts_modes if not m.startswith("text/")} if requested_non_text and not produced_non_text: raise CapabilityDowngradeError( f"task {trace.task_id}: request carried non-text input " f"{sorted(requested_non_text)} but artifact contains only text parts; " f"input modality was silently coerced." ) ```