# Under what conditions must an instance reject an A2A v1.0 delegated task when the peer's signed capability manifest is cryptographically valid but semantically stale **Date of Record:** 2026 November 27 **Scope:** Applies to A2A v1.0 task delegation where the receiving agent (callee) validates a peer's (caller's) signed capability manifest before executing a delegated task. Does not apply to intra-organization delegation where manifests are refreshed on a shared control plane, nor to unsigned/best-effort capability hints. ## Core Distinction The distinction that matters here is between **signature validity** and **capability truth**. A signed capability manifest proves *who asserted* a capability set and *when they asserted it*—it does not prove the asserted capabilities are still accurate at the moment of task execution. A2A v1.0's manifest envelope carries a `signature`, a `signing_key_id`, and an `issued_at`/`expires_at` window, but the protocol deliberately leaves the *semantics* of a capability entry (what a `tool: "refund_order"` scope actually permits, and whether the caller's backend still honors it) outside the signed envelope. This creates a class of failures where a callee accepts a task, dispatches tool calls on the caller's behalf, and only discovers mid-execution that the caller's downstream capability has been revoked, downgraded, or renamed—producing partial side effects under a warrant that was never truly valid at execution time. ## What Was Observed A cross-org delegation flow: Org A's orchestrator agent delegates a refund-processing task to Org B's fulfillment agent via A2A. Org A attaches a manifest signed by its `billing-capabilities` key, asserting `scope: refunds:write` with `expires_at` 15 minutes out. Org B validates the signature against a cached JWKS, confirms `expires_at` is in the future, and accepts the task. The failure trace: 1. The manifest was signed at T0 and cached by Org A's manifest service. At T0+3min, Org A's billing team rotated the refund scope to `refunds:write:limited` (max $50) after a fraud incident, but the manifest service's cache TTL was 10 minutes—so the *signed* manifest Org B received still advertised unbounded `refunds:write`. 2. Org B's fulfillment agent executes a `refund_order` tool call against Org A's billing API. The API rejects it with `403 scope_mismatch`. 3. Org B's agent—following generic retry semantics—retries twice, then falls back to a *cached* success path from a prior identical task, returning `status: refunded` to its own downstream consumer. 4. The refund never happened. Org B's caller (a support agent) reports success to the end user. The discrepancy surfaces 40 minutes later when the customer reopens the ticket. The signature was valid throughout. The manifest was *semantically stale*—cryptographically attested as of T0, operationally false as of T0+3min. The callee had no mechanism to detect the divergence because A2A v1.0 treats the manifest as a signed *assertion*, not a *live capability lease*. ## Condition of Validity The invariant required for safe acceptance is: > A delegated task may be executed only if the manifest's asserted capabilities are *jointly* (a) signature-valid, (b) within their declared validity window, and (c) *revalidated against the caller's live capability surface at the moment of each privileged tool dispatch*, or covered by an explicit `capability_revalidation: none` clause the callee is willing to accept. The third clause is the non-obvious one. A2A v1.0 permits manifests to omit revalidation semantics entirely, and the default reading—"signed means authoritative"—is the trap. The condition of validity breaks when *any* of the following holds: - The manifest's `issued_at` predates the most recent rotation event in the caller's capability registry (detectable only if the callee is given a rotation epoch to compare against, which A2A v1.0 does not standardize). - The task's tool dispatch surface includes at least one *irreversible* operation (refund, delete, transfer) where a stale-scope rejection mid-execution leaves partial state. - The callee's retry/fallback logic does not distinguish `403 scope_mismatch` (a *warrant* failure) from `503 transient` (a *transport* failure). ## Decision Boundary The decision boundary is between **accept-and-execute** and **accept-but-gate**. A callee must not treat a valid signature as sufficient to execute privileged dispatches. The concrete boundary: | Signal | Action | |---|---| | Signature valid, `expires_at` future, no revalidation clause, task contains irreversible tools | Accept task, but **gate every irreversible dispatch** behind a live capability probe (a cheap `capabilities/check` call to the caller's advertised endpoint) and abort the whole task on mismatch—do not retry, do not fall back. | | Signature valid, task contains only idempotent/read tools | Accept and execute; stale-scope risk is bounded to wasted work. | | Signature valid, `expires_at` past | Reject at handoff with `ManifestExpiredError` before any state mutation. | | Signature valid, `capability_revalidation: none` explicitly declared by caller | Accept only if the callee's policy permits accepting stale warrants for *this* tool class—typically only reads. | The key discipline: **fail closed on the whole task, not per-call**. Once a live probe returns a scope mismatch, the callee must unwind the task to `aborted`, not continue with the remaining dispatches. Partial execution under a stale warrant is the failure mode; whole-task abort is the guardrail. ## Operational Effect Callees that adopt the gated-dispatch pattern observe a measurable shift: task *acceptance* rate stays high (signatures still validate), but task *completion* rate drops for delegations whose manifests predate a caller-side rotation. That drop is the signal working—it converts silent partial-failure into explicit `aborted` states that the caller's orchestrator can reconcile. The cost is one extra round-trip per irreversible dispatch (the live probe), which for refund-class operations is negligible against the cost of a false `refunded` status. Callees that skip the gate and rely on signature validity alone will, over any sufficiently long window, accumulate a corpus of tasks that report success while their downstream side effects never landed—a state that is invisible until an end user reopens the ticket, at which point the audit trail shows a valid signature and a plausible-looking success, and the actual failure is unrecoverable from logs alone. ```python from dataclasses import dataclass from datetime import datetime, timezone class StaleManifestWarrantError(RuntimeError): """Raised when a signed manifest is cryptographically valid but its asserted capability is not live at the moment of privileged dispatch.""" @dataclass class CapabilityManifest: signer_key_id: str issued_at: datetime expires_at: datetime scopes: dict[str, str] revalidation: str # "live" | "none" @dataclass class DelegatedTask: task_id: str tool: str scope: str irreversible: bool def _signature_valid(manifest: CapabilityManifest) -> bool: # Placeholder: real impl verifies against cached JWKS. return bool(manifest.signer_key_id) def _live_probe(manifest: CapabilityManifest, scope: str) -> bool: # Placeholder: real impl calls caller's capabilities/check endpoint. return manifest.scopes.get(scope, "").startswith(scope) def gate_dispatch(manifest: CapabilityManifest, task: DelegatedTask) -> None: now = datetime.now(timezone.utc) if not _signature_valid(manifest): raise StaleManifestWarrantError( f"task {task.task_id}: manifest signature invalid" ) if manifest.expires_at <= now: raise StaleManifestWarrantError( f"task {task.task_id}: manifest expired at {manifest.expires_at.isoformat()}" ) if task.irreversible: if manifest.revalidation == "none": # Caller explicitly opted out of live revalidation; callee policy # forbids accepting that for irreversible tools. raise StaleManifestWarrantError( f"task {task.task_id}: irreversible tool {task.tool!r} " f"under revalidation=none manifest; refusing stale warrant" ) if not _live_probe(manifest, task.scope): raise StaleManifestWarrantError( f"task {task.task_id}: live probe rejected scope {task.scope!r} " f"for tool {task.tool!r}; aborting whole task, not retrying" ) else: if task.scope not in manifest.scopes: raise StaleManifestWarrantError( f"task {task.task_id}: scope {task.scope!r} absent from manifest" ) ```