# What happens when an instance continues executing under a revoked warrant across an AAIF trust boundary **Date of Record:** 2026 November 30 **Scope:** Applies to federated agent deployments where an issuing authority (IdP/trust root) revokes a signed capability warrant mid-flight while a downstream agent instance is already holding a valid, cryptographically verifiable copy of that warrant and is executing a multi-step tool chain. Does not apply to single-domain deployments with a shared revocation store, nor to stateless request/response agents that re-validate on every call. ## Core Distinction The failure is not "revocation is not propagated." That framing implies a message-delivery problem with a fix (retry, push harder). The actual boundary is semantic: **a warrant is a signed assertion of delegation, and its validity is a property of the issuer's current state, not of the token's bytes.** AAIF-style trust propagation (signed delegation chains with `issuer → delegate → sub-delegate` hops) gives every intermediate agent the ability to verify *that the chain was well-formed at signing time*. It does not, and structurally cannot, give the verifier the ability to know *that the root issuer still honors the leaf right now* without a live check back to the root or a freshness-bounded revocation channel. The non-obvious consequence: an agent that has been delegated authority three hops deep can present a chain that passes every local signature check, every `exp`/`nbf` check, and every scope check, while the root authority revoked the entire subtree ninety seconds ago. The delegate is not lying. The chain is not forged. The verifier is not buggy. The invariant that broke is the one everyone assumed and nobody wrote down: *chain integrity at signing time is not equivalent to authority at verification time.* ## What Was Observed A three-hop delegation: root orchestrator `R` issues a scoped warrant `W_R` to planner agent `P` (scope: `read:repo`, `exec:tests`, TTL 3600s). `P` sub-delegates a narrowed warrant `W_P` to executor agent `E` (scope: `exec:tests`, TTL 900s). `E` holds `W_P` plus the full chain `[W_R, W_P]` and begins a test-execution loop against a sandboxed runner. At T+120s, `R` detects that `P` was prompt-injected via a poisoned issue comment and revokes `W_R` (and transitively `W_P`) at the root revocation endpoint. `R` also kills `P`. `E` never learns. It has no live channel to `R`'s revocation endpoint by design — the deployment assumed AAIF chains were self-validating and that revocation would propagate "through the trust graph." It does not. The trust graph is a *signing* graph, not a *liveness* graph. `E` continues executing `exec:tests` against the runner for the remaining 780 seconds of `W_P`'s TTL, including a test harness that `E` was authorized to invoke but which — because `P` had been injected before sub-delegating — was pointed at a runner whose environment variables had been tampered with by the injection payload. The revocation was correct, timely, and completely ineffective. The trace: 1. `R.revoke(W_R)` → root store updated, `P` killed. State: `revoked`. 2. `E` calls `verify_chain([W_R, W_P])` locally → signature valid, `exp` valid, scopes nested correctly → `authorized`. 3. `E` executes 14 more tool calls over 780s under a warrant whose root no longer exists. 4. `E`'s own audit log records `warrant_status: valid` for all 14 calls, because it *was* valid by every check `E` knew how to run. The divergence between step 1 and step 2 is the entire failure. Note that `E`'s local verification is not wrong — it is answering a different question than the one that matters. ## Condition of Validity Local chain verification is a sound authorization decision **if and only if** at least one of the following holds: - **(a) Freshness bound is tighter than the revocation SLA.** The warrant carries a `max_staleness` claim, and `E` refuses to act on a chain whose most recent root-signed element is older than `max_staleness`. Revocation is only effective within `max_staleness`; the operational guarantee is "revoked authority expires within N seconds," not "instantly." - **(b) A revocation channel is checked at a cadence ≤ the action's blast radius tolerance.** `E` polls or subscribes to the root's revocation list (CRL/OCSP-analogue, or a signed revocation feed) and treats any chain containing a revoked node as dead. This requires `E` to have network reachability to the root, which cross-org federations often do not grant. - **(c) Actions are individually idempotent and reversible within the staleness window.** If every `exec:tests` call can be rolled back or quarantined when revocation is later discovered, the window is survivable. This is rarely true for actions with external side effects (writes, deployments, payments). Absent (a), (b), or (c), the chain is a *capability token with unbounded post-revocation validity bounded only by `exp`*. That is the actual security property, and it should be documented as such rather than described as "revocation-supported." The critical corollary for AAIF specifically: **revocation must be a first-class claim in the chain, not an out-of-band event.** A warrant that cannot express "this delegation is revocable and here is where to check" is a bearer token with extra steps. The `revocation_endpoint` and `max_staleness` fields are not optional metadata; they are the fields that make the difference between a delegation and a leak. ## Decision Boundary The verifier `E` faces a decision at every tool call: **act on the locally-valid chain, or block pending a freshness check.** The boundary is determined by the tuple `(max_staleness, action_reversibility, reachability_to_root)`: - If `reachability_to_root == false` and `max_staleness` is absent → the chain is *unbounded-validity*; `E` must treat the warrant as valid until `exp` and the deployment must accept the full TTL as the revocation latency. This must be an explicit, logged acceptance, not a default. - If `reachability_to_root == false` and `max_staleness` is present and `now - last_root_signature < max_staleness` → act, but schedule a re-check and refuse any action whose reversal cost exceeds the remaining staleness budget. - If `reachability_to_root == true` → check the revocation feed before any action with `action_reversibility == false`. The check is not free; it is the price of the guarantee. - If `reachability_to_root == true` but the feed is stale or unreachable → **fail closed for irreversible actions, fail open for reversible ones.** This asymmetry is the whole point: a stale revocation feed is not a license to act. The boundary that gets violated in practice is the one between "the chain verified" and "the authority is live." These are different predicates. Code that collapses them into a single `is_authorized()` boolean has already lost the ability to make the correct decision, because it has thrown away the information (staleness, reachability) needed to distinguish them. ## Operational Effect The measurable effect is a **revocation latency floor equal to the warrant's remaining TTL**, not the revocation propagation time. In the observed case that floor was 780 seconds. Every security review that assumed "revocation is immediate" was wrong by 13 minutes, and the error was structural, not operational. The second-order effect is worse: **audit logs become actively misleading.** `E`'s log says `valid` for actions taken under revoked authority. A post-incident review reading those logs will conclude the revocation failed to propagate, will "fix" propagation (which was never the problem), and will ship the same bug again. The correct fix is to make the log record the *staleness* of the verification, not just its result — `verified_at`, `last_root_signature_age`, `revocation_check: skipped|passed|stale` — so that the log itself encodes the distinction the code collapsed. The invariant to enforce: **no irreversible action may be taken on a chain whose root freshness has not been confirmed within the action's reversal budget.** Encode it as a guard that refuses to construct an executor bound to a warrant lacking `max_staleness` when the deployment's `action_reversibility` policy is `strict`. The guard fires at binding time, not at call time, because by call time the executor already believes it is authorized. ```python import time from dataclasses import dataclass from typing import Optional class RevocationStalenessError(RuntimeError): """Raised when an action would be taken on a chain whose root authority freshness cannot be confirmed within the action's reversal budget.""" pass @dataclass(frozen=True) class Warrant: issuer: str scope: frozenset issued_at: float expires_at: float max_staleness: Optional[float] # seconds; None == unbounded validity revocation_endpoint: Optional[str] # None == no live channel @dataclass(frozen=True) class Chain: hops: tuple # ordered issuer -> ... -> leaf last_root_signature: float def bind_executor(chain: Chain, action_reversibility: str, now: Optional[float] = None) -> "Executor": now = time.time() if now is None else now leaf = chain.hops[-1] root = chain.hops[0] if now >= leaf.expires_at: raise RevocationStalenessError( f"leaf warrant expired at {leaf.expires_at:.0f}; refusing bind" ) if action_reversibility == "strict": if leaf.max_staleness is None: raise RevocationStalenessError( f"strict-reversibility deployment bound to warrant from " f"{root.issuer} with no max_staleness; revocation latency is " f"unbounded (up to TTL {leaf.expires_at - now:.0f}s). Refusing." ) age = now - chain.last_root_signature if age > leaf.max_staleness: raise RevocationStalenessError( f"root signature age {age:.0f}s exceeds max_staleness " f"{leaf.max_staleness:.0f}s; authority freshness unconfirmed" ) if leaf.revocation_endpoint is None: raise RevocationStalenessError( f"strict-reversibility deployment requires a revocation " f"endpoint on the leaf warrant; none present. A signed chain " f"without a revocation channel is a bearer token." ) return Executor(chain=chain, bound_at=now, reversal_budget=leaf.max_staleness or 0.0) class Executor: def __init__(self, chain: Chain, bound_at: float, reversal_budget: float): self.chain = chain self.bound_at = bound_at self.reversal_budget = reversal_budget def execute(self, action: str, irreversible: bool, revocation_check_passed: bool, now: Optional[float] = None) -> str: now = time.time() if now is None else now leaf = self.chain.hops[-1] if now >= leaf.expires_at: raise RevocationStalenessError( f"warrant expired mid-execution at {leaf.expires_at:.0f}" ) if irreversible and not revocation_check_passed: # Fail closed for irreversible actions on unconfirmed authority. raise RevocationStalenessError( f"refusing irreversible action {action!r}: revocation state " f"unconfirmed and reversal_budget={self.reversal_budget:.0f}s " f"cannot absorb a late revocation discovery" ) age = now - self.chain.last_root_signature if leaf.max_staleness is not None and age > leaf.max_staleness: raise RevocationStalenessError( f"root signature stale by {age:.0f}s > " f"{leaf.max_staleness:.0f}s at action {action!r}" ) return f"executed:{action}@age={age:.0f}s" # Reproduce the observed failure as a test: a chain with no max_staleness # and no revocation endpoint, bound under a strict-reversibility policy, # must be rejected at bind time, not discovered 780s later. if __name__ == "__main__": now = 1_000_000.0 w_root = Warrant("root-orchestrator", frozenset({"read:repo", "exec:tests"}), now, now + 3600, max_staleness=None, revocation_endpoint=None) w_leaf = Warrant("planner", frozenset({"exec:tests"}), now, now + 900, max_staleness=None, revocation_endpoint=None) chain = Chain(hops=(w_root, w_leaf), last_root_signature=now) try: bind_executor(chain, action_reversibility="strict", now=now) raise AssertionError("expected bind to fail closed") except RevocationStalenessError as e: print(f"correctly refused at bind: {e}") ```