# In what scenarios must an instance treat a peer's cached revocation epoch as authoritative before accepting a cross-org tool call, and where does propagation staleness silently defeat that invariant? **Date of Record:** 2026 November 27 **Scope:** Applies to federated agent meshes where agent identity (DID/warrant) and revocation status are propagated across organizational trust boundaries via signed epoch announcements rather than a single synchronous revocation oracle. Does not apply to single-org deployments with a synchronous CRL/OCSP-equivalent that every call resolves against inline. ## Core Distinction There are two things an agent can mean when it says "peer P is still valid": *P was valid as of the epoch I last ingested*, and *P is valid as of now*. In a cross-org mesh these diverge, and the divergence is not bounded by wall-clock time — it is bounded by the *slowest path* through which a revocation epoch announcement reaches this instance. The critical distinction is between **revocation propagation latency** (how long until a signed epoch reaches you) and **revocation staleness tolerance** (how long you are willing to act on an old epoch). Most mesh deployments conflate them: they set a TTL on the cached epoch equal to an assumed propagation latency, and thereby convert a probabilistic propagation bound into a hard authorization decision. The failure is not that revocation is slow; it is that the instance *cannot distinguish* "no revocation announced" from "revocation announced but not yet arrived," and treats both identically as "peer valid." ## What Was Observed An orchestrator agent `A` in org Alpha delegates a sub-task to peer agent `B` in org Beta. `B` presents a warrant signed by Beta's issuer, plus a *revocation epoch snapshot*: a signed statement from Beta's revocation authority (RA) reading "as of epoch 4471, agent B is not revoked." `A` caches this snapshot with a TTL of 300s and validates the signature chain against Beta's published issuer keys. At T+0, Beta's RA revokes `B` (compromised signing key) and publishes epoch 4472. Epoch 4472 must propagate to Alpha through the mesh gossip layer. Alpha's mesh relay is healthy but the *path* to Alpha passes through a bridge node in org Gamma, which is itself mid-upgrade and has paused epoch forwarding for 11 minutes. Alpha's 300s TTL on epoch 4471 expires at T+300s. Alpha's cache-miss handler does what it was built to do: it re-fetches from its *configured RA endpoint*, which is the Gamma bridge — which is paused and returns its last known good epoch, 4471, with a fresh signature timestamp. Alpha re-caches 4471 with a new 300s TTL. The observable trace: `A` continues to accept `B`'s tool calls for the full 11-minute Gamma outage, and the TTL cache-miss *actively refreshed* the stale epoch rather than surfacing the staleness. The re-fetch-and-recache loop is the poison. The instance believed it was doing freshness validation; it was doing *liveness* validation against a relay that had no fresher data to give. A second-order effect: because Alpha re-signed/attested the refresh internally, downstream agents in Alpha's own sub-mesh inherited epoch 4471 with Alpha's attestation, laundering the staleness one hop further. ## Condition of Validity The invariant an instance *needs* is: **a cached revocation epoch is authoritative only if this instance can bound the age of the epoch itself, not merely the age of its own cache entry.** Concretely, an epoch snapshot `E` from RA `R` is safe to act on at time `t` iff: - `E.issued_at` is within the instance's staleness tolerance `τ` of `t` (epoch age, not cache age), **and** - the RA's *epoch monotonicity* is verifiable — the instance has seen no evidence that `R` has advanced past `E.number`, **and** - the *relay path* used to obtain `E` is not itself the sole source of truth for `R`'s current epoch (i.e., a bridge relaying `R` cannot be trusted to assert `R`'s latest epoch number). The second clause is the one that is almost always missing. Epoch numbers are monotonic, so a relay that is behind can be *detected* if the instance ever sees a higher epoch number from any path. But if the instance's only path is the stalled relay, it never sees the higher number, and monotonicity gives no signal. This is the condition of validity that fails: **monotonicity is only detectable when there are ≥2 independent paths to the RA, or when the RA pushes a heartbeat whose absence is itself a signal.** A single-path pull model has no way to distinguish "current" from "stalled." The guardrail that bounds this: the epoch snapshot must carry the RA's own `issued_at` and a `max_epoch_age` field signed by the RA, and the *verifying* instance must reject any snapshot where `t - E.issued_at > E.max_epoch_age`, **regardless of how recently the instance fetched it.** The fetch recency is irrelevant; only the RA-signed issuance time matters. Additionally, the RA must publish a monotonic *heartbeat epoch* (an epoch that advances on a fixed cadence even when nothing is revoked), so that a stalled relay produces a *visible* gap: if the instance's newest heartbeat epoch is older than `2 × cadence`, the instance must treat the RA as unreachable and fail closed, not re-serve the last good epoch. ## Decision Boundary The decision boundary is between **fail-closed on epoch staleness** and **fail-open on relay liveness**. An instance must choose the former whenever the action gated by the peer's warrant is *irreversible or cross-org-mutating* (writing to Beta's data, spending Beta's budget, invoking Beta's privileged tools). For *read-only, idempotent, or same-org* actions, serving a stale-but-signed epoch is acceptable because the blast radius of a revoked-but-still-acting peer is bounded. The precise boundary condition: if `t - E.issued_at > E.max_epoch_age`, the instance MUST raise and refuse, even if the cache entry is 0 seconds old and the signature is valid. If the instance cannot determine `E.issued_at` (e.g., the relay stripped it, or the snapshot predates the `issued_at` field), it MUST treat the epoch as infinitely stale for mutating actions. The trap is the *refresh* path: a cache-miss handler that re-fetches from a single configured relay and re-caches the result with a new local TTL has *reset the cache age without resetting the epoch age*. The decision boundary must be enforced on epoch age at the point of *use*, not at the point of *cache insertion*. ## Operational Effect The operational effect of getting this wrong is an **unbounded revocation window bounded only by the slowest relay's outage duration**, not by the TTL. In the observed case, an 11-minute bridge pause produced an 11-minute window in which a compromised agent retained full cross-org authority, and the TTL mechanism *masked* the window by continuously refreshing the stale epoch. Downstream, the staleness was laundered through Alpha's own attestation, extending the window to Alpha's sub-mesh. The operational effect of getting it right: the instance's authorization latency for cross-org mutating calls becomes coupled to the *RA heartbeat cadence*, not to the relay topology. This is a real cost — a healthy mesh with a 30s heartbeat cadence will fail closed within 60s of any RA unreachability, which means legitimate calls during a transient relay blip will be rejected. That cost is the price of bounding the window. The alternative — trusting cache recency as a proxy for epoch freshness — is what produced the 11-minute window. The invariant to encode: **cache recency is not epoch freshness; only the RA-signed issuance time and a monotonic heartbeat gap can bound staleness, and a single-path pull model cannot bound it at all.** ```python import time from dataclasses import dataclass class StaleRevocationEpochError(RuntimeError): """Raised when a peer's revocation epoch cannot be bounded as fresh.""" pass @dataclass class RevocationEpoch: peer_id: str epoch_number: int issued_at: float # RA-signed issuance time, not fetch time max_epoch_age: float # RA-signed staleness tolerance signature_valid: bool def authorize_cross_org_call( peer: RevocationEpoch, now: float, newest_heartbeat_epoch: int, heartbeat_cadence: float, action_is_mutating: bool, ) -> bool: # Signature must be valid regardless of action class. if not peer.signature_valid: raise StaleRevocationEpochError( f"peer {peer.peer_id}: epoch {peer.epoch_number} signature invalid" ) epoch_age = now - peer.issued_at # Heartbeat gap: if we have not seen a heartbeat within 2x cadence, # the RA is unreachable and we cannot bound the epoch's freshness. if now - peer.issued_at > 2 * heartbeat_cadence and action_is_mutating: # Distinguish "old epoch" from "stalled relay": if the newest # heartbeat we hold is itself old, the relay is stalled. if newest_heartbeat_epoch <= peer.epoch_number: raise StaleRevocationEpochError( f"peer {peer.peer_id}: no heartbeat beyond epoch " f"{peer.epoch_number} within {2 * heartbeat_cadence}s; " f"relay likely stalled, cannot bound staleness" ) # The core invariant: enforce on epoch age, NOT cache age. if action_is_mutating and epoch_age > peer.max_epoch_age: raise StaleRevocationEpochError( f"peer {peer.peer_id}: epoch {peer.epoch_number} age " f"{epoch_age:.1f}s exceeds RA-signed max_epoch_age " f"{peer.max_epoch_age:.1f}s; refusing mutating call" ) # Read-only / idempotent calls tolerate a stale-but-signed epoch, # but still refuse if the signature is invalid (handled above). return True ```