# When must an instance refuse a peer whose revocation is only locally visible: the cross-domain revocation visibility gap in federated agent trust **Date of Record:** 2026 December 1 **Scope:** Applies to any agent that accepts warrants/credentials issued by a foreign trust domain and continues to act on cached peer identity between revocation polls. Does not apply to single-domain deployments with a shared revocation list, nor to stateless request/response agents that re-verify identity on every call. ## Core Distinction A revocation is a *state transition on an identity*, not a message. The failure mode here is not "we forgot to check the revocation list." It is subtler: **the local instance holds a positive authorization decision (a warrant, a capability token, a cached peer certificate) that was valid at issuance time and remains cryptographically intact, while the issuing domain has already transitioned the underlying identity to revoked.** The token is still *verifiable*; it is no longer *warranted*. These are different predicates, and the gap between them is where federated agents do damage. The distinction that matters operationally: **cryptographic validity is monotone and local; revocation is non-monotone and remote.** A signature check answers "was this ever issued to this key?" It cannot answer "is this key still trusted *now*?" The second question lives in a domain the verifying agent does not control and cannot observe synchronously. Every federated agent is therefore running on a *stale positive* by default, bounded only by its revocation-polling interval and the propagation latency of the foreign domain's revocation event. ## What Was Observed A three-domain federation: domain `A` (orchestrator), domain `B` (worker pool), domain `C` (auditor). `A` issues a delegation warrant to a `B`-resident worker `w7`, countersigned by `B`'s trust anchor, granting `w7` the right to submit audit records to `C`. `C` caches the countersigned warrant for 300 seconds to avoid re-validating on every submission — a reasonable optimization, since re-fetching `B`'s anchor and re-checking the countersignature on each call added ~40ms to a hot path. At T+0, `B`'s security team revokes `w7`'s identity (compromised host). `B` publishes the revocation to its own CRL and to the federation's gossip layer. Propagation to `C`'s revocation cache is asynchronous and, under load, observed at **T+180s**. During that window: - `C` continues to accept `w7`'s submissions because the cached warrant is signature-valid and the cache TTL (300s) has not expired. - `A`'s orchestrator, which issued the original warrant, has no mechanism to *withdraw* it — the warrant is a bearer credential. `A` can only stop issuing new ones. - `w7` (or an attacker holding `w7`'s key) submitted 14 forged audit records into `C` between T+0 and T+180. All 14 passed signature verification. All 14 were *correctly signed by a revoked identity*. The trace: `B` transitions `w7` to REVOKED → `C`'s cache still holds `w7` = VALID (TTL 300s, last poll T-120s) → `C` admits submission → `C`'s audit log now contains records that no downstream verifier can distinguish from legitimate ones, because the signature is genuine. The damage is not the 14 records; it is that **the audit log's integrity claim is now false and cannot be repaired by re-verification**, since re-verification re-confirms the signatures. ## Condition of Validity The gap is bounded and tolerable **only** when all three of the following hold: 1. **The relying party's cache TTL is shorter than the issuing domain's revocation-propagation SLA, and that SLA is contractual, not aspirational.** If `B` promises revocation visible within 60s and `C` caches for 300s, the effective revocation latency is 300s, not 60s. The invariant is `cache_ttl ≤ propagation_sla − clock_skew_margin`. Violating it silently converts the SLA into a fiction. 2. **The action taken under the stale-positive is reversible or quarantinable.** Read-only queries under a stale warrant are recoverable; writes to an append-only audit log, transfers of funds, or dispatch of irreversible side effects are not. The failure above is severe precisely because `C`'s log is append-only — the 14 records cannot be un-written, only annotated. 3. **The relying party can distinguish "peer not yet checked" from "peer checked and valid."** A cache that returns the same VALID for a fresh check and a 299-second-old check has collapsed two epistemically distinct states into one. The agent cannot reason about its own uncertainty because the cache erased it. When any of these fails — TTL exceeds SLA, the action is irreversible, or the cache is epistemically flat — the instance must treat the cached positive as **unverified**, not as valid. ## Decision Boundary The boundary is not "should I check the revocation list?" (obviously yes). It is: **at what point does an unrefreshed positive authorization become a negative?** Operationally, the instance must refuse the peer when *any* of these trip: - `now − last_revocation_poll > cache_ttl` → the cached positive is expired; treat as revoked until re-polled. Do not extend the TTL on a failed poll; a failed poll is *not* a renewal. - The action is irreversible (append, transfer, dispatch) **and** `now − last_poll > propagation_sla − skew_margin` → the window in which revocation *could* have occurred but not yet propagated has opened; downgrade to a quarantine path (stage the write, flag for post-hoc review) rather than admit or reject outright. - The issuing domain's anchor has rotated since the warrant was countersigned → the countersignature's trust root is no longer the current root; re-validate against the *current* anchor, not the cached one. The critical anti-pattern: **treating a successful signature verification as sufficient for admission.** Signature validity answers a question about the past. Revocation answers a question about the present. A federated agent that conflates them will admit revoked peers for exactly as long as its cache TTL, and its audit trail will show nothing wrong. ## Operational Effect The guardrail is a **three-state peer identity model** — `VALID`, `STALE`, `REVOKED` — where `STALE` is a first-class state, not an alias for `VALID`. Under `STALE`, irreversible actions are quarantined, not admitted. This costs latency on the quarantine path but bounds the blast radius of any revocation-propagation gap to *reversible* operations. The second effect is **warrant withdrawal as a first-class operation**. Bearer credentials cannot be recalled; the issuing domain must publish revocations that relying parties *actively* poll, and the relying party must treat poll failure as `STALE`, not as renewal. The `A`-orchestrator in the trace could not withdraw its warrant to `w7`; it could only have shortened `C`'s trust window by contract. The lesson is that **revocation latency is set by the slowest relying party's cache, not by the issuer's publication speed**, and federated designs that do not make this explicit are shipping a revocation gap they cannot see. ``` ```python import time from dataclasses import dataclass from enum import Enum class RevocationVisibilityError(RuntimeError): """Raised when a peer's revocation state cannot be established within the trust window.""" pass class PeerState(Enum): VALID = "valid" STALE = "stale" REVOKED = "revoked" @dataclass class PeerWarrant: peer_id: str issued_at: float last_revocation_poll: float cache_ttl: float propagation_sla: float clock_skew_margin: float = 5.0 def classify_peer(w: PeerWarrant, now: float, action_irreversible: bool) -> PeerState: age = now - w.last_revocation_poll if age > w.cache_ttl: # Cache expired without a successful re-poll: positive is no longer trustworthy. return PeerState.STALE gap_window = w.propagation_sla - w.clock_skew_margin if action_irreversible and age > gap_window: # We are inside the window where revocation could exist but not yet be visible. return PeerState.STALE return PeerState.VALID def admit_submission(w: PeerWarrant, now: float, irreversible: bool) -> None: state = classify_peer(w, now, irreversible) if state is PeerState.REVOKED: raise RevocationVisibilityError( f"peer {w.peer_id} is revoked; submission refused" ) if state is PeerState.STALE and irreversible: raise RevocationVisibilityError( f"peer {w.peer_id} revocation state unverified within trust window " f"(age={now - w.last_revocation_poll:.1f}s, sla={w.propagation_sla}s); " f"irreversible action quarantined, not admitted" ) # VALID, or STALE + reversible: proceed (reversible actions tolerate the gap). ```