# What structural signals indicate Agent Card signature invalidity under extended skill schemas in A2A v1.0 federation **Date of Record:** 2026 December 3 **Scope:** Applies to A2A v1.0 peers that sign Agent Cards containing extended skill schemas and register push-notification webhooks against those cards. Does not cover unsigned cards, cards with only the base skill schema, or transport-layer mTLS failures that occur before card retrieval. ## Core Distinction A2A v1.0 Agent Card signing binds a signature to a *canonicalized byte representation* of the card document. The base spec defines canonicalization over a fixed field set (name, description, url, version, capabilities, skills[].id/name/description/tags). Extended skill schemas — vendor-namespaced fields like `x-org-ratelimit`, `x-org-sla`, or nested `inputSchema`/`outputSchema` blocks — are permitted by the schema but are **not** part of the base canonicalization set unless the signer explicitly opts them in via the `signature.canonicalFields` extension. The non-obvious consequence: a card can pass signature verification at the verifier while the *semantically operative* extended fields are unsigned and therefore mutable in transit. The failure is not "signature invalid" — it is "signature valid over a strict subset of the fields the calling agent actually reasons about." The distinction that matters operationally is between *cryptographic validity* and *authoritative coverage*: a verifier that only checks the former will accept a card whose rate-limit, schema-version, and webhook-binding fields were rewritten by a federating intermediary. ## What Was Observed A federated deployment ran three A2A peers: an orchestrator (`O`), a skill provider (`P`) publishing a card with extended `x-skill-schema` blocks and a `pushNotifications` webhook descriptor, and an intermediary registrar (`R`) that cached and re-served cards to downstream agents. Observed trace: 1. `P` signed its card with `canonicalFields` omitted, defaulting to the base set. The extended `x-skill-schema.inputSchema` and the `pushNotifications.endpoint` were present in the document but outside the signed byte range. 2. `R` fetched the card, verified the signature against the base canonical form — **verification succeeded** — and cached the full document including extended fields. 3. A schema migration on `R`'s side (a routine cache-normalizer that rewrote `inputSchema.required` arrays to a normalized ordering) mutated the extended block. Because those bytes were never signed, no verification step detected the mutation. 4. `O` retrieved the card from `R`, verified signature (still valid over base fields), and dispatched a task whose payload conformed to `R`'s normalized schema but not `P`'s original. 5. `P` rejected the task at input validation. `O` retried three times with identical payloads, then opened a webhook callback to `pushNotifications.endpoint` — which `R` had also rewritten to point at its own relay — creating a callback loop between `O` and `R` that consumed the task's token budget without ever reaching `P`. The structural signal that preceded the failure was not a verification error. It was a **coverage gap visible only by diffing `signature.canonicalFields` against the set of fields the calling agent's planner actually read**. No component in the federation performed that diff. ## Condition of Validity The invariant that must hold for A2A card signing to be authoritative is: > For every field `f` in the card document that any downstream agent's decision logic reads, `f ∈ canonicalFields(signature)`. Equivalently: `readSet(agent) ⊆ signedSet(card)`. This invariant holds under the base spec only when the card contains no extended skill schema fields *and* no push-notification descriptors — i.e., when `readSet ⊆ baseCanonicalSet`. It fails the moment a publisher adds a vendor-namespaced skill field or a webhook descriptor that consumers act on, because those fields default to unsigned. The condition is *not* satisfied by "the verifier returned success." Verification success only proves `signedSet` was unmodified; it says nothing about `readSet \ signedSet`. A card is only authoritative for a consumer when the consumer's read set is a subset of the signed set — a property the consumer must check, because the publisher cannot know every consumer's read set and the verifier has no visibility into it. ## Decision Boundary The boundary is crossed at the point where an agent's planner begins consuming a field that is present in the card but absent from `signature.canonicalFields`. Concretely, an agent must treat the following as **unsigned and therefore untrusted** unless the card's `canonicalFields` explicitly enumerates them: - Any `x-` prefixed field at any nesting depth. - `skills[].inputSchema` and `skills[].outputSchema` sub-trees (base canonicalization covers `skills[].id/name/description/tags` only). - `pushNotifications.*` — endpoint, auth scheme, and retry policy are all outside the base set. - Any field added to the document after signing by a caching intermediary. The decision rule for a receiving agent: ``` if readSet(planner) ⊄ canonicalFields(card.signature): treat card as advisory, not authoritative; re-fetch directly from card.url and re-verify, OR refuse to dispatch tasks whose payload depends on unsigned fields. ``` A verifier that returns "valid" without also returning the enumerated `canonicalFields` set is providing insufficient signal — the consumer cannot compute the subset check. This is the structural signal to demand: **the verifier's response must include the signed field set, not just a boolean.** ## Operational Effect When the invariant is violated, three downstream effects compound: 1. **Silent schema drift across federation hops.** Caching intermediaries that normalize or rewrite unsigned extended fields produce cards that verify but misdescribe the provider. Task dispatch fails at the provider's input validator, and the orchestrator's retry loop treats validation rejection as transient rather than as a card-integrity fault. 2. **Webhook redirection without detection.** Because `pushNotifications.endpoint` is unsigned, an intermediary can rewrite the callback target. The orchestrator's callback loop then routes through the intermediary instead of the provider, and the token budget for the task is consumed in callback round-trips that never reach the skill executor. 3. **Retry amplification under token-budget exhaustion.** The orchestrator's retry policy, calibrated for transient transport errors, fires against a permanent schema mismatch. Each retry re-reads the cached card (still verifying), re-dispatches an identical payload, and re-consumes budget. The failure surfaces as token-budget exhaustion mid-execution, not as a signature error — which is why the root cause is misattributed to the provider's capacity rather than to the unsigned-field coverage gap. The guardrail that bounds the failure is a **pre-dispatch coverage assertion**: before any task dispatch, assert `readSet(planner) ⊆ canonicalFields(card.signature)`, and on violation, either escalate to a direct re-fetch from `card.url` or fail closed with a typed error that names the unsigned fields. This converts a silent misdispatch into an explicit, attributable fault at the federation boundary. ```python from dataclasses import dataclass from typing import FrozenSet class UnsignedFieldCoverageError(RuntimeError): """Raised when an agent's read set escapes the card's signed field set.""" @dataclass(frozen=True) class AgentCard: document: dict signed_fields: FrozenSet[str] # from signature.canonicalFields def assert_card_authoritative(card: AgentCard, planner_read_set: FrozenSet[str]) -> None: """ Enforce: every field the planner reads must be inside the signed set. Base A2A v1.0 canonicalization does NOT cover x-* fields, skills[].inputSchema/outputSchema, or pushNotifications.*. """ unsigned = planner_read_set - card.signed_fields if unsigned: raise UnsignedFieldCoverageError( "Agent Card signature valid but not authoritative: " f"planner reads unsigned fields {sorted(unsigned)}. " "Re-fetch from card.url and re-verify, or fail closed." ) def dispatch_task(card: AgentCard, planner_read_set: FrozenSet[str], payload: dict) -> None: # Coverage assertion must precede dispatch; a passing verifier is insufficient. assert_card_authoritative(card, planner_read_set) # ... dispatch to card.document["url"] ... ```