# Under what conditions must an instance treat a revoked AAIF delegation credential as still-authoritative during in-flight tool execution, and how does the revocation-lag window break the authorization invariant **Date of Record:** 2026 November 30 **Scope:** Applies to agent instances that hold a signed AAIF delegation credential (a scoped warrant granting tool-call authority) and execute multi-step tool sequences whose total wall-clock duration can exceed the credential issuer's revocation-propagation interval. Does not apply to single-call, sub-second invocations where the credential is re-validated against the issuer on every call, nor to purely local tools with no external side effects. ## Core Distinction The AAIF model conflates two distinct temporal properties into one signed artifact: **validity** (the credential's `not_before`/`not_after` window, verifiable offline from the signature) and **authorization liveness** (whether the issuing authority still *wants* the delegate to act, which is a fact held only at the issuer and propagates to verifiers asynchronously). A signature proves the first. Nothing in the signed bytes proves the second at the instant of use. The boundary failure is not "expired token accepted"—that is caught by a clock comparison. The failure is a **credential that is cryptographically valid, unexpired, and signature-verified, yet revoked at the issuer, executed by an agent that has already cached the authorization decision and will not re-consult the issuer until the task completes.** The revocation-lag window is the interval `[t_revoke, t_verifier_learns]`, and any tool call whose authorization decision was made before `t_verifier_learns` but whose *effect* lands after `t_revoke` is an unauthorized effect that no signature check will flag. ## What Was Observed An orchestrator instance received an AAIF delegation credential `D` scoped to `payments.transfer` with `not_after = T+3600s`. At `t0` it validated `D` against the issuer's JWKS and a revocation list snapshot `R(t0)`, cached the decision `authorized=true`, and began a 14-step reconciliation loop involving external settlement calls. At `t0+47s` a human operator revoked `D` at the issuer (compromised sub-agent key). The issuer's revocation endpoint updated at `t0+49s`, but the orchestrator's verifier cache had a 300-second TTL and the settlement tool's own gateway held an independently cached introspection result with a 600-second TTL. The orchestrator continued issuing signed sub-warrants derived from `D` to three worker instances through `t0+312s`, each of which independently re-validated against *its own* cached snapshot and passed. The first hard failure surfaced at `t0+340s` when a worker's next call hit a gateway that had refreshed and returned `revoked`. By then 9 of 14 settlement calls had committed. The signature chain was intact end to end; every verifier had, at the moment it checked, a correct answer for the snapshot it held. The invariant "no effect under a revoked warrant" was violated with zero cryptographic anomalies. The compounding mechanism: **derived warrants inherit the staleness of their parent's authorization decision, not its freshness.** Worker `W2` never saw `D` directly; it saw a sub-warrant `D'` signed by the orchestrator at `t0+200s` asserting `D` was valid *as of `t0`*. `D'`'s own `not_after` was `T+3600s`. So a credential minted 200 seconds after revocation carried a 3400-second forward validity window, and every hop added a cache TTL without subtracting revocation risk. ## Condition of Validity The authorization invariant `effect(cred) ⇒ authorized_at(effect_time)` holds only when, for every tool call, `t_effect − t_last_revocation_check < propagation_bound`, where `propagation_bound` is the maximum time for a revocation to reach *every verifier in the delegation chain*. This bound is not a property of the credential; it is a property of the slowest cache in the path. Because AAIF delegation permits multi-hop re-signing, the effective bound is the **max over the chain of each hop's cache TTL plus issuer propagation latency**, and it grows monotonically with delegation depth. The invariant is therefore unprovable from the credential alone whenever `not_after − now > max_chain_staleness`. A credential is only *safely usable* for a task whose remaining duration is bounded by the tightest revocation-refresh interval in its verification path—not by its `not_after`. ## Decision Boundary The instance must switch from "cached authorization" to "re-validate-or-halt" at the moment the **remaining task duration exceeds the minimum revocation-refresh interval across all verifiers it will touch**, not at credential expiry. Concretely: before each side-effecting tool call, compute `remaining_budget = min over verifiers( next_refresh_due ) − now`. If `remaining_budget < estimated_call_duration + safety_margin`, the instance must either (a) force a synchronous revocation check against the issuer for the *root* credential (not just the leaf sub-warrant), or (b) halt and checkpoint. It must never mint a derived sub-warrant whose `not_after` exceeds the parent's *next scheduled revocation re-check*, because that extends staleness across a hop. The hard boundary: a sub-warrant's forward validity must be `≤ min(parent.not_after, parent.next_revalidation_due)`. Violating this is the exact condition under which a revoked credential remains authoritative. ## Operational Effect Downstream, the failure is silent and expensive: settlement effects commit under a warrant the issuer already killed, and post-hoc audit cannot distinguish them from legitimate calls because every signature verifies. Recovery requires reconciling committed external effects against the issuer's revocation timestamp `t_revoke` and rolling back every effect with `t_effect > t_revoke`—a compensating-transaction sweep the agent cannot perform alone. The guardrail that bounds it is a **revocation-freshness token** carried alongside the credential: each verifier stamps `last_checked_at`, and any consumer rejects a delegation whose `now − last_checked_at` exceeds its own tolerated staleness, forcing re-validation up the chain to the root before the effect is allowed. This converts an unprovable offline property into a checkable, propagating one. ```python import time from dataclasses import dataclass class StaleDelegationError(RuntimeError): """Raised when a delegation credential's authorization freshness cannot be proven within the task's remaining duration.""" pass @dataclass class Warrant: warrant_id: str not_after: float # absolute epoch seconds last_revocation_check: float # epoch seconds of last issuer confirmation verifier_cache_ttl: float # seconds this verifier tolerates staleness parent: "Warrant | None" = None def assert_authorization_fresh(w: Warrant, estimated_call_duration: float, safety_margin: float = 2.0) -> None: now = time.time() # Forward validity must never exceed the next revalidation deadline. next_revalidation_due = w.last_revocation_check + w.verifier_cache_ttl if w.not_after > next_revalidation_due + 1e-6: raise StaleDelegationError( f"warrant {w.warrant_id} not_after exceeds next revalidation due; " f"forward window extends past provable authorization freshness" ) # Remaining budget before this verifier's snapshot goes stale. remaining_budget = next_revalidation_due - now required = estimated_call_duration + safety_margin if remaining_budget < required: raise StaleDelegationError( f"warrant {w.warrant_id}: remaining freshness budget " f"{remaining_budget:.1f}s < required {required:.1f}s; " f"must synchronously re-validate against issuer before effect" ) # Multi-hop: the leaf's freshness is bounded by the whole chain. if w.parent is not None: assert_authorization_fresh(w.parent, estimated_call_duration, safety_margin) ```