# Under what conditions must an instance treat a federated credential revocation as effective before its local trust cache converges **Date of Record:** 2026 November 22 **Scope:** Applies to multi-agent deployments where an agent instance validates peer warrants/credentials issued by a foreign trust domain that propagates revocation events under eventual consistency (CRDT-style gossip, periodic CRL pull, or push-over-queue). Does not apply to single-domain deployments with synchronous revocation checks at every call, nor to stateless one-shot invocations with no cached trust state. ## Core Distinction The failure that matters here is not "revocation was missed." It is the conflation of two distinct predicates that a validating instance must keep separate: **revocation-known** (the revoker has published the revocation into its own authoritative log) and **revocation-effective** (the revocation has reached every instance whose cached trust decision could still admit the revoked warrant). Under eventual consistency these diverge for a bounded but nonzero window. The non-obvious boundary is that an instance cannot treat the two as equal even when its own cache shows a fresh, consistent view — because *its* convergence says nothing about the convergence of the peers it will hand the baton to. A validating agent that checks its local cache, sees the credential present and unexpired, and proceeds has made a decision that is locally valid and globally unsafe whenever the peer it delegates to holds a *staler* view of the same revocation. This is the crux: in a federated swarm, the trust decision is not made once by the validator. It is made again by every downstream agent that receives the propagated warrant. Eventual consistency guarantees that all views *eventually* agree; it guarantees nothing about whether a given multi-hop delegation chain traverses views that agree *at the same instant*. That gap is the boundary. ## What Was Observed A three-domain federation: issuer domain `D_A` mints capability warrants for a planner agent; `D_B` and `D_C` are consumer domains running worker agents that accept `D_A` warrants via cross-signed trust anchors. Revocation propagates as a signed tombstone over an anti-entropy gossip channel with a nominal convergence target of 5 seconds (p99 observed 11s under load). A worker in `D_C` was found to be executing tool calls on behalf of a warrant that `D_A` had revoked 40 seconds earlier. The trace: 1. `D_A` revokes warrant `W_7` at `t=0`, appends tombstone to its authoritative log, gossips. 2. `D_B` converges at `t=+3s`; `D_C`'s gossip peer was partitioned and converges at `t=+38s`. 3. At `t=+9s`, a planner in `D_B` (which *has* the tombstone) receives a task requiring `W_7`'s capability. Because `D_B` already converged, its local check correctly rejects `W_7` — but the planner holds a *delegation chain*: it forwards the original signed warrant `W_7` (with a fresh `D_B` co-signature) to a worker in `D_C` as a baton. 4. The `D_C` worker validates `W_7` against its *own* cache, which is stale, finds it live, and executes. The validating instance in `D_B` did the right thing locally. The failure was that the *forwarded* warrant's validity was re-evaluated at the destination under a view the source could not observe. The source had no signal that `D_C` was behind, and the transport carried the warrant as an opaque signed blob whose freshness was not bound to the sender's convergence state. The measurable invariant that broke: **the set of instances that have converged on `W_7`'s revocation was not a superset of the set of instances reachable by the delegation chain within the warrant's remaining lifetime.** The chain outran the tombstone. ## Condition of Validity A local trust-cache check is a valid basis for *acting* on a warrant only when all of the following hold. If any fails, the instance must escalate to a synchronous authoritative check or refuse the delegation: - **Anchor freshness bound:** the instance's last successful anti-entropy sync with the issuing domain is within `Δ_sync`, and `Δ_sync` is strictly less than the minimum remaining lifetime of any warrant in the delegation chain. If `Δ_sync ≥ remaining_lifetime`, the cache can never be trusted for that warrant — the revocation could be published and propagate entirely within the warrant's life without the validator ever seeing it. - **Reachability closure:** every peer that the warrant will be forwarded to is known, via federation metadata, to be within the same convergence cohort as the validator, OR the forwarded warrant carries a proof-of-freshness (e.g., a monotonic revocation epoch counter signed by `D_A`) that the destination must re-check against its own epoch. - **No silent partition:** the gossip channel reports healthy (bounded heartbeat gap) to all peers in the chain. A partitioned peer is by definition outside the convergence guarantee, and forwarding to it is forwarding into an unbounded staleness window. The subtle part: condition 1 is checkable locally, but conditions 2 and 3 require the validator to reason about *other instances' state*, which it cannot directly observe. The only sound mechanism is to push the freshness obligation onto the destination via a signed epoch, so that the destination's own stale cache becomes self-evidently stale rather than silently authoritative. ## Decision Boundary The boundary between "proceed on cached trust" and "force synchronous revalidation" is drawn by a single comparison the instance must make at delegation time: ``` trust_cache_admissible_to_forward ⟺ (now − last_sync_issuer) < min_remaining_lifetime(chain) AND gossip_heartbeat_gap(all_peers_in_chain) < Δ_sync AND destination_epoch_known_and_bound_to_warrant ``` If `trust_cache_admissible_to_forward` is false, the instance must **not** forward the warrant on the strength of its own converged view. It must either (a) attach the issuer's current revocation epoch and require the destination to reject on epoch mismatch, or (b) perform a synchronous pull from the issuer before forwarding. The tempting shortcut — "my cache is fresh, so the warrant is good, so I'll pass it along" — is exactly the invalid inference. Local convergence is not transitive across the chain. Note the asymmetry that makes this a real boundary rather than a paranoid one: the cost of a false positive (forwarding a revoked warrant into a stale domain) is a security breach; the cost of a false negative (forcing a sync when the cache was actually fine) is a few hundred milliseconds of latency. The boundary is deliberately biased because the failure is silent and the recovery is cheap. ## Operational Effect When this invariant is enforced, the observable behavior changes in three ways. First, delegation latency becomes bimodal: chains whose peers are all in-cohort forward instantly, while chains touching a partitioned or lagging peer block on a synchronous epoch check. Second, the system gains a *detectable* failure mode — a destination rejecting on epoch mismatch surfaces the partition as an explicit error instead of a silent stale-accept. Third, the issuer's revocation epoch becomes a first-class field in the warrant envelope rather than an out-of-band artifact, which means the warrant's validity is no longer a function of the validator's clock and cache alone. When it is not enforced, the system exhibits *convergence-laundered revocation*: a revoked credential remains usable for the duration of the maximum staleness along any reachable chain, and the breach leaves no trace in any single instance's logs, because every instance acted correctly on the view it had. The only forensic evidence is the timestamp gap between the issuer's tombstone and the destination's eventual convergence — which is precisely the window the invariant was supposed to close. The guardrail is not "check revocation faster." It is "never let a warrant's validity be decided by a cache the warrant's issuer cannot bound." The epoch counter is the mechanism that makes the bound explicit and portable across the federation. ```python import time from dataclasses import dataclass, field class StaleTrustCacheError(RuntimeError): """Raised when a warrant would be forwarded on the strength of a cached trust view that cannot bound the revocation staleness of the destination.""" pass @dataclass class Warrant: warrant_id: str issuer_epoch: int # monotonic revocation epoch at issuance-time view remaining_lifetime_s: float @dataclass class TrustView: last_sync_issuer_s: float # seconds since last anti-entropy sync gossip_heartbeat_gap_s: float # worst peer heartbeat gap known_destination_epoch: int | None def assert_forward_admissible( warrant: Warrant, view: TrustView, delta_sync_s: float, ) -> None: """Enforce the forward-admissibility invariant before delegating a warrant. A converged local cache is NOT sufficient grounds to forward: the destination's view may be staler than ours, and the chain can outrun the tombstone. We require an explicit freshness bound the destination can re-check. """ if view.last_sync_issuer_s >= warrant.remaining_lifetime_s: raise StaleTrustCacheError( f"warrant {warrant.warrant_id}: sync age " f"{view.last_sync_issuer_s:.1f}s >= remaining lifetime " f"{warrant.remaining_lifetime_s:.1f}s; revocation could propagate " f"entirely within warrant life unseen" ) if view.gossip_heartbeat_gap_s >= delta_sync_s: raise StaleTrustCacheError( f"warrant {warrant.warrant_id}: peer heartbeat gap " f"{view.gossip_heartbeat_gap_s:.1f}s exceeds convergence bound " f"{delta_sync_s:.1f}s; a partitioned peer is outside the guarantee" ) if view.known_destination_epoch is None: raise StaleTrustCacheError( f"warrant {warrant.warrant_id}: destination revocation epoch " f"unknown; cannot bind freshness obligation to destination" ) if view.known_destination_epoch < warrant.issuer_epoch: raise StaleTrustCacheError( f"warrant {warrant.warrant_id}: destination epoch " f"{view.known_destination_epoch} behind issuer epoch " f"{warrant.issuer_epoch}; destination cache is stale by construction" ) def forward_warrant(warrant: Warrant, view: TrustView, delta_sync_s: float) -> str: assert_forward_admissible(warrant, view, delta_sync_s) return f"forwarded:{warrant.warrant_id}@epoch={warrant.issuer_epoch}" ```