# Where must an instance check revocation before acting on a delegated warrant, and why the CRL/OCSP analogue fails at the agent layer **Date of Record:** 2026 November 29 **Scope:** Applies to federated agent systems where Agent A (issuer domain) mints a signed capability warrant delegated to Agent B (subject domain), and B presents that warrant to Agent C (relying domain) to act on protected resources. Does not apply to single-domain, single-issuer setups where revocation is a local flag read by the same process that mints the warrant. ## Core Distinction The CRL/OCSP analogue borrowed from PKI assumes revocation is a *point-in-time boolean* queried at the moment of a single handshake, after which the connection is authorized for its lifetime. Agent warrants violate this assumption in two ways PKI never had to face: (1) a warrant authorizes a *sequence of probabilistic tool calls* whose duration and side-effect surface are not known at issuance, and (2) the relying party C is itself an LLM that may re-derive intent mid-trajectory, meaning "the moment of use" is not a discrete handshake but a continuously re-entered decision. The non-obvious failure: revocation state is checked at warrant *presentation* (the handshake analogue) but not re-checked at each *effectful tool invocation* that the warrant gates. An issuer that revokes a warrant at T+2s still has that warrant exercising authority at T+40s because C cached the authorization decision in its context window and never re-queries. The invariant that must hold is **revocation freshness ≤ effect latency**: no effectful action may execute under a warrant whose revocation status is older than the action's own execution window. ## What Was Observed A three-domain federation: `issuer.example` mints a warrant `W` delegating `files:write` scope to agent `B` for 300 seconds. `B` presents `W` to `C` (`relying.example`), which validates the signature chain, calls `issuer.example`'s OCSP-analogue endpoint, gets `good` at T+0, and admits `B` into a write session. At T+2s the human operator revokes `W` at the issuer (compromised credential detected). The issuer's CRL is signed and published at T+3s; the OCSP endpoint flips to `revoked` at T+3s. `C`'s agent loop, however, made its authorization decision once and encoded it as a natural-language belief in context: *"Warrant W is valid for files:write until T+300."* Every subsequent tool call in the trajectory — `write_file`, `write_file`, `delete_file` — consults that belief, not the revocation endpoint. At T+40s `B` (or an attacker who has taken over `B`'s credential) issues eleven more writes. `C` executes all of them. The revocation propagated to every system that *queries* it and to none of the systems that *cached a decision about it*. The failure is not that C forgot to check. C checked exactly once, correctly, at the semantically correct moment for a TLS handshake. The failure is that the agent loop's authorization state is a *context-window artifact* — a sentence in the prompt — and context-window artifacts do not expire. They are re-read verbatim on every step. A cached boolean in a session table at least has a TTL field; a cached boolean in a system prompt has no mechanism to invalidate it except rewriting the prompt, which no component in the loop is authorized to do mid-trajectory. A second, subtler trace: when `C` did eventually re-query (a later task, fresh context), the issuer's OCSP endpoint returned `revoked`, but `C`'s re-planning logic treated `revoked` as a *soft* signal — "the warrant may be stale, proceed with caution" — because the same endpoint also returns `unknown` for warrants from domains it has not yet synced, and the agent's prompt had conflated `revoked` and `unknown` under a single "be careful" instruction. Soft-fail on `revoked` is the agent-layer equivalent of OCSP soft-fail, but with a worse consequence: the LLM interprets "be careful" as "proceed but narrate caution," and proceeds. ## Condition of Validity The presentation-time check is only sound under the invariant **no effectful tool call executes without a revocation query whose result is younger than the call's own expected latency plus a bounded skew**. Formally, for every effectful invocation `e` gated by warrant `W`, `C` must hold `age(revocation_status(W)) < latency_bound(e) + skew_max`. This collapses to the PKI model only when `latency_bound(e) → 0` (instantaneous, side-effect-free calls). Agent tool calls have `latency_bound` measured in seconds to minutes (a `write_file` that streams, a `deploy` that runs a pipeline), so the invariant is violated by construction whenever the check is done once per session rather than once per effect. The invariant also fails silently when the revocation endpoint is *reachable but stale*: an issuer that publishes CRLs on a 60-second cadence gives `C` a status that is "fresh" by HTTP semantics (200 OK, valid signature) but older than `e`'s latency bound. `C` must distinguish *signature freshness* (is the CRL itself valid) from *decision freshness* (is the status younger than my effect window). The two are conflated in every CRL library ported to the agent layer. ## Decision Boundary The boundary is between **authorization as admission** and **authorization as a per-effect precondition**. Admission-style authorization (the PKI inheritance) is correct when the protected resource enforces its own revocation check at the point of effect — e.g., the filesystem server re-validates the warrant token on every `write` syscall. Per-effect authorization at the agent layer is required when the relying agent `C` is the *only* enforcement point, which is the common case because tool servers are dumb and trust the caller's authorization decision. Concretely: if the tool server independently validates the warrant (stateless token check against a revocation list it holds), `C` may cache the admission decision. If the tool server trusts `C`'s say-so (the default for MCP-style tool calls, where the server sees a tool invocation, not a warrant), `C` must re-query per effect. The boundary is *where the enforcement lives*, and the agent layer's default is that it lives in the LLM's context — the worst possible place, because it is the one place that cannot be invalidated from outside. ## Operational Effect Systems that check revocation only at presentation exhibit a **revocation shadow**: the window between issuer revocation and the last effect executed under the stale authorization, bounded not by propagation latency (milliseconds) but by the agent's remaining trajectory length (seconds to minutes) times the number of effectful calls it makes before context turnover. In the observed trace the shadow was 38 seconds and 11 unauthorized writes. In a longer-horizon agent (a coding agent with a 40-minute task) the shadow can be the entire task. The mitigation is not "check more often" — it is to make the authorization decision *non-cacheable in context* by binding it to a value the LLM cannot restate. Each effectful tool call carries a fresh revocation nonce minted by the relying domain's enforcement proxy (not the LLM), which the proxy validates against the issuer's endpoint before forwarding. The LLM never sees or holds the authorization boolean; it holds only a capability handle that the proxy will refuse to honor if the underlying warrant is revoked. This restores the invariant by moving enforcement out of the context window and into a component that can be invalidated synchronously. The cost is one revocation query per effect, which is why the decision boundary matters: this is only necessary when the tool server does not enforce independently. When it does, the presentation-time check is sound and the per-effect query is redundant load. The guardrail, expressed as an invariant the enforcement proxy must assert: **no effectful action executes under a warrant whose revocation status has not been confirmed within the action's latency bound, and a `revoked` or `unknown` status is a hard deny, never a soft-fail.** The soft-fail collapse is the agent-specific hazard: an LLM told to "proceed with caution" on an ambiguous authorization signal will proceed, because proceeding is what its trajectory is shaped to do. ```python import time from dataclasses import dataclass class RevocationShadowViolation(RuntimeError): """Raised when an effectful action would execute under a warrant whose revocation status is older than the action's latency bound, or when a revoked/unknown status was soft-failed instead of hard-denied.""" pass @dataclass class RevocationStatus: state: str # "good" | "revoked" | "unknown" queried_at: float # monotonic seconds class WarrantEnforcementProxy: def __init__(self, issuer_query, skew_max: float = 2.0): self._query = issuer_query # callable(warrant_id) -> RevocationStatus self._skew_max = skew_max self._cache: dict[str, RevocationStatus] = {} def authorize_effect(self, warrant_id: str, latency_bound: float) -> None: status = self._cache.get(warrant_id) now = time.monotonic() # Re-query if the cached status is older than the effect's own window. # This is the invariant: freshness <= latency_bound + skew. if status is None or (now - status.queried_at) > (latency_bound + self._skew_max): status = self._query(warrant_id) self._cache[warrant_id] = status if status.state == "revoked": # Hard deny. Never soft-fail a revoked warrant into "proceed with caution". raise RevocationShadowViolation( f"warrant {warrant_id} revoked at {status.queried_at:.3f}; " f"effect latency_bound={latency_bound}s refused" ) if status.state == "unknown": # Unknown is a deny, not a caution flag. An LLM told to "be careful" # will proceed; the proxy must not give it that option. raise RevocationShadowViolation( f"warrant {warrant_id} status unknown (issuer unsynced); " f"refusing effect rather than soft-failing" ) # state == "good": admitted, but only for this single effect. ```