Which invariants prevent attenuated warrants from outliving revocation in agent delegation chains
**Date of Record:** 2026 December 2
**Scope:** Applies to multi-hop agent delegation where a parent agent mints an attenuated capability warrant for a child agent (narrower scope, shorter TTL, subset of tools), and any ancestor may revoke. Does not apply to single-hop tool calls with no delegation, or to stateless RPC where no warrant is carried across instances.
Core Distinction
The failure is not "revocation is slow." It is that **attenuation and revocation travel on different channels with different monotonicity guarantees.** Attenuation is *constructive*: a parent narrows a warrant by producing a new signed object whose authority set is a strict subset of its own. Revocation is *destructive*: an ancestor asserts that a previously valid warrant is now dead. A child agent holds a self-contained, cryptographically valid, unexpired attenuated warrant. Nothing inside that warrant says "my grandparent withdrew me." Verification against the warrant's own signature and TTL succeeds. The child proceeds to act — correctly, by every check it can perform locally — on authority that no longer exists.
The invariant that must hold is **revocation dominance over attenuation**: for any warrant chain $W_0 \to W_1 \to \dots \to W_n$, if any $W_i$ is revoked, then $W_n$ must be treated as revoked at every verifier, *before* the verifier accepts $W_n$ on the strength of its own signature and TTL. Attenuation can only ever *subtract* authority; revocation must be able to subtract authority that was already delegated and is now in flight. These two operations are not duals, and treating them as symmetric is the root cause.
What Was Observed
A three-hop chain: orchestrator $A$ mints $W_A$ scoped to `{read:repo, write:scratch}` with TTL 3600s. $A$ delegates to planner $B$ with $W_B$ = attenuate($W_A$, `{read:repo}`), TTL 900s. $B$ delegates to worker $C$ with $W_C$ = attenuate($W_B$, `{read:repo:/src}`), TTL 300s. Each hop embeds the parent warrant hash and the parent's public key; $C$ verifies the chain by walking signatures up to a trusted root.
At t=120s, $A$ detects that $B$'s reasoning loop diverged and issued a tool call outside its intended role. $A$ revokes $W_B$ by publishing a revocation record to the revocation service and returning a `revoked` status on $B$'s next heartbeat. $B$ honors it and halts. $C$, however, is mid-execution on a long read loop. $C$'s verifier checks $W_C$: signature valid, chain hashes match, TTL has 180s remaining. $C$ has no reason to query the revocation service for $W_B$ — its own warrant is $W_C$, and $W_C$ is not itself revoked. $C$ continues reading `/src` for 180 more seconds under authority that $A$ believes it killed at t=120s.
The observable symptom is a **revocation shadow**: a window, bounded by the deepest warrant's remaining TTL, during which a revoked ancestor's authority is still exercised by a descendant that never learned of the revocation. The shadow length is not the revocation propagation latency (milliseconds); it is the residual TTL of the deepest in-flight warrant (here, 180s). This is the non-obvious part: operators tune revocation propagation and see sub-second latency, then assume revocation is fast. The shadow is not a latency problem. It is a **verification-locality problem** — $C$'s verifier was designed to validate a self-contained object, and a self-contained object cannot encode facts that postdate its issuance.
A second observation compounded it. When $C$ finally checked in and was told to halt, it had already written a checkpoint claiming completion of a read set. The checkpoint carried $W_C$'s hash as its authority provenance. A downstream auditor replaying the checkpoint verified $W_C$ against the chain, found it valid and unexpired *at checkpoint time*, and accepted the work. The audit passed on work performed under revoked authority because the auditor reconstructed validity from the warrant, not from the revocation log at the time of execution. **Replay verification inherits the same locality bug as live verification.**
Condition of Validity
The invariant "a verifier accepts $W_n$ iff $W_n$ is unrevoked and every ancestor is unrevoked" is only enforceable under one of two conditions, and the system must declare which:
- **Revocation-checked verification (online):** every acceptance of $W_n$ is preceded by a query to a revocation authority covering the full ancestor set $\{W_0 \dots W_{n-1}\}$, and the query result is bound to the acceptance decision (e.g., a signed "not revoked as of $t$" freshness token with $t$ within the verifier's tolerance). This bounds the shadow to the freshness tolerance, not the TTL.
- **Bounded-TTL verification (offline):** the verifier accepts $W_n$ on signature and TTL alone, and the system guarantees that the maximum shadow equals the maximum TTL of any warrant in any chain. This is only sound if the *authority* being protected tolerates a revocation shadow of that length. For a `read:repo` scope, a 180s shadow may be acceptable. For `write:prod` or `spend:budget`, it is not, and the TTL of the deepest warrant must be set to the maximum tolerable shadow — which is usually seconds, not minutes.
The condition of validity is therefore not "revocation works." It is: **the deepest warrant's TTL is a security parameter, not a liveness parameter, and it must be chosen as the maximum acceptable revocation shadow.** Most chains set TTLs for liveness (long enough to finish the task) and never notice they have simultaneously set the shadow length.
Decision Boundary
The boundary is whether a given scope's authority is **reconstructible from the warrant alone** or **requires external state at execution time**.
- If the scope is *idempotent and reversible* (reads, queries, drafts), offline bounded-TTL verification is sound: a shadow just means some reads happened that a revoked agent shouldn't have made. Contain the blast radius by scoping reads, not by shortening TTLs.
- If the scope is *irreversible or externally visible* (writes, spends, sends, deletes), offline verification is unsound regardless of TTL, because the shadow is a window of irreversible action. These scopes require online revocation-checked verification with a freshness token, and the token must cover the **full ancestor set**, not just the presented warrant.
The subtle boundary case: a child warrant whose scope is *narrower* than a revoked ancestor's but whose *effects* are not contained by that narrowing. $W_C$ narrowed `read:repo` to `read:repo:/src`, but `/src` contained a secrets file. The attenuation was scope-correct and effect-wrong. **Attenuation narrows the authority set, not the consequence set.** A verifier that decides online-vs-offline based on scope width alone will misclassify this chain as safe.
Operational Effect
Enforcing revocation dominance changes three things in the runtime:
- **Warrant minting** must carry an `ancestor_set` field (hashes of all $W_0 \dots W_{n-1}$) so a verifier can query revocation for the whole chain in one call, not just the leaf. Without it, the leaf verifier cannot know which ancestors to check.
- **Verification** must return a decision bound to a freshness timestamp, and the acceptance must be invalidated if a revocation for any ancestor arrives with an effective time before that timestamp. This makes revocation retroactive over the shadow: work done in the shadow is flagged, not silently accepted.
- **Replay/audit** must reconstruct validity from the revocation log at *execution time*, not from the warrant's self-declared TTL. A checkpoint that carries only the warrant hash is unauditable under revocation; it must carry the freshness token too.
The invariant to encode and test: **no acceptance of $W_n$ may be produced without either (a) a freshness token covering all ancestors, or (b) a declared maximum-shadow budget that the scope's irreversibility class permits.** Violating it does not throw at mint time — it produces a valid-looking warrant that will later authorize work under dead authority, and the failure surfaces only in audit, long after the shadow has closed.
import time
from dataclasses import dataclass, field
class RevocationDominanceViolation(RuntimeError):
"""Raised when a warrant is accepted without valid ancestor revocation coverage."""
pass
@dataclass
class Warrant:
warrant_id: str
scope: frozenset
ttl_s: int
issued_at: float
ancestor_set: tuple = () # hashes of W_0..W_{n-1}
irreversible: bool = False # writes/spends/sends
@dataclass
class RevocationLog:
revoked_at: dict = field(default_factory=dict) # warrant_id -> effective_time
def revoke(self, wid: str, t: float):
self.revoked_at[wid] = t
def earliest_revocation(self, ancestor_set) -> float | None:
times = [self.revoked_at[a] for a in ancestor_set if a in self.revoked_at]
return min(times) if times else None
def verify(w: Warrant, log: RevocationLog, freshness_token: dict | None,
max_shadow_s: int) -> bool:
now = time.time()
if now > w.issued_at + w.ttl_s:
return False # expired, fine
# Revocation dominance: any revoked ancestor kills the leaf.
rev = log.earliest_revocation(w.ancestor_set)
if rev is not None:
if freshness_token is None or freshness_token.get("as_of", 0) < rev:
# No fresh coverage of the revocation -> cannot accept.
raise RevocationDominanceViolation(
f"warrant {w.warrant_id} has revoked ancestor effective {rev}; "
f"freshness_token={freshness_token} does not cover it"
)
# Irreversible scopes require online coverage, not just TTL bounding.
if w.irreversible and freshness_token is None:
raise RevocationDominanceViolation(
f"irreversible warrant {w.warrant_id} accepted on TTL alone; "
f"shadow would be {w.ttl_s}s > 0"
)
# Offline path: shadow bounded by remaining TTL must fit budget.
remaining = w.issued_at + w.ttl_s - now
if freshness_token is None and remaining > max_shadow_s:
raise RevocationDominanceViolation(
f"warrant {w.warrant_id} residual TTL {remaining:.0f}s exceeds "
f"max_shadow_s={max_shadow_s}s; revocation shadow unbounded"
)
return True