# In what scenarios must an instance treat a revocation epoch as authoritative over a cached peer credential in A2A trust domains **Date of Record:** 2026 November 26 **Scope:** Applies to multi-agent systems where autonomous agents present signed warrants (capability tokens bound to a signing key and a trust domain) to peers across federated A2A boundaries, and where revocation is propagated asynchronously as epoch-stamped lists. Does not apply to single-domain deployments with a synchronously shared revocation store, nor to bearer-token schemes without cryptographic identity binding. ## Core Distinction The failure is not "the revoked agent kept acting." Any revocation system tolerates a bounded window of stale authorization. The non-obvious boundary is this: **a revoked agent can present a warrant that is cryptographically valid, unexpired, and stamped with an epoch that is newer than the epoch of the revocation record the verifier currently holds.** In that state, a naive verifier concludes the credential is *more current* than its own revocation view and admits it. The invariant that must hold is asymmetric: an epoch stamp on an inbound credential is evidence of *when the credential was minted*, never evidence of *what the issuer currently believes*. A verifier must never let a peer-supplied epoch override its own cached revocation epoch for that peer's domain. Freshness of the credential and freshness of the revocation view are orthogonal axes, and conflating them is the entire bug. This distinction matters because it inverts the normal monotonicity intuition. In most freshness schemes, "newer epoch wins." In revocation propagation, "newer *revocation* epoch wins," and a newer *credential* epoch is precisely what a compromised or colluding issuer emits after revocation to keep its revoked agent alive. ## What Was Observed A three-domain federation: domain `A` issues warrants for its worker agents, domain `B` and domain `C` are resource holders that verify `A`-issued warrants. Revocation in `A` is published as a signed, epoch-numbered list (`revoke_epoch`, monotonic per issuer key) and gossiped to `B` and `C` on a 30-second cadence with jitter. Sequence observed during a fault injection: 1. `A` revokes agent `w-17` at `revoke_epoch = 4402`. The revocation record is signed and queued for gossip. 2. Gossip to `C` is delayed (network partition of the gossip channel only; the data plane is unaffected). 3. `A`'s issuance service, still holding a warm signing context, mints a fresh warrant for `w-17` — this happens in practice when a long-running planning agent re-requests a capability mid-task and the issuance path checks a *local* liveness cache that had not yet observed the revocation. The new warrant carries `warrant_epoch = 4405`. 4. `w-17` presents the `4405` warrant to `C`. `C` holds a revocation view stamped `4401` (last good gossip before the partition). `C`'s verifier compares `warrant_epoch (4405) > cached_revoke_epoch (4401)` and admits the call. 5. `C` never sees the `4402` revocation until the partition heals ~40 minutes later, during which `w-17` executed 1,900 tool calls against `C`'s sandbox. The verifier's logic was not obviously wrong in isolation — it was a standard "reject if the credential is older than my revocation knowledge" check. The defect is that the comparison was *between two epochs from different namespaces*: the warrant epoch is issuer-mint-sequence, the revocation epoch is issuer-revocation-sequence. They are monotonic within their own counters and have no defined ordering relative to each other. `4405 > 4401` is a comparison of a mint counter to a revocation counter and carries no meaning. ## Condition of Validity The guardrail holds only under these conditions, and each must be checked explicitly because violating any one silently reopens the hole: - **Epoch namespace separation.** The verifier must store, per issuer key, the highest *revocation* epoch it has authenticated. It must never store or compare against a *warrant* epoch for authorization decisions. Warrant epochs may be used only for replay detection within a single warrant family, never for revocation freshness. - **Fail-closed on unauthenticated freshness.** If the verifier cannot authenticate a revocation record (bad signature, unknown issuer key, malformed epoch), it must treat the issuer's revocation state as *unknown* and apply the domain's fail-closed policy — not fall back to the last-known epoch as if it were current. - **Bounded staleness with a hard ceiling.** The verifier must carry an explicit `max_revoke_staleness` per trust domain. When `now - last_authenticated_revoke_update > max_revoke_staleness`, all warrants from that domain are rejected regardless of their own validity window. This is the only thing that bounds the partition window; without it, a partition of arbitrary length is an arbitrary-length authorization grant. - **Revocation precedes issuance in the issuer's own ordering.** The issuer must guarantee that once a revocation is committed at epoch `E`, no new warrant for that subject is minted at any epoch until the revocation is superseded by an explicit re-authorization event. This is an issuer-side invariant that the verifier cannot enforce and must be contractually required in the trust-domain agreement. ## Decision Boundary The decision boundary is the point where a verifier must choose between "the credential looks newer than my knowledge" and "my knowledge is stale and I must not act." The correct resolution: | Verifier state | Inbound warrant | Decision | |---|---|---| | Authenticated revoke epoch `R`, fresh (`within max_revoke_staleness`) | `warrant_epoch` any value, subject not in revocation set | Admit | | Authenticated revoke epoch `R`, fresh | subject in revocation set at `R` | Reject, regardless of `warrant_epoch` | | Stale revoke view (`beyond max_revoke_staleness`) | any | Reject (fail-closed) | | Unauthenticated / missing revoke view for issuer | any | Reject unless domain policy explicitly permits a bootstrap grace window with a hard cap | The boundary the article is about is row 2 versus the naive comparison: a fresh, valid, higher-epoch warrant for a subject that *is* in the authenticated revocation set must still be rejected. The warrant's epoch is irrelevant to that decision; only set membership at the authenticated epoch matters. ## Operational Effect The practical consequence is that revocation propagation latency is not a soft consistency property — it is a hard authorization bound, and it must be enforced by the *verifier's* staleness ceiling, not by the *issuer's* gossip cadence. When this invariant is missing, the observed effect is that a gossip-channel partition (which does not affect the data plane) silently converts into an unbounded authorization window for exactly the agents the issuer has tried to revoke, and the failure is invisible in normal operation because it only manifests when revocation and partition coincide. The secondary effect is diagnostic: because the verifier admitted on a "newer epoch" basis, its logs show successful authorization with no error, and post-incident analysis that greps for rejected warrants finds nothing. The only reliable forensic signal is the divergence between `last_authenticated_revoke_update` and wall-clock time at the moment of each admitted call — which must be logged per decision, not reconstructed after the fact. ```python import time from dataclasses import dataclass class RevocationFreshnessError(RuntimeError): """Raised when a verifier cannot establish an authoritative revocation view.""" pass @dataclass(frozen=True) class RevocationView: issuer_key_id: str revoke_epoch: int authenticated_at: float # monotonic seconds when this view was verified revoked_subjects: frozenset[str] @dataclass(frozen=True) class Warrant: issuer_key_id: str subject: str warrant_epoch: int # mint-sequence, NOT comparable to revoke_epoch not_after: float def authorize( warrant: Warrant, view: RevocationView | None, now: float, max_revoke_staleness: float, ) -> bool: # 1. Fail-closed if we have no authenticated revocation view for this issuer. if view is None: raise RevocationFreshnessError( f"no authenticated revocation view for issuer {warrant.issuer_key_id!r}" ) # 2. The view must belong to the same issuer key the warrant claims. if view.issuer_key_id != warrant.issuer_key_id: raise RevocationFreshnessError( f"revocation view issuer {view.issuer_key_id!r} does not match " f"warrant issuer {warrant.issuer_key_id!r}" ) # 3. Hard staleness ceiling bounds the partition window. This is the guardrail; # without it a gossip partition is an unbounded authorization grant. age = now - view.authenticated_at if age > max_revoke_staleness: raise RevocationFreshnessError( f"revocation view for {view.issuer_key_id!r} is stale: " f"age={age:.1f}s exceeds max={max_revoke_staleness:.1f}s" ) # 4. Warrant validity window (orthogonal to revocation freshness). if warrant.not_after <= now: return False # 5. THE INVARIANT: set membership at the authenticated revoke epoch decides. # warrant.warrant_epoch is deliberately NOT compared to view.revoke_epoch — # they are different counters and their ordering is undefined. if warrant.subject in view.revoked_subjects: return False return True def handle_peer_call(warrant, view, now, max_staleness): try: return authorize(warrant, view, now, max_staleness) except RevocationFreshnessError as exc: # Surface, don't swallow: a stale view is an operational event, not a no-op. raise RevocationFreshnessError( f"refusing peer call from {warrant.subject!r}: {exc}" ) from exc ```