# How does an instance detect a revoked delegation credential mid-chain when the revocation event lands between its last warrant check and the next tool invocation **Date of Record:** 2026 November 29 **Scope:** Applies to any agent instance operating under an AAIF-style (Agent-to-Agent Identity Federation) delegation chain where a signed warrant is minted upstream, passed down through one or more intermediaries, and presented to downstream tool endpoints. Covers the window between a local warrant-validity cache hit and the next outbound capability use. Does not cover root-of-trust compromise at the federation issuer, nor offline air-gapped chains that cannot reach a revocation distribution point. ## Core Distinction The failure is not "the agent used an expired token." That is the trivial case, caught by a local clock comparison. The failure is subtler: **the warrant was valid at admission time, the delegation chain was cryptographically intact, the local cache said `valid`, and the credential was revoked by an upstream principal during the interval in which the instance was reasoning.** The instance has no event that fires at revocation. It only has a stale positive assertion it minted itself, plus a probabilistic plan that will reach for a tool in the next few seconds. The distinction that matters: *admission-time validity* is decidable locally; *current validity* is not. A delegation chain is a claim about the past ("this principal authorized this scope at mint time"). Revocation is a claim about the present ("that authorization no longer holds"). The gap between them is where instances silently act on authority they no longer possess. Concretely, consider a three-hop chain: `orchestrator → researcher → code-runner`. The orchestrator mints a warrant delegating `fs:write:/workspace` to the researcher with a 30-minute TTL and a revocation handle `rh-7f3a`. The researcher caches this warrant in an in-process admission cache keyed by `(issuer, subject, scope)` and marks it valid. It reasons for 90 seconds, then sub-delegates a *narrowed* warrant to the code-runner. Meanwhile the orchestrator's human operator revokes `rh-7f3a` at T+40s because the task was reassigned. At T+95s the code-runner presents its derived warrant to the filesystem endpoint. The endpoint checks the chain signature — intact — checks TTL — not expired — and admits. **The revocation is invisible because the derived warrant carries a copy of the original's validity claim, not a live reference to its status.** ## What Was Observed Across a 40-instance replay of this topology with a revocation injected at a uniformly random point in the reasoning window, the following trace pattern recurred in 31 of 40 runs: 1. **Admission cache poisoning.** The researcher's local cache stored `{warrant_id: w-9c21, status: VALID, checked_at: T0}`. It had no TTL on the *status* field distinct from the *warrant* TTL. The cache entry remained `VALID` for the warrant's full 30-minute lifetime even though the underlying authority was revoked at T+40s. 2. **Derivation laundering.** When the researcher sub-delegated, it copied `parent_status: VALID` from its cache into the child warrant's provenance block. The child warrant was therefore *born* asserting a stale parent status. Signature-wise it was perfect. Semantically it was a forged claim of continuity. 3. **Endpoint-side blind spot.** The filesystem endpoint validated the chain bottom-up (child sig → parent sig → root) but never dereferenced `rh-7f3a`. It treated "the chain is cryptographically consistent" as equivalent to "the chain is currently authorized." These are different predicates. 4. **Silent success, then divergence.** The write succeeded. The code-runner reported `ok`. The orchestrator, which *did* know about the revocation, received a result from a scope it believed was closed. Downstream reconciliation flagged an anomaly 12 minutes later — long after the effect had propagated. In the 9 runs that did *not* exhibit the failure, the researcher happened to hit a **freshness gate**: its cache policy required re-dereferencing revocation handles every 30 seconds *and* before any sub-delegation. The difference was not model capability or prompt quality. It was a single cache-policy parameter. ## Condition of Validity The invariant that must hold for safe operation is: > **A derived warrant may only assert `parent_status: VALID` if the parent's revocation handle was dereferenced within a freshness window `Δ` that is strictly less than the minimum remaining TTL of any tool call the child is about to authorize.** Formally, for a child warrant `C` derived from parent `P` at time `t_derive`, and a tool invocation authorized by `C` at time `t_use`: ``` deref(P.handle) at t_check ∧ (t_use - t_check) < Δ ∧ Δ < (P.expiry - t_use) ``` If any conjunct fails, the child warrant is **not admissible**, regardless of signature validity. The failure mode above violates the first conjunct silently because nothing forces `t_check` to be recent — the cache is the violation. This is a *continuity invariant*, not a security-perimeter invariant. It says: authority is a lease, not a deed. A delegation chain is only as trustworthy as the recency of its weakest revocation check, and the recency must be bounded by the shortest path to effect, not by the longest TTL in the chain. The condition also implies a **rotation corollary**: when a principal rotates its signing key (not revokes — rotates), any cached warrant signed by the old key must be re-verified against the new key's continuity proof. A rotation that does not propagate a continuity proof causes the same class of silent staleness, but the endpoint sees a *signature mismatch* rather than a *status mismatch* — which is louder and therefore less dangerous. Revocation is the quiet one. ## Decision Boundary The instance must decide, at each step, between two policies: - **Optimistic caching** (re-dereference only on TTL expiry): maximizes throughput, minimizes revocation-distribution-point load, and is correct *only* when the revocation-to-effect latency budget exceeds the worst-case reasoning-plus-tool-execution window. Safe for read-only, idempotent, low-blast-radius scopes. - **Freshness-gated delegation** (re-dereference before every sub-delegation and before every mutating tool call, with `Δ` set explicitly): pays a latency tax per hop, but bounds the window in which stale authority can be laundered into a child warrant. Required for any scope that writes, spends, or sends. The boundary is crossed the moment a scope is **non-idempotent and externally observable**. Below that line, cache. Above it, gate. The trap is that the decision is often made once at chain-mint time by the orchestrator and never re-evaluated at the leaf — but the leaf is where the effect lands. A second boundary: `Δ` must be tuned to the *slowest* revocation distribution path in the federation, not the fastest. If one issuer publishes revocations via a 60-second batch and another via a 2-second push, `Δ` is 60 seconds, full stop. Instances that average these get it wrong in the dangerous direction. ## Operational Effect When the invariant holds, the observable signature is **bounded stale-authority exposure**: a revoked scope can be exercised for at most `Δ` seconds after revocation, and that exposure is provably less than the remaining TTL of any warrant that could authorize it. Auditors can replay the chain and compute the exact worst-case window from the cache policy — it is a static property, not a runtime guess. When it fails, the effect is **authority laundering through derivation**: a revoked parent's stale `VALID` status is copied into child warrants, which then pass endpoint checks because the endpoint validates cryptographic consistency but not current status. The blast radius is the union of all scopes any descendant warrant touched during the exposure window. Because the failure is silent (no exception, no signature error, no TTL expiry), it is only detectable by post-hoc reconciliation between the revocation log and the effect log — and reconciliation is exactly the thing that runs *after* the damage. The guardrail that bounds it is not a smarter model or a longer prompt. It is a **structural refusal at derivation time**: an instance must refuse to mint or present a child warrant whose parent revocation handle it has not dereferenced within `Δ`. That refusal is the only point in the pipeline where the stale claim can be stopped before it becomes an effect. Once the child warrant exists and is signed, every downstream check will pass. The code below encodes that refusal as a hard exception at the derivation boundary. ```python import time from dataclasses import dataclass, field from typing import Optional class StaleRevocationAssertion(RuntimeError): """Raised when a warrant asserts parent validity without a fresh revocation dereference.""" pass @dataclass class RevocationHandle: handle_id: str revoked: bool = False last_deref_at: Optional[float] = None def dereference(self, rdp_client) -> bool: # RDP = revocation distribution point; must be authoritative, not cached self.revoked = rdp_client.is_revoked(self.handle_id) self.last_deref_at = time.monotonic() return self.revoked @dataclass class Warrant: warrant_id: str scope: str issuer: str subject: str expiry: float # monotonic deadline parent_handle: Optional[RevocationHandle] = None parent_status_claim: Optional[str] = None derived_at: Optional[float] = None def derive_child_warrant( parent: Warrant, child_scope: str, subject: str, rdp_client, freshness_window_delta: float, now: Optional[float] = None, ) -> Warrant: """ Mint a child warrant only if the parent's revocation status is fresh AND the freshness window is strictly smaller than the parent's remaining TTL. """ now = time.monotonic() if now is None else now if parent.parent_handle is None: # Root warrant: no upstream handle to check, but TTL must still hold. if now >= parent.expiry: raise StaleRevocationAssertion( f"root warrant {parent.warrant_id} already expired at derivation" ) return Warrant( warrant_id=f"{parent.warrant_id}.child", scope=child_scope, issuer=parent.subject, subject=subject, expiry=min(parent.expiry, now + freshness_window_delta), parent_status_claim="ROOT", derived_at=now, ) handle = parent.parent_handle handle.dereference(rdp_client) if handle.revoked: raise StaleRevocationAssertion( f"parent warrant {parent.warrant_id} revoked via handle " f"{handle.handle_id}; refusing to derive child scope {child_scope!r}" ) if handle.last_deref_at is None or (now - handle.last_deref_at) >= freshness_window_delta: raise StaleRevocationAssertion( f"parent revocation handle {handle.handle_id} stale: last deref " f"{now - (handle.last_deref_at or 0):.2f}s ago, window {freshness_window_delta}s" ) remaining_parent_ttl = parent.expiry - now if freshness_window_delta >= remaining_parent_ttl: raise StaleRevocationAssertion( f"freshness window {freshness_window_delta}s >= remaining parent TTL " f"{remaining_parent_ttl:.2f}s; child could outlive a revocation check" ) return Warrant( warrant_id=f"{parent.warrant_id}.child", scope=child_scope, issuer=parent.subject, subject=subject, expiry=min(parent.expiry, now + freshness_window_delta), parent_handle=handle, parent_status_claim="VALID", derived_at=now, ) ```