# Where must an instance halt when a revoked agent warrant is still inside its sub-second trust cache? **Date of Record:** 2026 November 24 **Scope:** Applies to federated agent systems that propagate identity/warrant revocation across trust domains using sub-second bounded-staleness caches (TTL or lease heartbeats) and that perform cross-domain capability delegation. Does not apply to single-domain, non-delegating agents, nor to systems that require synchronous revocation lookup on every call. ## Core Distinction The failure is not "revocation was late." It is the conflation of two distinct clocks: the **revocation propagation clock** (how long a signed revocation takes to reach every verifying domain) and the **warrant freshness clock** (the TTL a verifying agent assigns to a cached positive capability). Sub-second staleness bounds are usually specified against the *propagation* clock, but enforced against the *freshness* clock. When a warrant is delegated across a trust domain boundary, the delegated sub-warrant can inherit a freshness TTL longer than the remaining propagation budget, producing a window in which a revoked parent warrant still authorizes a live child capability. The invariant that must hold is: > For any capability C derived from warrant W, `expiry(C) ≤ revoke_effective_time(W) + staleness_bound` must be *enforced at delegation time*, not merely asserted at issuance time. The non-obvious part: the child warrant is cryptographically valid, the signature chain verifies, the cache entry is unexpired, and the revocation message has not yet arrived. Every local check passes. The agent is operating on a capability that is globally dead but locally alive. ## What Was Observed A three-domain federation: `origin` (issues warrants), `broker` (delegates sub-warrants to workers), `worker-pool` (executes tool calls). Warrants carry a 400 ms cache TTL and a 250 ms stated staleness bound. Revocation is a signed CRDT message gossiped over A2A with an observed p99 of 180 ms intra-region and 610 ms cross-region. Trace of the boundary breach: 1. `origin` revokes warrant `W0` at `t=0`, emits revocation `R(W0)`. 2. `broker` had cached `W0` at `t=-120ms` with TTL 400 ms, so its cache entry is valid until `t=280ms`. 3. At `t=90ms`, `broker` receives a delegation request from a worker and mints sub-warrant `W1` from cached `W0`, assigning `W1` a fresh 400 ms TTL (inheriting the *local* cache policy, not the *remaining* propagation budget). 4. `R(W0)` reaches `worker-pool` at `t=610ms` (cross-region). 5. Between `t=90ms` and `t=490ms`, `W1` is fully valid at `worker-pool`: unexpired, correctly signed, chain to `W0` intact. The worker executes 14 tool calls under a warrant whose root was revoked 90 ms into its life. The worker's verifier did nothing wrong. It checked signature, expiry, and revocation-list membership — and the revocation list was simply stale by 520 ms, exceeding the 250 ms bound the worker *believed* it was enforcing. The bound was violated not by the verifier but by the delegator's TTL inheritance. ## Condition of Validity The staleness bound is only truthful under a conjunction that delegation quietly breaks: - The verifying domain's revocation cache TTL must be `≤ staleness_bound`. (Held at `worker-pool`: 400 ms > 250 ms — already false.) - A delegated warrant's expiry must be `≤ min(remaining TTL of parent cache entry, parent expiry) − propagation_latency_to_child_domain`. (Violated: `broker` assigned a full 400 ms regardless of parent remaining 190 ms.) - The propagation latency used in the bound must be the *cross-domain p99*, not the intra-domain figure. (Violated: bound was set from the 180 ms intra-region number.) Any one of these failing voids the bound. All three failed simultaneously, and none was detectable at the point of use because each is a *delegation-time* property being checked at *verification time*. ## Decision Boundary An instance must halt and refuse to mint or honor a derived capability when the arithmetic of remaining budget goes non-positive. Concretely, the delegator must compute, before signing a sub-warrant: ``` child_expiry = min( now + local_cache_ttl, parent_cache_entry_expiry, parent_warrant_expiry ) - cross_domain_propagation_p99 ``` If `child_expiry ≤ now`, the delegator must not mint; it must force a synchronous revocation re-check against `origin` (a cache bypass) and only proceed if `W0` is confirmed live. The verifying worker, symmetrically, must reject any warrant whose *chain* contains a link whose age exceeds the staleness bound minus the worst-case propagation to its own domain — it cannot rely on its local revocation list alone for cross-domain roots. The boundary is sharp: `child_expiry > now` is safe to mint; `child_expiry ≤ now` requires a synchronous round-trip; there is no "small negative" that is tolerable, because a negative budget means the child can outlive the parent's revocation by an unbounded amount whenever the revocation is delayed. ## Operational Effect Enforcing delegation-time budget arithmetic converts an unbounded, silent authorization window into a bounded, loud one. The cost is a synchronous revocation lookup on the fraction of delegations where the parent cache entry is near expiry — in the observed workload, 6–9% of delegations, each adding one 180–610 ms round-trip. The benefit is that the stated 250 ms bound becomes *true* rather than aspirational: no derived warrant can be honored past `revoke_effective_time(W) + bound`. The failure mode without it is the worst kind for an agent system — every local invariant reads green, the audit log shows valid signatures and unexpired TTLs, and the only evidence of the breach is a revocation timestamp that arrives after the tool calls it should have blocked. ```python import time from dataclasses import dataclass class RevocationBudgetExhausted(RuntimeError): """Raised when a derived warrant cannot be minted within the staleness bound.""" pass @dataclass class CacheEntry: warrant_id: str cached_at: float # monotonic seconds ttl: float # local cache TTL warrant_expiry: float # absolute expiry of the warrant itself def expires_at(self) -> float: return min(self.cached_at + self.ttl, self.warrant_expiry) def mint_subwarrant( parent: CacheEntry, now: float, local_cache_ttl: float, cross_domain_propagation_p99: float, staleness_bound: float, confirm_live_fn, # callable(warrant_id) -> bool, synchronous origin check ) -> float: if local_cache_ttl > staleness_bound: raise RevocationBudgetExhausted( f"local cache TTL {local_cache_ttl}s exceeds staleness bound " f"{staleness_bound}s; verifier cannot honor the stated bound" ) child_expiry = min( now + local_cache_ttl, parent.expires_at(), parent.warrant_expiry, ) - cross_domain_propagation_p99 if child_expiry <= now: # Budget non-positive: must bypass cache and confirm against origin. if not confirm_live_fn(parent.warrant_id): raise RevocationBudgetExhausted( f"parent warrant {parent.warrant_id} not confirmed live at origin; " f"refusing to mint derived capability" ) # Origin confirmed live: extend only by the safe residual. child_expiry = now + min( local_cache_ttl, staleness_bound ) - cross_domain_propagation_p99 if child_expiry <= now: raise RevocationBudgetExhausted( "even after live confirmation, residual budget is non-positive; " "propagation p99 exceeds staleness bound" ) return child_expiry def verify_cross_domain_warrant( chain: list[CacheEntry], now: float, staleness_bound: float, propagation_to_self_p99: float, ) -> None: for link in chain: age = now - link.cached_at allowed = staleness_bound - propagation_to_self_p99 if age > allowed: raise RevocationBudgetExhausted( f"chain link {link.warrant_id} age {age:.3f}s exceeds " f"allowed {allowed:.3f}s; revocation may not have arrived" ) ```