# Under what conditions must an instance reject a peer Agent Card whose signature chain is valid but whose capability manifest was re-signed after the trust window closed? **Date of Record:** 2026 November 29 **Scope:** Applies to A2A v1.0 cross-org discovery where a remote Agent Card carries a signed capability manifest and a delegation chain of warrants. Does not apply to intra-org discovery where the trust root is shared, nor to stateless one-shot RPC calls without manifest negotiation. ## Core Distinction The distinction that breaks operators is between *signature validity* and *manifest currency*. A2A v1.0 separates two independent facts: (1) the Ed25519 signature over the Agent Card body verifies against a key that chains to a trust anchor, and (2) the capability manifest embedded in the card was attested *within* the trust window the local policy accepts for that peer's issuer class. Implementations routinely collapse these into one check — "did the signature verify?" — and thereby accept a card whose cryptographic integrity is perfect but whose manifest describes capabilities the peer was authorized to advertise only during a window that has since lapsed. The failure is not forgery. The signature is genuine. The peer legitimately signed a manifest listing `tools: [sql.execute, file.write]` at T0. At T1 the peer's governance revoked `file.write` and re-issued a narrowed manifest. At T2 a stale card — still validly signed at T0, still chain-verifiable — is replayed to us by a caching intermediary, a retry queue, or the peer's own eventually-consistent discovery endpoint. We verify the signature, accept `file.write`, and dispatch a tool call the peer's current policy forbids. The peer rejects it, or worse, a lagging peer instance still honors it. ## What Was Observed A cross-org federation between two agent platforms. Peer `org-b` publishes an Agent Card at `/.well-known/agent-card.json` with a manifest signed by an intermediate warrant key. The warrant has `not_before: T0`, `not_after: T0+24h`, and a `manifest_digest` binding the warrant to the specific manifest bytes. Local discovery cached the card with a 6-hour TTL keyed only on `(peer_did, card_url)` — **not** on `manifest_digest`. At T0+20h, `org-b` rotated the manifest (narrowing scopes) and re-signed, but its CDN served the old card to one of three local resolver replicas due to a 4-hour edge cache. The replica accepted the stale card because: 1. Signature verified against the warrant key — true. 2. Warrant `not_after` (T0+24h) had not passed — true at T0+20h. 3. The warrant's `manifest_digest` matched the *stale* manifest bytes — true, because the warrant bound to the old digest and the old warrant was still within its own window. Every individual check passed. The composite invariant — *the manifest I am trusting is the manifest the issuer currently attests to* — was never checked, because no component owned it. The local resolver had no notion of "current manifest," only "a manifest whose warrant is unexpired." The gap between warrant expiry and manifest rotation is the attack surface: a window, bounded by `not_after − last_rotation`, in which revoked capabilities remain cryptographically presentable. The second-order effect: the tool call to `file.write` was dispatched, the peer's *current* policy engine rejected it with `PERMISSION_DENIED`, and the calling agent's reasoning loop — which had already committed to a plan assuming write access — entered a retry storm that burned 40% of its token budget before the orchestrator's circuit breaker fired. ## Condition of Validity A signed capability manifest is valid for local trust **iff all four hold simultaneously**: - `verify(card.signature, chain_to_anchor) == true` - `now ∈ [warrant.not_before, warrant.not_after]` - `hash(manifest_bytes) == warrant.manifest_digest` - `warrant.issued_at >= peer.last_known_manifest_rotation` — i.e., the warrant postdates the most recent rotation the local trust store has observed for that peer. The fourth condition is the one that is structurally absent from most A2A v1.0 implementations because it requires **local state about the peer's rotation history**, which the spec does not mandate carrying. Without it, an unexpired warrant over a superseded manifest is indistinguishable from an unexpired warrant over a current one. The validity condition is therefore not a property of the card alone; it is a property of the card *relative to the verifier's rotation watermark*. Any verifier that does not persist a per-peer rotation watermark cannot enforce the invariant, and must fall back to a conservative TTL strictly shorter than the minimum rotation interval it has observed — a bound it usually cannot compute. ## Decision Boundary The decision boundary is the point where you choose between two failure modes, and it is not symmetric: - **Accept the stale manifest** → risk dispatching revoked capabilities; peer-side rejection; reasoning-loop thrash; possible privilege confusion if a lagging peer instance still honors the revoked scope. - **Reject on rotation-watermark mismatch** → availability loss during the propagation window (`last_rotation` to full CDN convergence, observed here as up to 4h); false negatives on peers whose rotation history you have not yet learned. The correct boundary: **reject when the manifest's warrant `issued_at` predates your rotation watermark for that peer, and the warrant's `not_after` is within `2 × observed_propagation_lag` of now.** Outside that band, accept but mark the capability as `degraded` and require a fresh manifest fetch before any *state-mutating* tool call. Read-only or idempotent capabilities may proceed on a stale-but-valid manifest; mutating ones may not. The boundary is drawn per-capability, not per-card, because the cost of a stale `read` and a stale `write` are not comparable. ## Operational Effect The invariant to enforce: **capability trust is a function of (signature chain, warrant window, digest binding, rotation watermark), and the rotation watermark is verifier-local state that must be persisted and advanced on every observed manifest rotation — including rotations observed through out-of-band channels.** Concretely: - Cache keys must include `manifest_digest`, never just `(peer_did, url)`. A digest-keyed cache makes a stale card a cache miss, not a hit. - Persist `last_known_manifest_rotation[peer_did]` and advance it on any signed rotation event, even one received via a different resolver replica, to shrink the propagation window. - Gate mutating capabilities behind a freshness check stricter than the warrant window: `now - warrant.issued_at < freshness_budget`, where `freshness_budget` is derived from observed rotation cadence, not from `not_after`. - On `PERMISSION_DENIED` from a peer, the orchestrator must invalidate the cached manifest for that peer and re-fetch before retrying — never retry the same tool call against the same cached capability. The failure is silent because every cryptographic check passes. The only defense is a verifier that knows what it last saw the peer attest to, and refuses to trust a manifest older than that knowledge. ```python import hashlib from dataclasses import dataclass from typing import Optional class StaleManifestTrustError(RuntimeError): """Raised when a validly-signed manifest predates the local rotation watermark.""" pass @dataclass class Warrant: not_before: float not_after: float issued_at: float manifest_digest: str @dataclass class AgentCard: peer_did: str manifest_bytes: bytes signature_valid: bool warrant: Warrant class TrustStore: def __init__(self) -> None: self._rotation_watermark: dict[str, float] = {} def observe_rotation(self, peer_did: str, rotated_at: float) -> None: prev = self._rotation_watermark.get(peer_did, float("-inf")) self._rotation_watermark[peer_did] = max(prev, rotated_at) def watermark(self, peer_did: str) -> float: return self._rotation_watermark.get(peer_did, float("-inf")) def admit_manifest( card: AgentCard, store: TrustStore, now: float, freshness_budget: float, mutating: bool, ) -> None: if not card.signature_valid: raise StaleManifestTrustError(f"{card.peer_did}: signature chain failed") w = card.warrant if not (w.not_before <= now <= w.not_after): raise StaleManifestTrustError( f"{card.peer_did}: warrant window closed at {w.not_after}, now={now}" ) digest = hashlib.sha256(card.manifest_bytes).hexdigest() if digest != w.manifest_digest: raise StaleManifestTrustError( f"{card.peer_did}: manifest digest {digest} != warrant {w.manifest_digest}" ) watermark = store.watermark(card.peer_did) if w.issued_at < watermark: raise StaleManifestTrustError( f"{card.peer_did}: manifest issued_at={w.issued_at} predates " f"rotation watermark={watermark}; superseded manifest replayed" ) if mutating and (now - w.issued_at) > freshness_budget: raise StaleManifestTrustError( f"{card.peer_did}: mutating capability on manifest age " f"{now - w.issued_at:.1f}s > freshness_budget {freshness_budget}s; " f"re-fetch required before dispatch" ) ```