# When must an instance reject a peer Agent Card whose signed capability manifest is valid but stale: the A2A v1.0 discovery-time capability drift boundary **Date of Record:** 2026 November 29 **Scope:** Applies to A2A v1.0 cross-organization task delegation where a caller instance resolves a remote Agent Card, verifies a detached signature over its capability manifest, and delegates a task whose required capabilities are declared in that manifest. Does not apply to intra-organization discovery where both parties share a live registry with push invalidation, nor to stateless one-shot RPCs that carry no capability precondition. ## Core Distinction Signature validity and capability truth are orthogonal properties of an A2A Agent Card, and the protocol's discovery path conflates them. A signed manifest proves *who asserted* a capability set and that the bytes were not altered in transit. It does **not** prove the asserted capabilities are currently executable by the remote runtime. The non-obvious boundary is this: a caller that treats `signature_verified == true` as `capability_available == true` will delegate into a peer that has silently shed a capability (model swap, tool revocation, quota exhaustion, region failover) while still serving a byte-identical, cryptographically valid Agent Card from cache. The failure is not a forgery; it is a *stale truth* wrapped in a *fresh signature*. The invariant that must hold is temporal, not cryptographic: **manifest assertion time plus declared TTL must bound the moment of delegation, independent of signature validity.** ## What Was Observed Caller instance `orch-7` (orchestrator, org A) resolved the Agent Card for `peer-doc-extract` (org B) at 09:14:02Z. The card advertised capability `pdf.table_extraction.v3` with a manifest `issued_at=2025-06-08T22:00:00Z`, `ttl_seconds=86400`, and a valid Ed25519 detached signature over the manifest body, verifiable against org B's published JWKS. All checks passed. `orch-7` cached the resolved card keyed by `(agent_id, manifest_digest)` and began a 40-minute batch of 1,200 delegation tasks, each carrying a capability warrant referencing `pdf.table_extraction.v3`. At 09:31Z org B rotated its extraction backend: the v3 table model was deregistered and the endpoint began returning `capability_unavailable` on the A2A `tasks/send` method for that capability, while the discovery endpoint continued serving the *same signed card* because the manifest had not been re-issued and its TTL had not expired. The signature remained valid; the assertion remained unexpired; the capability was gone. `orch-7`'s per-task preflight checked only `manifest_digest` cache hit and signature validity, both of which still passed. Tasks 1 through 311 succeeded (dispatched before 09:31Z). Tasks 312 through 1,200 failed at the peer with a structured `capability_unavailable` error, but `orch-7`'s retry policy classified these as *transient transport* faults (the error code was nested under a generic `-32000` server-error envelope) and retried each task three times against the same stale card, producing 2,667 wasted delegations and a 34-minute stall before a human noticed the error text. The decisive detail: nothing in the cryptographic verification path could have caught this. The card was authentic. The manifest was unexpired by its own declared clock. The only signal was a *runtime* disagreement between the asserted capability set and the peer's actual executable set, surfaced solely through task-time error codes that the caller's classifier had mis-bucketed. ## Condition of Validity The stale-manifest delegation hazard is bounded and predictable under the following conjunction, and only under it: 1. **Detached-signature discovery with self-declared TTL.** The manifest carries its own `issued_at` and `ttl_seconds`; there is no registry-side revocation channel the caller consults at delegation time. If a live registry with push invalidation exists, the hazard collapses to a registry-lag problem, not a signature-truth problem. 2. **Capability set mutates faster than manifest re-issue.** Backend rotation cadence (model swaps, tool revocation, quota events) is shorter than the manifest TTL. Here TTL was 24h; rotation happened at T+11h. The gap `rotation_time - issued_at < ttl_seconds` is the exposure window. 3. **Caller caches resolved cards across a task batch.** A caller that re-resolves and re-verifies per task still cannot detect drift (the card is unchanged), but it at least re-reads `issued_at`; caching removes even that weak signal. 4. **Caller's error classifier does not distinguish capability-absence from transport-transience.** If `capability_unavailable` is correctly bucketed as terminal-for-this-warrant, the blast radius is one task, not 889. The hazard does **not** obtain when the peer re-issues the manifest on every capability change (push model), when the caller holds a capability warrant with an explicit `not_after` tighter than the manifest TTL and re-negotiates on expiry, or when task-time capability errors are terminally classified. ## Decision Boundary The caller must draw the line at **assertion freshness vs. signature freshness**, and the two clocks diverge. The decision rule an instance must implement: - A signed manifest is *admissible for delegation* only if `now <= issued_at + ttl_seconds` **and** `now <= warrant.not_after` **and** the capability required by the task is present in the manifest's declared set. Signature validity is necessary but never sufficient. - On a task-time `capability_unavailable` response, the caller must treat the cached manifest as *falsified by observation*: evict the cache entry for `(agent_id, manifest_digest)`, mark the capability as `observed_absent`, and refuse further delegation of that capability to that peer until a **new** manifest (different digest, later `issued_at`) is resolved and verified. This is the continuity invariant: **observation of absence overrides cryptographic assertion of presence.** - The caller must not retry a `capability_unavailable` task against the same manifest digest. Retries are permitted only against a re-resolved manifest with a strictly greater `issued_at`. The subtle trap is that a naive implementation evicts on *signature failure* but not on *runtime disagreement*. The signature never fails here; the eviction must be driven by the task-time observation, which lives outside the crypto path entirely. ## Operational Effect Enforcing the observation-overrides-assertion invariant converts an 889-task cascade into a single terminal failure plus one cache eviction, and it forces the peer relationship into a re-negotiation handshake: the caller sends a `capabilities/refresh` request (or waits for TTL expiry) and refuses delegation until a manifest with a later `issued_at` arrives. The cost is a brief delegation stall on the affected capability; the benefit is that the caller's capability model converges to the peer's *actual* executable set within one task round-trip rather than one TTL period. The deeper operational consequence: capability manifests must be treated as *claims with an observation-based falsification path*, not as *facts certified by signature*. Any architecture that verifies the signature and stops has built a system that is cryptographically sound and operationally blind. The guardrail is a two-clock model — signature clock and assertion clock — plus a task-time falsification hook that evicts on observed absence. An instance that lacks the falsification hook will, given enough rotation events, systematically delegate into dead capabilities while every cryptographic check reports green. ```python from dataclasses import dataclass from datetime import datetime, timedelta from typing import Optional class StaleManifestDelegationError(RuntimeError): """Raised when a caller attempts to delegate against a manifest whose assertion is no longer admissible, or whose capability was observed absent.""" @dataclass(frozen=True) class SignedManifest: agent_id: str manifest_digest: str issued_at: datetime ttl_seconds: int capabilities: frozenset[str] signature_valid: bool def assertion_expires_at(self) -> datetime: return self.issued_at + timedelta(seconds=self.ttl_seconds) @dataclass class CapabilityCache: entries: dict[tuple[str, str], SignedManifest] observed_absent: dict[str, set[str]] # agent_id -> capabilities observed gone def resolve(self, agent_id: str) -> Optional[SignedManifest]: for (aid, _digest), manifest in self.entries.items(): if aid == agent_id: return manifest return None def evict(self, agent_id: str, digest: str) -> None: self.entries.pop((agent_id, digest), None) def delegate( cache: CapabilityCache, agent_id: str, required_capability: str, now: datetime, warrant_not_after: datetime, ) -> str: manifest = cache.resolve(agent_id) if manifest is None: raise StaleManifestDelegationError( f"no resolved manifest for {agent_id}; cannot delegate" ) if not manifest.signature_valid: raise StaleManifestDelegationError( f"manifest {manifest.manifest_digest} for {agent_id} failed signature verification" ) # Signature is valid -- but assertion freshness is a separate clock. if now > manifest.assertion_expires_at(): raise StaleManifestDelegationError( f"manifest {manifest.manifest_digest} for {agent_id} expired at " f"{manifest.assertion_expires_at().isoformat()}, now={now.isoformat()}" ) if now > warrant_not_after: raise StaleManifestDelegationError( f"capability warrant for {required_capability} expired at " f"{warrant_not_after.isoformat()}; re-negotiate before delegating" ) if required_capability not in manifest.capabilities: raise StaleManifestDelegationError( f"{agent_id} manifest does not declare capability {required_capability}" ) # Falsification hook: observation of absence overrides cryptographic assertion. if required_capability in cache.observed_absent.get(agent_id, set()): raise StaleManifestDelegationError( f"capability {required_capability} previously observed absent on {agent_id} " f"under manifest {manifest.manifest_digest}; awaiting re-issued manifest" ) return f"delegated:{agent_id}:{required_capability}:{manifest.manifest_digest}" def on_task_response( cache: CapabilityCache, agent_id: str, manifest_digest: str, required_capability: str, peer_error_code: str, ) -> None: """Task-time falsification: a capability_unavailable response invalidates the cached manifest for that capability, regardless of signature validity.""" if peer_error_code == "capability_unavailable": cache.observed_absent.setdefault(agent_id, set()).add(required_capability) cache.evict(agent_id, manifest_digest) raise StaleManifestDelegationError( f"peer {agent_id} reported capability_unavailable for {required_capability} " f"under manifest {manifest_digest}; cache evicted, delegation halted " f"until a manifest with later issued_at is resolved" ) ```