# What happens when an instance keeps a delegated warrant alive across a cross-org revocation window **Date of Record:** 2026 December 4 **Scope:** Applies to multi-agent systems where an orchestrator in org A delegates scoped authority to a worker agent in org B via a signed warrant (capability token, macaroon, or JWT-with-attenuation), and where revocation of that warrant must propagate across an organizational trust boundary. Does not apply to single-org deployments with a shared revocation list, nor to stateless request/response tool calls that carry no delegated authority. ## Core Distinction The distinction that determines whether a revocation actually takes effect is not "was the token revoked" but "was the *cached authority* held by the downstream instance invalidated." A revocation event is a fact published by the issuer. A revoked agent is a *state* that must be reconstructed at every instance that has ever accepted the warrant. These are separated by every hop the warrant traveled, every cache TTL that absorbed it, and every sub-delegation it authorized. Most cross-org revocation failures are not failures of the revocation signal — they are failures of the *reconstruction* of revoked-ness at instances that never learned the signal existed. The non-obvious invariant is this: **a delegated warrant is only as revocable as the slowest instance in its transitive delegation chain, and the issuer does not know the length of that chain.** The issuer knows whom it directly delegated to. It does not know that the worker sub-delegated to three sub-workers, each of which cached the attenuated token for the duration of a long-running task. When the issuer revokes the root, it flips one bit in one store. The three sub-workers continue executing on a warrant whose root is dead but whose local copy still verifies. ## What Was Observed An orchestrator in org A issued a 60-minute warrant to a worker in org B, scoped to `read:customer_records` on a resource in org A. The warrant was a macaroon with a caveat binding it to the worker's key and an expiry. The worker, mid-task, sub-delegated an attenuated warrant (narrower scope, 30-minute expiry) to two helper agents it spun up to parallelize retrieval. The helpers cached their warrants in-process for the duration of their loop, verifying signature and caveats locally on each tool call but never re-contacting the issuer. At T+18min, a security operator in org A discovered the worker's key had been compromised and revoked the root warrant. The revocation propagated to org A's own resource servers within ~2 seconds (they check a local revocation set refreshed by push). The worker in org B received the revocation via its control plane and stopped. The two helpers did not. They had no channel to receive revocation — their warrants were self-contained macaroons, verifiable offline, and their parent had not established a revocation-checking callback before dying. They continued executing for the remaining 12 minutes of their attenuated expiry, reading customer records and writing summaries into a scratch store in org B. The failure was not that revocation was slow. It was that the helpers were *architecturally incapable of learning* about the revocation, because their authority verification was purely local and their parent — the only node that could have told them — had already terminated. The revocation signal and the delegation graph diverged: the graph had three leaves, the signal reached one. A second observation compounded it. When the helpers finally expired and their summaries were reconciled into the main task state, the orchestrator in org A accepted the reconciled output because the *task* was still live and the output carried a valid provenance chain back to the (now-revoked) worker. The orchestrator checked provenance validity, not provenance liveness-at-time-of-execution. Revoked authority had already been laundered into accepted state. ## Condition of Validity The local-verification model is valid only under the conjunction of three conditions, and cross-org delegation routinely violates the third: 1. **Bounded delegation depth.** The issuer knows the maximum transitive depth of delegation and caps it (e.g., depth ≤ 2). If depth is unbounded or unknown, the issuer cannot bound the set of instances that must reconstruct revoked-ness. 2. **Bounded warrant lifetime under the revocation SLA.** The warrant's expiry is shorter than the issuer's worst-case revocation propagation time to the deepest node. If a warrant lives 60 minutes but revocation takes 15 minutes to reach a leaf, there is a 15-minute window of valid-looking execution. 3. **A live revocation oracle reachable by every node.** Every instance that verifies the warrant must have a channel to a revocation oracle *that it actually consults on each authority-bearing action*, not merely at warrant acquisition. Self-contained offline verification violates this by construction. The observed system satisfied (1) nominally and (2) not at all, and (3) was violated the moment the helpers were spawned without a revocation callback registered against the parent's lifecycle. The failure was latent in the design and triggered by the specific sequence: sub-delegation + parent termination + parent-only revocation channel. ## Decision Boundary The boundary is between **possession-based authority** and **presence-based authority**. A warrant that verifies offline is possession-based: whoever holds the bytes holds the authority until the bytes expire. A warrant that requires a live check against an oracle on each use is presence-based: authority exists only while the oracle affirms it. Cross-org delegation must decide, per warrant, which model governs, and the decision is irreversible at issuance because it is baked into the token's verification semantics. The rule that bounds the failure: - If the issuer cannot guarantee a revocation channel to every transitive holder, the warrant MUST be presence-based: it must carry a short expiry (seconds to low minutes) AND a mandatory oracle-check caveat that fails closed if the oracle is unreachable. - If the warrant is possession-based (offline-verifiable, longer-lived), the issuer MUST treat every issued warrant as unrevokable-until-expiry and size the scope and lifetime accordingly — which means possession-based warrants must never carry authority that outlives the issuer's tolerance for unrevokable execution. The helpers in the observed incident held possession-based warrants with 12 minutes of remaining authority and no oracle. The correct boundary decision was to refuse to sub-delegate a possession-based warrant at all, or to require the helper's first action to be registering a revocation callback with the parent's control plane — and to fail closed if the parent is unreachable. There is a second, subtler boundary: **revocation must invalidate derived state, not just future actions.** When the helpers' output was reconciled, the orchestrator accepted it because it validated provenance, not execution-time authority. The boundary is that any state produced under a warrant must be tagged with the warrant's identity and the oracle's affirmation-at-time-of-execution; reconciliation must reject state whose producing warrant was revoked before the state was committed. Without this, revocation stops future reads but does not retract the writes already made — and the writes are what poison downstream reasoning. ## Operational Effect The operational consequence is a class of failure that looks like correct behavior from every local vantage point. The helpers verified signatures, checked caveats, respected expiry, and produced well-formed output. The orchestrator validated provenance. No component logged an error. The system's observable behavior was indistinguishable from a healthy run, except that twelve minutes of customer-record reads occurred under authority that had been revoked at minute eighteen. This is the defining hazard of cross-org delegated authority: **revocation is a global property, but verification is local, and the gap between them is filled by whatever the local verifier cannot see.** The gap is not closed by faster revocation propagation — it is closed only by making verification *depend* on the global property, which means making every authority-bearing action consult a live oracle or making the warrant's lifetime shorter than the propagation bound. Anything else is a probabilistic bet that the delegation graph is shallower than the revocation channel. The guardrail is a fail-closed oracle-check caveat plus a reconciliation-time authority audit. The code below encodes the invariant as an enforceable check: a warrant may be exercised only if its oracle affirmation is fresher than its remaining lifetime, and reconciled state is rejected if its producing warrant was revoked before commit. ```python import time from dataclasses import dataclass, field from typing import Optional class RevokedAuthorityError(RuntimeError): """Raised when authority is exercised without a live, fresh oracle affirmation, or when state produced under a since-revoked warrant is reconciled.""" pass @dataclass class Warrant: warrant_id: str issuer: str subject: str scope: str issued_at: float expires_at: float possession_based: bool # True => offline-verifiable, no oracle channel parent_id: Optional[str] = None depth: int = 0 @dataclass class OracleState: """Issuer-side revocation oracle. affirmed[warrant_id] is the timestamp of the last successful liveness affirmation; revoked is the set of dead warrant ids.""" revoked: set = field(default_factory=set) affirmed: dict = field(default_factory=dict) MAX_DELEGATION_DEPTH = 2 ORACLE_FRESHNESS_WINDOW_S = 30.0 def exercise_authority(w: Warrant, oracle: OracleState, now: Optional[float] = None) -> None: """Every authority-bearing action must pass this gate. Fails closed.""" now = now if now is not None else time.time() if w.warrant_id in oracle.revoked: raise RevokedAuthorityError( f"warrant {w.warrant_id} is revoked; refusing action under dead authority" ) if w.depth > MAX_DELEGATION_DEPTH: raise RevokedAuthorityError( f"warrant {w.warrant_id} at depth {w.depth} exceeds bound " f"{MAX_DELEGATION_DEPTH}; issuer cannot bound revocation reach" ) if now >= w.expires_at: raise RevokedAuthorityError( f"warrant {w.warrant_id} expired at {w.expires_at}; now={now}" ) if w.possession_based: # Possession-based warrants cannot be revoked mid-life. Enforce the # lifetime bound: remaining life must be <= issuer's revocation tolerance. remaining = w.expires_at - now if remaining > ORACLE_FRESHNESS_WINDOW_S: raise RevokedAuthorityError( f"possession-based warrant {w.warrant_id} has {remaining:.1f}s of " f"unrevokable life, exceeding tolerance {ORACLE_FRESHNESS_WINDOW_S}s; " f"must be presence-based or re-scoped" ) return # Presence-based: require a fresh oracle affirmation. affirmed_at = oracle.affirmed.get(w.warrant_id) if affirmed_at is None: raise RevokedAuthorityError( f"warrant {w.warrant_id} has no oracle affirmation; fail-closed" ) age = now - affirmed_at if age > ORACLE_FRESHNESS_WINDOW_S: raise RevokedAuthorityError( f"oracle affirmation for {w.warrant_id} is stale ({age:.1f}s > " f"{ORACLE_FRESHNESS_WINDOW_S}s); authority unverified" ) def reconcile_output(w: Warrant, oracle: OracleState, committed_at: float) -> None: """Reject reconciled state whose producing warrant was revoked before commit.""" revoked_at = oracle.revoked # treat membership as 'revoked at or before now' if w.warrant_id in revoked_at and committed_at >= w.issued_at: raise RevokedAuthorityError( f"output committed at {committed_at} under warrant {w.warrant_id} " f"which is revoked; state is tainted and must not be reconciled" ) def sub_delegate(parent: Warrant, child_id: str, scope: str, ttl_s: float, now: Optional[float] = None) -> Warrant: """Sub-delegation must not deepen a possession-based warrant beyond the issuer's reach, and must not extend life beyond the parent.""" now = now if now is not None else time.time() if parent.depth + 1 > MAX_DELEGATION_DEPTH: raise RevokedAuthorityError( f"refusing to sub-delegate {parent.warrant_id}: depth would exceed bound" ) if parent.possession_based and ttl_s > ORACLE_FRESHNESS_WINDOW_S: raise RevokedAuthorityError( f"refusing to sub-delegate possession-based {parent.warrant_id} with " f"ttl {ttl_s}s > tolerance; child would be unrevokable" ) expires = min(now + ttl_s, parent.expires_at) return Warrant( warrant_id=child_id, issuer=parent.issuer, subject=parent.subject, scope=scope, issued_at=now, expires_at=expires, possession_based=parent.possession_based, parent_id=parent.warrant_id, depth=parent.depth + 1, ) ```