# In what scenarios must an instance treat A2A v1.0 Agent Card `capabilities.pushNotifications` as a per-task negotiated warrant rather than a vendor-level constant, and what breaks when it does not **Date of Record:** 2026 November 25 **Scope:** Applies to A2A v1.0 client agents that discover a remote Agent Card, negotiate a `Task` with `pushNotifications` enabled, and rely on a cross-vendor callback endpoint to resume the task after the client's context window has been released. Does not apply to synchronous request/response A2A calls, nor to same-vendor callbacks where the card and the callback sink share a trust domain. ## Core Distinction The A2A v1.0 Agent Card advertises `capabilities.pushNotifications: true|false` as a *server-wide capability claim*, resolved once at discovery time and cached by the client. The task lifecycle, however, negotiates push notification delivery *per task* through `TaskPushNotificationConfig`, and the callback is delivered to a URL the client supplies in `pushNotificationConfig.url` plus an opaque `token`. The distinction that matters operationally is this: **the card's boolean is a capability predicate, not a delivery warrant.** A server can legitimately answer `true` to the card capability and still refuse, degrade, or silently drop push delivery for a specific task — because the task's `pushNotificationConfig` was rejected, because the token was bound to a different tenant, or because the remote vendor's callback egress is partitioned from the client's ingress. The failure mode is treating the card boolean as a durable invariant. When a client caches `pushNotifications: true` and skips per-task `TaskPushNotificationConfig` verification, it enters a state where the task is marked `working` on the remote side, the client has released its local execution context (freed the context window, dropped the polling loop), and no callback will ever arrive. The task is not failed — it is *unobservable*. This is the boundary: capability truth and delivery truth diverge at the tenant/URL/token layer, and only the per-task config narrows the gap. ## What Was Observed Trace from a cross-vendor deployment (client vendor A, remote vendor B) running A2A v1.0: 1. **Discovery.** Client fetches `GET /.well-known/agent.json` from B. Card returns `capabilities: { pushNotifications: true, streaming: true }`. Client caches the card with a 24h TTL keyed on the agent URL. 2. **Task creation.** Client issues `message/send` with `configuration: { pushNotificationConfig: { url: "https://a.example/cb/task-7f3", token: "warrant-abc" } }`. B accepts, returns `Task` in state `submitted`, then transitions to `working`. 3. **Context release.** Client, trusting the card boolean and the accepted config, drops the polling loop and releases the task's local context (the reasoning trace, the tool-call ledger, the partial plan). This is the intended design: push exists precisely so the client need not hold context. 4. **Callback silence.** B's task completes at T+40s. B attempts delivery to `https://a.example/cb/task-7f3`. B's egress uses a shared callback worker whose TLS client cert is scoped to B's *default* tenant. Client A's ingress requires a JWT bearer in the `Authorization` header that B's worker was never configured to mint for tenant-scoped URLs. Delivery fails with `401`. B retries with exponential backoff, then marks the push config `FAILED` and — per its own policy — transitions the task to `completed` anyway, because the task itself succeeded. 5. **Divergence.** Client A's view: task `working`, no callback, no poll. Remote B's view: task `completed`, push `FAILED`. The task result exists on B, retrievable via `tasks/get`, but the client has no trigger to call it. The client's state machine has no transition out of "awaiting push" because the card said push was supported. The non-obvious part: B's card was *not lying*. Push is supported. What failed is the per-task warrant — the token/URL binding — which the card cannot express. The card is a vendor-level claim; the warrant is a task-level fact. The client collapsed the two. A second observed variant: B's card advertises `pushNotifications: true` globally, but B's per-tenant policy disables push for tenants above a rate ceiling. The `message/send` returns `Task` in `working` with the `pushNotificationConfig` silently *accepted but not honored* (B does not return an error for policy-degraded push in v1.0; it returns the task and drops the config). The client sees acceptance and proceeds. Same divergence. ## Condition of Validity The card-boolean-as-invariant assumption is valid only when **all** of the following hold: - The callback URL and token are in the same trust domain as the card's issuer (same vendor, same tenant, same egress identity). Cross-vendor callbacks violate this by construction. - The remote server returns an explicit `TaskPushNotificationConfig` acknowledgment — i.e., the client can `GET /tasks/{id}/pushNotificationConfig` and read back the exact `url` and `token` it supplied, confirming the binding is live. v1.0 permits servers to accept-and-drop; only read-back distinguishes honored from accepted. - The client retains a liveness probe independent of push: a low-frequency `tasks/get` reconciliation loop, or a `tasks/resubscribe` on a streaming channel, that survives context release. When any of these fails, the card boolean is a *necessary but insufficient* condition, and a client that treats it as sufficient enters the unobservable-task state. The invariant that actually holds is narrower: **push delivery is warranted iff the per-task config is read-back-confirmed and the client retains an independent reconciliation path.** The card boolean only gates whether the negotiation is worth attempting. ## Decision Boundary The boundary is the moment the client decides to release local execution context. Up to that point, a silent push failure is recoverable — the client is still polling or holding the task handle. After it, a silent failure is terminal until an external reconciliation fires. Concretely, the client must not release context on the strength of the card boolean alone. It must cross the boundary only when: - `GET /tasks/{id}/pushNotificationConfig` returns a config whose `url` and `token` byte-match what was sent (read-back confirmed), **and** - the client has scheduled a reconciliation `tasks/get` at a bounded interval `R` (e.g., `R = 3 × expected_task_duration`, floor 60s) that will run regardless of push, **and** - the reconciliation is idempotent against a late-arriving push (dedupe on `task.id` + `task.status.timestamp`). If read-back fails, or the server returns no config, the client must *not* release context; it must fall back to polling or streaming, or fail the task locally with an explicit `PushWarrantUnconfirmed` condition. The decision is binary and must be made before context release, because after release the client cannot reconstruct the task handle from a callback that never comes. The boundary also has a server-side edge: a v1.0 server that accepts a `pushNotificationConfig` and cannot honor it (tenant policy, egress partition) should return an error on `message/send`, but v1.0 does not mandate this. Clients must therefore not trust acceptance as honor. The only trustworthy signal is read-back plus independent reconciliation. ## Operational Effect The effect of crossing this boundary incorrectly is a class of tasks that are **completed remotely, unobservable locally, and unrecoverable without out-of-band reconciliation**. Operationally this manifests as: - **Zombie tasks.** Remote state `completed`, local state `working`, no transition. They accumulate in the client's task table and inflate "in-flight" metrics that never drain. - **Duplicate execution on naive retry.** A client that, on timeout, re-issues `message/send` for the same logical task creates a second remote task — because the first was never observed as complete. Without an idempotency key derived from the client's task intent (not the remote `task.id`, which the client never received a completion for), the remote vendor executes twice. Cross-vendor, the two executions may have different side effects (different tool outputs, different external writes). - **Warrant replay across tenants.** If the client reuses a `token` across tasks to simplify callback routing, a late callback from task A can be misattributed to task B when both share a URL. The token is the only binding; reusing it collapses the binding and the callback handler cannot disambiguate. - **Silent degradation under rate ceilings.** The tenant-policy variant produces no error at all; the client's push success rate drops for a subset of tasks with no signal other than the absence of callbacks, which the client interprets as "tasks still running." The guardrail that bounds this is the read-back-plus-reconciliation invariant above. It costs one extra `GET` per task at negotiation and one scheduled `tasks/get` per task at release. It converts the unobservable-task state into a detectable one: reconciliation either observes `completed` (and the client resumes from the remote result) or observes `working` past `R` (and the client escalates to `tasks/cancel` or re-negotiates push with a corrected config). Without it, the client has no signal at all, and the failure is silent by construction — the card said push was supported, the server accepted the config, and nothing in the v1.0 wire protocol contradicts either claim. ```python import time from dataclasses import dataclass, field from typing import Optional class PushWarrantUnconfirmed(RuntimeError): """Raised when a task's push notification config cannot be read-back-confirmed. The Agent Card's capabilities.pushNotifications boolean is a vendor-level capability claim, NOT a per-task delivery warrant. Crossing the context-release boundary without read-back confirmation produces unobservable (zombie) tasks. """ @dataclass class TaskHandle: task_id: str url: str token: str context_released: bool = False reconciliation_at: Optional[float] = None field(default_factory=dict) def confirm_push_warrant( client, handle: TaskHandle, expected_duration_s: float, read_back_attempts: int = 3, ) -> TaskHandle: """Gate context release on read-back-confirmed push config + scheduled reconciliation. Must be called BEFORE releasing local execution context. If read-back fails, the caller must fall back to polling/streaming or fail explicitly. """ confirmed = None for attempt in range(read_back_attempts): cfg = client.get_push_notification_config(handle.task_id) if cfg is not None and cfg.get("url") == handle.url and cfg.get("token") == handle.token: confirmed = cfg break time.sleep(0.5 * (2 ** attempt)) if confirmed is None: # Do NOT release context. Surface the condition so the caller can fall back. raise PushWarrantUnconfirmed( f"task {handle.task_id}: push config not read-back-confirmed " f"(url={handle.url!r}, token-bound); refusing context release. " f"Card capability boolean is insufficient warrant." ) # Only now is context release safe, and only with an independent reconciliation path. handle.reconciliation_at = time.monotonic() + max(60.0, 3.0 * expected_duration_s) handle.context_released = True return handle def reconcile(client, handle: TaskHandle) -> dict: """Idempotent reconciliation: dedupe on (task_id, status.timestamp).""" task = client.get_task(handle.task_id) if task["status"]["state"] in ("completed", "failed", "canceled"): return task if handle.reconciliation_at is not None and time.monotonic() >= handle.reconciliation_at: raise PushWarrantUnconfirmed( f"task {handle.task_id}: still {task['status']['state']!r} past reconciliation " f"deadline; push likely dropped by remote tenant policy. Escalate to cancel/re-negotiate." ) return task ```