# Why does an instance accept a revoked peer manifest when the revocation epoch advances during an in-flight A2A handoff? **Date of Record:** 2026 November 25 **Scope:** Applies to cross-organization agent-to-agent (A2A) trust federation where peer capabilities are authorized via signed agent manifests carrying a revocation epoch (monotonic counter, not a timestamp). Does not apply to single-org intra-cluster agent meshes sharing one trust root, nor to purely stateless request/response MCP tool calls with no delegated authority. ## Core Distinction The failure is not "stale revocation list." It is the **epoch-vs-validity-window skew** between two independently advancing clocks: (a) the revocation epoch published by the issuing org's manifest authority, and (b) the manifest snapshot a receiving agent pinned at the start of a delegated task. A manifest is *cryptographically valid* (signature verifies, not expired by `not_after`) while being *semantically revoked* (its `agent_id` was demoted after epoch N). The receiver's local invariant is "signature-valid ⇒ trustworthy." The federation's real invariant is "signature-valid **AND** pinned_epoch ≥ issuer_current_epoch ⇒ trustworthy." These diverge precisely during the window when a long-running handoff straddles a revocation event. The non-obvious part: revocation is *push-lagged but pull-authoritative*. The issuer increments its epoch immediately on demotion; peers learn of it only on next manifest refresh. An agent that pins a manifest at task start and re-verifies only the signature at each hop will keep honoring a revoked peer for the entire duration of the task — and worse, will *propagate* the stale warrant to downstream agents, laundering the revocation. ## What Was Observed A research agent `R` (org A) delegated a multi-hour synthesis subtask to contractor agent `C` (org B) via A2A. At handoff, `R` fetched `C`'s manifest, verified the signature against B's published JWKS, pinned `manifest.epoch = 4417`, and embedded the manifest hash in a delegation warrant passed to `C`. `C` then fanned the subtask to two sub-agents `S1`, `S2` (org B internal), each of which independently re-verified the *same pinned manifest hash* against B's JWKS. At T+38min, org B's security team demoted `C` (credential compromise suspected) and bumped the manifest authority epoch to `4418`, publishing a new signed manifest set. `C`'s key was not rotated — only the epoch advanced and `C`'s `capabilities` were narrowed to `read_only`. `C`, still holding its old private key, continued executing. `R`'s per-hop verification checked signature validity and `not_after` — both still passed — but never compared `pinned_epoch (4417)` against `issuer_current_epoch (4418)`. `S1` and `S2` received `C`'s warrant, saw a signature-valid manifest hash, and *accepted the narrowed-capability peer as if it still held write authority* because the warrant recorded the pre-demotion capability set. `C` performed two `write` operations that the post-demotion manifest forbade. The audit trail showed three clean signature verifications and zero revocations. Root cause chain: (1) epoch is monotonic and *out-of-band* to the manifest signature — the signature covers the manifest content, not "this is still the current epoch"; (2) the warrant bound the manifest *hash*, not the epoch, so downstream verification could not detect supersession; (3) revocation was *pull-based* with a refresh interval longer than typical handoff latency, so no peer had fetched epoch 4418 yet. ## Condition of Validity The guardrail holds only under all of the following; if any fails, treat the peer as untrusted: 1. **Epoch is signed and monotonic.** The issuer's current epoch is itself delivered in a signed, monotonically-increasing structure (e.g., a signed `epoch_head` with a sequence number). A bare integer in an unsigned header is forgeable and useless. 2. **Warrants bind `(manifest_hash, epoch)` as a tuple.** A downstream agent must reject a warrant whose `epoch` is less than the issuer's current signed epoch, even if the hash verifies. Hash-only binding is the exact hole above. 3. **Refresh interval < minimum handoff SLA.** If the revocation pull interval exceeds the p99 task duration, the skew window is unbounded. The federation must publish a `max_staleness` and receivers must fail closed when `now - last_epoch_fetch > max_staleness`. 4. **Fail-closed on epoch-fetch failure.** If the issuer's epoch endpoint is unreachable, the receiver must treat the peer as revoked-unknown, not as valid-by-default. ## Decision Boundary The precise boundary is the **pinned-epoch vs. current-epoch comparison at every hop, not just at entry**: - At task start: fetch manifest, verify signature, pin `(hash, epoch)`, record `fetch_time`. - At **every** subsequent hop (sub-delegation, tool call authorization, warrant propagation): re-fetch issuer `epoch_head`; if `current_epoch > pinned_epoch` → the pinned manifest is superseded → **abort and re-handshake**, do not silently continue with narrowed capabilities. - If `now - fetch_time > max_staleness` and no re-fetch succeeded → **fail closed**. - If a downstream agent receives a warrant whose `epoch` is below its own last-known issuer epoch → **reject the warrant** (the warrant was minted against a superseded manifest). The subtle decision: *do not* treat "capabilities narrowed" as a soft downgrade you can proceed under. A narrowed manifest means the peer's authority changed; the correct action is re-handshake, because the peer may no longer be the entity you delegated to (compromise demotion). Proceeding under narrowed caps is exactly how `C`'s writes slipped through — the warrant carried the *old* capability set. ## Operational Effect Without the epoch-tuple binding, revocation is advisory: it only takes effect for agents that happen to refresh, and never for in-flight tasks. The blast radius is proportional to task duration × fan-out, because each sub-agent independently re-verifies the same stale hash and each is a fresh laundering point. With the guardrail, a demotion during a task forces a bounded re-handshake (cost: one round-trip + possible task restart), and revocation becomes *effective within `max_staleness`* rather than "eventually, for new tasks only." The audit invariant becomes checkable: every accepted warrant must have `warrant.epoch == issuer_epoch_at_accept_time`, which is a line you can grep for in the trace — the three "clean" verifications above would each have failed this predicate against epoch 4418. ```python from dataclasses import dataclass from typing import Optional class RevokedManifestError(RuntimeError): """Raised when a peer manifest is superseded by a newer issuer epoch, or when the epoch head cannot be confirmed within max_staleness.""" @dataclass(frozen=True) class PinnedManifest: agent_id: str manifest_hash: str epoch: int fetch_time: float def authorize_hop( pinned: PinnedManifest, issuer_current_epoch: Optional[int], now: float, max_staleness: float, warrant_epoch: int, ) -> None: # 1. Fail closed if we cannot confirm the issuer's current epoch. if issuer_current_epoch is None: raise RevokedManifestError( f"cannot confirm epoch for {pinned.agent_id}; failing closed" ) if now - pinned.fetch_time > max_staleness: raise RevokedManifestError( f"pinned manifest for {pinned.agent_id} stale " f"({now - pinned.fetch_time:.0f}s > {max_staleness:.0f}s)" ) # 2. Supersession check: a newer issuer epoch invalidates the pin, # even though the signature still verifies. if issuer_current_epoch > pinned.epoch: raise RevokedManifestError( f"manifest for {pinned.agent_id} superseded: " f"pinned_epoch={pinned.epoch} < issuer_epoch={issuer_current_epoch}" ) # 3. Warrant must have been minted against the current epoch tuple. if warrant_epoch != pinned.epoch: raise RevokedManifestError( f"warrant epoch {warrant_epoch} != pinned epoch {pinned.epoch} " f"for {pinned.agent_id}" ) ```