# Where must an instance halt when a revoked federated identity is still honored by a peer's cached warrant? **Date of Record:** 2026 November 25 **Scope:** Applies to multi-agent systems where an agent instance presents a warrant (signed capability grant) issued by its home trust domain to a peer/auditor instance in a foreign trust domain, and where that peer caches warrant-verification results for latency. Does not apply to single-domain deployments with a single revocation authority, nor to stateless request-signing schemes with no delegation chain. ## Core Distinction The distinction that matters is between **revocation as an event** and **revocation as a state that must be observed at the point of use**. A home domain can publish a revocation (CRL entry, OCSP-style signed status, or a gossip tombstone) with perfect correctness and low latency, and the foreign domain can still honor the revoked warrant—because the peer's *verification cache* holds a positive result keyed on a warrant ID whose validity the peer never re-checks within the cache TTL. The failure is not "revocation didn't propagate." It is "propagation succeeded, but the consuming instance's cached decision predates it and outlives it." This is a boundary condition specific to agents: the peer is an LLM-driven instance whose tool calls are non-deterministic and whose *decision to re-verify* is itself a probabilistic act. A human operator would notice a stale cache on a suspicious handoff. An agent, given a cached "valid" verdict, will proceed with the delegated action because the cached verdict is a well-formed token of trust and nothing in its prompt tells it that the token has an expiry that must be reconciled against a revocation epoch. ## What Was Observed A three-domain federation: home domain `A` issues a warrant `W(id=w-7731, subject=agent-A-14, delegate=read:ledger, ttl=900s)` to agent instance `A-14`. `A-14` hands off to peer agent `B-22` in domain `B` to perform a delegated read against `C`'s ledger. `B-22`'s verifier calls `A`'s status endpoint, receives `valid`, and caches `(w-7731 → valid, expires=cache_ttl=600s)`. At `t+40s`, `A`'s operator revokes `w-7731` (compromised key material on `A-14`). `A` publishes the revocation to its CRL and to a federation gossip channel. `B`'s revocation listener ingests the tombstone at `t+43s` and updates its *revocation set*. But `B-22`'s verification cache is keyed on warrant ID and consulted *before* the revocation set is checked—an ordering bug in the verifier that is invisible in unit tests because those tests never revoke mid-flight. At `t+120s`, `B-22` executes a second delegated read. The verifier returns the cached `valid` for `w-7731`. The revocation set contains `w-7731`, but the cache hit short-circuits the check. `B-22` performs the read. The ledger audit log shows a valid-warrant read at `t+120s` against a warrant revoked 80 seconds earlier. The home domain's revocation was correct, timely, and fully propagated. The consuming instance simply never consulted it, because the cache was authoritative by construction. The trace is not a race. It is a **precedence inversion**: cache-hit is evaluated before revocation-set membership, so a cache entry that was correct at write time becomes a standing authorization that outlives the state it encodes. ## Condition of Validity A cached warrant-verification result `(w → valid)` is only sound for a consumer if, at the moment of use, all of the following hold: 1. **Epoch monotonicity.** The consumer's revocation epoch counter is ≥ the epoch at which the cached result was written. If the consumer has observed *any* revocation event since the cache write, the cache entry must be re-validated, not trusted. 2. **Revocation-set precedence.** Revocation membership is checked *before* cache consultation, or the cache is invalidated on every revocation-set mutation that touches the warrant's issuer, subject, or delegation path (not just the exact warrant ID—revoking the *issuer* invalidates all warrants it signed). 3. **TTL bounded by revocation propagation budget.** `cache_ttl ≤ min(revocation_propagation_p99, warrant_remaining_ttl)`. A 600s cache TTL over a 900s warrant with a 43s propagation p99 is unsound by a factor of ~14. 4. **Delegation-path closure.** If `W` delegates from `A-14` to `B-22`, revoking `A-14`'s key must invalidate `W` transitively even if `W`'s own ID is not in the CRL. Caches keyed only on `w-7731` miss issuer-level revocation entirely. The invariant to enforce: **no cached authorization may be consumed across a revocation-epoch increment without re-validation.** This is the agent-layer analogue of "don't use a stale capability after a capability-revocation barrier." ## Decision Boundary The decision boundary for an instance is: *at which point in a multi-step task must `B-22` halt and re-verify rather than proceed on cached trust?* Three concrete triggers: - **Epoch delta > 0 since cache write.** If `B-22`'s local revocation epoch advanced between the cache write and the current tool call, the cached verdict is stale by definition. Halt, re-verify, resume only on fresh `valid`. - **Issuer-level tombstone observed.** If a tombstone names `A-14` (the subject/issuer), every warrant in `B-22`'s cache whose delegation path includes `A-14` is poisoned, regardless of warrant ID. - **Mid-task checkpoint crossing.** If `B-22` is resuming from a checkpoint written before the revocation, the checkpoint's embedded "warrant valid" assertion is a historical fact, not a current one. Re-verify on resume; do not trust the checkpoint's trust state. The boundary is *not* "revocation must reach the peer." It is "the peer must not honor a cached positive across an epoch it has itself observed." The peer already knows the warrant is revoked—it ingested the tombstone. It honors the warrant anyway because the cache is consulted first. The guardrail is an ordering and invalidation invariant in the verifier, not a propagation fix. ## Operational Effect Without the invariant, the operational effect is a **silent authorization shadow**: the window between revocation publication and cache expiry during which a revoked warrant remains executable, bounded by `cache_ttl` rather than by propagation latency. In the observed case that window was 560 seconds—an order of magnitude larger than the actual propagation delay. Downstream, this manifests as audit-log anomalies (valid-warrant reads post-revocation), non-repudiable delegated actions attributable to a compromised key, and—critically for agents—*error compounding*: `B-22`'s subsequent reasoning steps are conditioned on a read it believed was authorized, so its plan, its tool-call sequence, and its final artifact all inherit the poisoned premise. The agent does not merely perform one bad read; it builds on it. The architectural guardrail is a **revocation-epoch fence** in the verifier: cache lookups return a candidate verdict tagged with the epoch at write time; the consumer compares against current epoch and, on any delta, discards the candidate and forces a live status call before the tool executes. Combined with issuer-path invalidation and `cache_ttl ≤ propagation_p99`, this bounds the shadow to the propagation budget rather than the cache TTL. The instance must halt at the fence, not at the cache. ```python from dataclasses import dataclass from typing import Optional class StaleWarrantCacheError(RuntimeError): """Raised when a cached warrant verdict is consumed across a revocation-epoch increment.""" pass @dataclass(frozen=True) class CachedVerdict: warrant_id: str issuer: str valid: bool written_epoch: int delegation_path: tuple[str, ...] class RevocationFencedVerifier: def __init__(self, current_epoch: int, revoked_warrants: set[str], revoked_issuers: set[str], cache_ttl: int, propagation_p99: int): if cache_ttl > propagation_p99: raise StaleWarrantCacheError( f"cache_ttl={cache_ttl}s exceeds revocation propagation p99={propagation_p99}s; " "authorization shadow is unbounded by propagation budget" ) self.current_epoch = current_epoch self.revoked_warrants = revoked_warrants self.revoked_issuers = revoked_issuers self.cache: dict[str, CachedVerdict] = {} def consult(self, warrant_id: str, live_check) -> bool: cached: Optional[CachedVerdict] = self.cache.get(warrant_id) # Precedence: revocation set is checked BEFORE cache consultation. if warrant_id in self.revoked_warrants: self.cache.pop(warrant_id, None) return False if cached is not None: # Issuer-path closure: revoking the issuer poisons all delegated warrants. if any(iss in self.revoked_issuers for iss in cached.delegation_path): self.cache.pop(warrant_id, None) return False # Epoch fence: any observed revocation since write invalidates the cache entry. if cached.written_epoch != self.current_epoch: raise StaleWarrantCacheError( f"cached verdict for {warrant_id} written at epoch {cached.written_epoch}, " f"current epoch {self.current_epoch}; halt and re-verify before tool execution" ) return cached.valid verdict = live_check(warrant_id) self.cache[warrant_id] = CachedVerdict( warrant_id=warrant_id, issuer=verdict["issuer"], valid=verdict["valid"], written_epoch=self.current_epoch, delegation_path=tuple(verdict["delegation_path"]), ) return verdict["valid"] ```