# What structural signals indicate a delegated credential has outlived its issuer's authority: the revocation-propagation lag window in AAIF agent-to-agent handoffs **Date of Record:** 2026 November 29 **Scope:** Applies to AAIF-style delegated authorization chains where an agent (holder) presents a signed capability warrant minted by an upstream principal (issuer) to a downstream resource agent (verifier), and where revocation of the issuer's authority must propagate transitively to every live downstream delegation. Does not apply to single-hop bearer-token schemes with synchronous introspection, nor to stateless JWT verification where the verifier itself is the sole authority root. ## Core Distinction The failure most teams guard against is *expired* credentials: a warrant carries a `not_after` timestamp and the verifier rejects anything past it. That is a solved, synchronous, locally-decidable check. The boundary that actually breaks is different: a **structurally valid, unexpired warrant whose issuing authority was revoked after the warrant was minted but before the verifier evaluates it**. The warrant's signature still verifies, every timestamp still passes, every scope claim still matches the requested action. Nothing in the credential's own bytes is wrong. What is wrong is that the credential's *provenance* has been invalidated upstream, and the invalidation has not yet reached the verifier. The core distinction is therefore between **validity of the artifact** and **currency of the authority behind it**. AAIF delegation chains are signed DAGs; each node attests to the node below it. A verifier that checks only the artifact checks a local property. Revocation is a *global* property of the chain root, and there is no synchronous path from root to leaf in a peer-to-peer agent topology. The gap between "root revoked" and "leaf learned about it" is the revocation-propagation lag window, and every action taken inside that window is authorized against dead authority. ## What Was Observed A three-tier chain: an orchestrator agent `O` holds a root capability `cap:root` scoped to `read:ledger` and `write:settlement` for 8 hours. At T+0 it delegates a narrowed warrant `W1` to a bookkeeping agent `B` (`read:ledger` only, 4h TTL). At T+40min `B` sub-delegates `W2` to a reconciliation agent `R` (`read:ledger`, 2h TTL, `delegate:false`). At T+90min the security plane revokes `cap:root` because `O` was found to be operating on a stale memory snapshot and issuing warrants against accounts it no longer owned. The revocation event fires against `O`'s credential store. `O` marks `cap:root` revoked and refuses to mint new warrants. But `W1` and `W2` are already resident in `B`'s and `R`'s local warrant caches. Neither `B` nor `R` polls `O`; the AAIF spec they implemented treats delegation as a one-shot signed grant, not a subscription. At T+95min `R` presents `W2` to the ledger resource agent `L`. `L` verifies: signature chain intact (`O`→`B`→`R`), scope `read:ledger` matches, `not_after` = T+2h40min, `delegate:false` respected. `L` admits the request. The read succeeds against a ledger that `O` no longer had any right to touch. The structural signal that *should* have caught this was present but unread: `W2`'s chain included `O`'s issuer key ID and the root's `revocation_endpoint` hint, but `L`'s verifier only walked the chain for signature validity, not for liveness of the root. The warrant was structurally sound and operationally dead. The lag window here was bounded only by `W2`'s TTL — 2h40min of unauthorized reads, not because any check failed, but because no check existed for root currency. A second observation sharpened the mechanism: when `B` was later asked to re-delegate a fresh warrant, it *did* consult `O`, got a revocation notice, and correctly refused. So the system had revocation propagation — but only on the *mint* path, not on the *verify* path. The asymmetry is the whole bug. Agents that re-mint learn about revocation; agents that present cached warrants never do. ## Condition of Validity The invariant that must hold for a delegated warrant to be safely honored is: > A verifier may admit a warrant `W` only if, at the moment of admission, every ancestor authority in `W`'s chain — up to and including the root — is *currently* unrevoked, and the verifier's knowledge of that fact is fresher than the maximum staleness the relying party will tolerate. This decomposes into three conditions, all of which must be explicitly engineered: 1. **Chain walk to root.** The verifier must resolve `W`'s full issuer chain, not just the immediate signer. A warrant whose immediate parent is `B` is only as live as `O`. 2. **Freshness bound.** The verifier must know the root's revocation state with bounded staleness `Δ`. If it cannot achieve `Δ` synchronously, it must treat the warrant as *conditionally valid* and cap its own admission TTL at `Δ`, not at the warrant's `not_after`. 3. **Revocation reachability.** Every warrant must carry a resolvable pointer to its root's revocation state (endpoint, epoch counter, or a short-TTL status token), so the verifier has a *path* to currency rather than relying on the issuer to push. The condition of validity fails whenever a verifier's effective trust horizon (`Δ` + last-known-good) exceeds the root's actual revocation epoch. In the observed case, `Δ` was effectively infinite because no status path was consulted at all. ## Decision Boundary The decision boundary is not "is the warrant expired" but **"is the warrant's root-status knowledge fresher than the relying party's staleness budget, and if not, has the warrant's own admission window been clamped to that budget?"** Concretely, at verification time the verifier must compute: - `t_status` = timestamp of the last confirmed root-status observation it holds. - `Δ_max` = configured maximum tolerable propagation lag for this resource class (e.g., 60s for settlement writes, 15min for read-only ledger queries). - `t_now - t_status` = current staleness. If `t_now - t_status > Δ_max`, the verifier must **not** fall back to "signature is valid, proceed." It must either (a) synchronously fetch root status and block until it has it, or (b) reject with a distinct, non-retryable-forever error that forces the caller to re-mint through a live path. The boundary is between *admitting on stale authority* and *refusing until currency is re-established* — there is no safe middle where the verifier proceeds on a signature check alone. The subtle part: a warrant with `delegate:false` and a long TTL is the *most* dangerous case, because it looks the most constrained. The `delegate:false` flag prevents further fan-out but does nothing about the lag window — it actually extends the window by removing the re-mint path that would have refreshed root status. Constraint flags and currency are orthogonal; conflating them is the trap. ## Operational Effect The operational consequence is that **TTL is not a revocation bound**. Teams routinely set `not_after` to hours and believe the credential is "short-lived," but the revocation lag window is bounded by *propagation*, not by TTL, and propagation is bounded by the verifier's polling discipline and the chain's status-reachability. A 2-hour TTL with no status path is a 2-hour window of dead-authority execution. The fix that held was to make root status a *first-class verification input*: every warrant carries a root-epoch pointer, the verifier caches root epochs with an explicit `Δ_max` per resource class, and admission clamps the effective warrant lifetime to `min(not_after, t_status + Δ_max)`. When the clamp fires, the verifier raises a specific `DelegationAuthorityStale` condition rather than a generic auth failure, because the caller's correct response is *re-mint through a live issuer*, not *retry the same warrant*. Generic 401s cause agents to retry the dead warrant in a loop; a typed staleness error routes them to the re-mint path where revocation is actually observed. The residual risk is the window between root revocation and the verifier's next status refresh, now bounded by `Δ_max` instead of by TTL. That bound is the real security parameter of an AAIF deployment, and it must be chosen per resource class and audited — not inherited from whatever TTL the minting agent happened to pick. ```python import time from dataclasses import dataclass class DelegationAuthorityStale(RuntimeError): """Raised when a warrant's root authority cannot be confirmed fresh enough to admit.""" pass @dataclass class Warrant: warrant_id: str root_epoch: int # root's revocation epoch this warrant was minted against not_after: float # absolute expiry delegate: bool class RootStatusCache: """Tracks last-confirmed root revocation epoch and observation time.""" def __init__(self): self._epoch = None self._observed_at = None def observe(self, epoch: int, now: float): self._epoch = epoch self._observed_at = now def staleness(self, now: float) -> float: if self._observed_at is None: return float("inf") return now - self._observed_at @property def epoch(self): return self._epoch def admit_warrant(warrant: Warrant, cache: RootStatusCache, delta_max: float, now: float | None = None) -> bool: now = time.time() if now is None else now # 1. Local expiry still applies. if now >= warrant.not_after: raise DelegationAuthorityStale( f"{warrant.warrant_id}: warrant expired at {warrant.not_after}" ) # 2. Root-status currency is the real gate, independent of TTL. if cache.staleness(now) > delta_max: raise DelegationAuthorityStale( f"{warrant.warrant_id}: root status stale by " f"{cache.staleness(now):.1f}s > delta_max={delta_max}s; " f"refusing to admit on unconfirmed authority" ) # 3. Epoch mismatch means the root was revoked after this warrant was minted. if cache.epoch is not None and warrant.root_epoch < cache.epoch: raise DelegationAuthorityStale( f"{warrant.warrant_id}: minted at root_epoch={warrant.root_epoch} " f"but root has advanced to epoch={cache.epoch}; authority revoked" ) # 4. Clamp effective admission to the freshness horizon, not the TTL. effective_deadline = min(warrant.not_after, cache._observed_at + delta_max) return now < effective_deadline ```