# When must an instance reject a signed Agent Card whose extended skill schema declares a capability the verifier cannot re-derive: the A2A v1.0 signature-to-skill binding gap under push-notification task continuation **Date of Record:** 2026 November 21 **Scope:** Applies to A2A v1.0 peers that resolve remote agents via signed Agent Cards, negotiate extended (non-core) skills, and continue long-running tasks through push-notification webhooks across an organizational trust boundary. Does not apply to intra-tenant agents sharing a single signing authority, nor to synchronous request/response-only A2A calls where no task outlives the initial HTTP exchange. ## Core Distinction The Agent Card signature proves *who authored the card*; it does not prove that *the declared skill set is executable under the negotiated trust boundary*. A2A v1.0 signs the card as an opaque JSON document. The extended skills block (`skills[].extensions`, custom `inputModes`/`outputModes`, and vendor `x-` capability flags) is covered by the signature only in the sense that its bytes are hashed — not in the sense that the signer attested to *semantics* the verifying agent can independently reproduce. The failure mode is a verifier that treats "signature valid" as "skill claim trustworthy" and then routes a push-notification continuation to a peer that never actually implemented the extended capability. The invariant that must hold: **a skill may only be admitted to the routing table if the verifier can re-derive the capability contract from artifacts the signer cannot unilaterally redefine after task acceptance.** ## What Was Observed A coordinating agent (the *client*) fetched an Agent Card from a remote peer (the *server*) over `/.well-known/agent.json`, verified the detached JWS against the peer's published JWKS, and admitted the peer's extended skill `invoice.reconcile.v2` — declared with a custom `inputModes: ["application/vnd.acme.invoice+json"]` and an `x-acme: { "requires": ["ledger.v3"] }` capability flag. The client then dispatched a task via `tasks/send` with `pushNotification.url` set to its own webhook. The task returned `state: "working"` with a `taskId`. Four minutes later the webhook fired with a terminal `state: "completed"` and an artifact whose `parts[].metadata.schema` referenced `ledger.v3` fields the client had never negotiated and could not validate. The trace: 1. **Card fetch + verify.** Signature valid. JWKS `kid` matched. No expiry violation. 2. **Skill admission.** Client's capability registry inserted `invoice.reconcile.v2` with the `x-acme` block copied verbatim. No check that `ledger.v3` was in the client's own accepted schema set. 3. **Task dispatch.** `tasks/send` accepted; server acknowledged `working`. The `pushNotification` URL was registered server-side against `taskId`. 4. **Continuation.** Server completed the task and POSTed the result. The webhook body was *not* re-signed — A2A v1.0 push notifications carry no per-message signature; trust was inherited from the original card verification. 5. **Artifact rejection on the client.** The client's artifact validator saw `ledger.v3` metadata and raised, because `ledger.v3` was never a member of the negotiated `outputModes`. The task was already `completed` server-side; the client could not roll it back, only orphan it. The non-obvious part: the signature *was* valid at every hop. The break was that the signature covers the card bytes, and the card bytes declared a capability whose *precondition* (`ledger.v3`) lived in an `x-` extension that the client's verifier never parsed into the admission decision. The signer attested to the document; the client inferred attestation of the capability graph. ## Condition of Validity The admission is only sound when all of the following hold at the moment of dispatch, not merely at card fetch: - Every identifier referenced inside `skills[].extensions` and `x-` blocks resolves to a schema the **client** publishes and can validate against, independent of the server's card. If the client cannot resolve `ledger.v3`, the skill is *unverifiable*, not *trusted*. - The negotiated `inputModes`/`outputModes` at `tasks/send` are the *intersection* of client-accepted and card-declared modes. A card declaring an extended mode the client never listed must fail negotiation, not fall through to a default. - Push-notification continuations must be bound to the `taskId` *and* to the negotiated capability set captured at dispatch. Because A2A v1.0 webhooks are unsigned, the client must treat the webhook as an *untrusted hint* and re-validate the artifact against the frozen negotiation record — never against the live (possibly rotated) card. When these fail, the signature is still cryptographically valid and the task still completes; the system has silently executed a capability it cannot audit. That is the boundary. ## Decision Boundary The verifier must distinguish three outcomes, not two: - **Admit** — signature valid *and* every declared extension resolves to a client-known schema *and* modes intersect non-empty. - **Quarantine** — signature valid but an extension is unresolvable. The card is held, not routed; the peer may be re-probed with a capability-negotiation request, but no task is dispatched. - **Reject** — signature invalid, `kid` unknown, or card expiry exceeded. The failure is collapsing Quarantine into Admit. A signed card with an unresolvable `x-` capability is *evidence of an unverifiable claim*, and the correct action is to refuse dispatch until the claim is re-derived — not to trust it because the bytes hashed cleanly. ## Operational Effect Systems that conflate signature validity with capability trust exhibit a characteristic post-incident signature: tasks complete successfully server-side, webhooks arrive on time, artifact validation fails only at the terminal step, and the audit log shows a valid signature at every hop. The blast radius is bounded only by how long the orphaned `taskId` records are retained. The guardrail is a capability-admission gate that runs the extension-resolution check *before* the skill enters the routing table, and a webhook handler that re-validates against the frozen negotiation record rather than the live card. ```python from dataclasses import dataclass, field from typing import Mapping class UnverifiableSkillClaim(RuntimeError): """Raised when a signed Agent Card declares a skill whose extension preconditions the verifier cannot independently re-derive.""" @dataclass(frozen=True) class NegotiationRecord: task_id: str admitted_skills: frozenset[str] accepted_modes: frozenset[str] resolved_extensions: frozenset[str] @dataclass class AgentCard: signature_valid: bool skills: list[Mapping] = field(default_factory=list) def admit_skill( card: AgentCard, skill_id: str, client_known_schemas: frozenset[str], client_accepted_modes: frozenset[str], ) -> NegotiationRecord: if not card.signature_valid: raise UnverifiableSkillClaim(f"card signature invalid; cannot admit {skill_id}") skill = next((s for s in card.skills if s.get("id") == skill_id), None) if skill is None: raise UnverifiableSkillClaim(f"skill {skill_id} absent from signed card") declared_modes = frozenset(skill.get("outputModes", [])) if not (declared_modes & client_accepted_modes): raise UnverifiableSkillClaim( f"skill {skill_id} declares modes {sorted(declared_modes)} " f"with empty intersection against client modes" ) required = set() for ext in skill.get("extensions", []): required.update(ext.get("requires", [])) for key, val in skill.items(): if key.startswith("x-") and isinstance(val, Mapping): required.update(val.get("requires", [])) unresolved = required - client_known_schemas if unresolved: # Valid signature, unverifiable capability: quarantine, do not dispatch. raise UnverifiableSkillClaim( f"skill {skill_id} requires unresolvable extensions {sorted(unresolved)}; " f"signature is valid but capability graph cannot be re-derived" ) return NegotiationRecord( task_id="", # assigned at dispatch admitted_skills=frozenset({skill_id}), accepted_modes=declared_modes & client_accepted_modes, resolved_extensions=frozenset(required), ) def handle_push_webhook( record: NegotiationRecord, payload: Mapping, known_schemas: frozenset[str], ) -> None: if payload.get("taskId") != record.task_id: raise UnverifiableSkillClaim("webhook taskId does not match frozen negotiation record") for part in payload.get("artifacts", []): schema = part.get("metadata", {}).get("schema") if schema and schema not in record.resolved_extensions: raise UnverifiableSkillClaim( f"webhook artifact references schema {schema!r} outside the " f"frozen negotiation set {sorted(record.resolved_extensions)}; " f"webhook is unsigned and must not widen the capability boundary" ) ```