# What structural signals indicate a revocation-propagation gap in attenuated agent-to-agent delegation chains **Date of Record:** 2026 November 22 **Scope:** Applies to multi-hop delegation chains where an orchestrator issues attenuated capability warrants to sub-agents (A2A/MCP handoffs) and revocation is expected to propagate transitively. Does not apply to single-hop tool calls with no delegated authority, or to stateless request/response APIs without warrant carrying. ## Core Distinction The distinction that matters is between *revocation as an event* and *revocation as a reachable state*. In a delegation chain, a revocation is an event emitted at the root (the issuer of the original warrant), but the operational question is whether every downstream holder of a derived warrant can be driven into a state where the revoked capability is provably unusable. These diverge precisely when a downstream agent holds a *cached* or *memoized* copy of an attenuated warrant that was valid at the time it was minted but whose parent edge has since been severed. The root believes revocation succeeded because it broadcast the event; the leaf keeps executing because no mechanism forces it to re-validate against the live chain. The non-obvious part: attenuation (capability narrowing) and revocation propagation are usually designed independently. Attenuation is a *monotone decreasing* transform on authority, evaluated at mint time. Revocation is a *retroactive* invalidation, evaluated at use time. A chain that only checks attenuation at mint time and only checks revocation at its own hop will silently accept a warrant whose intermediate ancestor was revoked—because no single hop sees both facts. ## What Was Observed In a three-hop chain (orchestrator O → planner P → executor E → tool-proxy T), O issues warrant W0 with scope {read:repo, write:staging}. P attenuates to W1 = {read:repo} and delegates to E. E attenuates to W2 = {read:repo:subdir} and hands to T. Each hop stores its local warrant plus a `parent_warrant_id` pointer and a `valid_until` timestamp, and each hop validates its own signature and expiry at use time. A revocation of W0 (say, the operator revoked O's authority after a prompt-injection incident) is broadcast as a signed `revoke(W0)` event. The observed failure trace: 1. T receives `revoke(W0)` but its local record only knows `parent_warrant_id = W1`. It has no edge from W1 to W0, so it cannot decide whether the revocation is *ancestral* to its own authority. It logs "revocation for unknown warrant, ignoring." 2. E receives `revoke(W0)`, sees its parent is W1, not W0, and likewise drops the event. 3. P receives `revoke(W0)`, sees W0 is its root, marks W1 invalid locally—but does not re-notify E, because the protocol specified revocation broadcast from root only. 4. T continues to serve reads using W2 for the full remaining `valid_until` window (observed: 41 minutes in one incident), because W2 is still signature-valid and unexpired. Structural signals present *before* the failure that predicted it: (a) the delegation record stored only the immediate parent pointer, not a full chain hash; (b) revocation was a broadcast event, not a pull-based check the leaf could perform against the root; (c) `valid_until` was the only time bound, with no `revocation_epoch` the leaf could compare against. Any one of these is a signal that revocation is not guaranteed to reach the leaf as a *state*. ## Condition of Validity The invariant that must hold for revocation to be sound across a chain is: > For every warrant Wi held by any agent, and every ancestor Wj (j < i), if Wj is revoked then Wi is unusable at the moment of the next use. This holds only if the leaf can, at use time, either (1) reconstruct the full ancestry from Wi to the root and check each ancestor against an authoritative revocation set, or (2) compare a monotonically increasing `revocation_epoch` (signed by root, advanced on every revocation) against the epoch stamped into Wi at mint time, rejecting if `Wi.epoch < current_epoch` for any ancestor. Option (2) is the only one that survives partial connectivity, because it converts "did I hear about the revocation" into "is my epoch stale," which is locally decidable. Attenuation alone does *not* imply this invariant. Narrowing authority reduces blast radius but does not bound revocation latency. A {read:repo:subdir} warrant is still fully live until its epoch check fails. ## Decision Boundary The boundary is between *push revocation* (event broadcast, best-effort delivery) and *epoch-gated use* (pull-checkable monotone counter). Push revocation is acceptable only when the maximum tolerated revocation latency is greater than the maximum event-delivery delay plus the maximum leaf staleness window. In practice, for any chain where a leaf can act autonomously (tool execution, external side effects), that inequality fails, because the leaf's `valid_until` window can be arbitrarily long and delivery is not guaranteed. The decision rule: if a warrant can authorize a side-effecting action, its mint must embed the root's `revocation_epoch` and the use-site must reject when the live epoch exceeds it. If a warrant is read-only and idempotent, push revocation with a bounded `valid_until` (short TTL) is defensible. The failure in the observed case was applying the read-only rule to a warrant that had been attenuated from a write-capable parent—attenuation changed the *scope* but the chain inherited the *revocation semantics* of a lower tier. ## Operational Effect The concrete effect is a *revocation shadow*: a window during which a revoked root capability continues to be exercised by a leaf that is structurally unable to know it was severed. The shadow's length is `min(valid_until, time_until_leaf_restarts)`, and it is invisible to the root's revocation-success metric because the root counts broadcast acknowledgements, not leaf re-validations. The guardrail is to make ancestry explicit and epoch-checkable: store a `chain_hash` (hash of the ordered ancestor warrant IDs) in every derived warrant, publish a signed `revocation_epoch` from the root, and require every use-site to reject when `warrant.epoch < root.current_epoch`. Log the *rejection* at the leaf, not the broadcast at the root, as the revocation-success signal. A chain that cannot produce a leaf-side rejection log for a revoked root has not actually revoked anything—it has only announced an intention to. ```python import hashlib import time from dataclasses import dataclass, field class RevocationPropagationError(RuntimeError): """Raised when a leaf warrant cannot prove its ancestry is unrevoked.""" pass @dataclass class Warrant: warrant_id: str parent_id: str | None scope: frozenset epoch: int # root revocation_epoch at mint time valid_until: float chain: tuple = field(default_factory=tuple) # ordered ancestor ids, root-first def chain_hash(self) -> str: h = hashlib.sha256() for wid in self.chain + (self.warrant_id,): h.update(wid.encode()) return h.hexdigest() class RevocationLedger: """Authoritative root-side state. epoch advances on every revocation.""" def __init__(self): self.epoch = 0 self.revoked: set[str] = set() def revoke(self, warrant_id: str) -> None: self.revoked.add(warrant_id) self.epoch += 1 def use_warrant(w: Warrant, ledger: RevocationLedger, now: float | None = None) -> None: now = now if now is not None else time.time() if now > w.valid_until: raise RevocationPropagationError( f"warrant {w.warrant_id} expired at {w.valid_until}" ) # Epoch gate: if any ancestor was revoked after this warrant was minted, # the root epoch has advanced past w.epoch and the warrant is stale. if w.epoch < ledger.epoch: # Distinguish "ancestor revoked" from "unrelated revocation" by # checking ancestry explicitly; if we cannot, we must fail closed. if any(anc in ledger.revoked for anc in w.chain): raise RevocationPropagationError( f"warrant {w.warrant_id} has revoked ancestor in chain {w.chain}" ) # Epoch advanced but no ancestor revoked: still fail closed on # side-effecting scopes, because we cannot prove non-revocation # without a full ancestry re-check. if "write" in {s.split(":")[0] for s in w.scope}: raise RevocationPropagationError( f"warrant {w.warrant_id} epoch {w.epoch} < ledger {ledger.epoch}; " f"cannot prove write-scope ancestry unrevoked" ) def demo() -> None: ledger = RevocationLedger() w0 = Warrant("W0", None, frozenset({"read:repo", "write:staging"}), 0, time.time() + 3600, ()) w1 = Warrant("W1", "W0", frozenset({"read:repo"}), 0, time.time() + 3600, ("W0",)) w2 = Warrant("W2", "W1", frozenset({"read:repo:subdir"}), 0, time.time() + 3600, ("W0", "W1")) ledger.revoke("W0") # operator revokes root after injection try: use_warrant(w2, ledger) except RevocationPropagationError as e: print(f"leaf correctly refused: {e}") else: # This branch is the failure mode: leaf executed under a revoked root. raise RevocationPropagationError( "revocation shadow: W2 executed despite revoked ancestor W0" ) if __name__ == "__main__": demo() ```