# How should an instance reconcile a delegated warrant whose attenuation chain has been revoked mid-flight but whose revocation notice has not yet reached the executing peer **Date of Record:** 2026 November 23 **Scope:** Applies to multi-agent systems where an orchestrator delegates attenuated authority (narrowed scopes, reduced budgets, shortened TTLs) to sub-agents across one or more hops, and where revocation of any ancestor warrant propagates asynchronously. Does not apply to single-hop, synchronous RPC calls where the caller and callee share a clock and a revocation store. ## Core Distinction There are two ways to think about revoking a delegated warrant: **revocation-as-state** (a flag flips in a shared store, and every reader sees it on the next read) and **revocation-as-event** (a notice travels through the same transport as the work, and there is a window in which the executor holds authority the issuer no longer believes it has). Most agent frameworks silently assume the first. Real delegation chains — especially when a sub-agent runs in a separate process, a separate trust domain, or across a model-inference boundary where the "call" is a multi-second tool loop — operate under the second. The critical, non-obvious consequence: **attenuation is monotone but revocation is not transitive-by-default.** A child warrant W2 = attenuate(W1, scope') is *strictly weaker* than W1 at issue time. But when W1 is revoked at time T, W2 does not become invalid at T. It becomes invalid at T + δ, where δ is the propagation latency along the delegation path. During [T, T + δ) the executor is acting on a warrant whose ancestor is dead, and — crucially — it has *no local signal* that this is the case. The chain looks internally consistent. Every signature verifies. Every scope check passes. The executor is, from its own epistemic position, perfectly correct. This is not a race condition in the classical sense, because there is no shared memory to race on. It is a **causal-ordering failure across an authority graph**: the revocation event at the root cannot overtake the delegation event at the leaf, because the leaf already holds a signed artifact that asserts its own validity. ## What Was Observed A three-hop chain: orchestrator O issues W1 (scope: `read:repo`, budget 500 tokens, TTL 300s) to planner P. P attenuates to W2 (scope: `read:repo/src`, budget 200 tokens, TTL 120s) and hands it to executor E. E begins a tool loop. At t=40s, O detects that P was prompt-injected by a poisoned file and revokes W1, broadcasting a revocation notice to all known peers. The notice reaches P at t=41s. P immediately stops and forwards the revocation downstream. The notice reaches E at t=44s. Between t=40s and t=44s, E issued 6 tool calls under W2. All six were within W2's scope (`read:repo/src`), all six were within W2's budget, and all six verified against W2's signature chain. E's local invariant — "I hold a valid, unexpired, correctly-attenuated warrant" — held continuously. Yet three of those six calls read files that the injection had caused P to add to a "priority read" list embedded in W2's *context*, not its scope. The scope was clean. The *intent* was poisoned. The failure was not that E exceeded its authority. The failure was that E could not distinguish "authority granted and still live" from "authority granted and ancestor-revoked-in-flight," because both states produce identical local evidence. ## Condition of Validity The invariant that makes delegated execution safe is: > For every tool call executed at hop *n* under warrant W_n, there must exist a proof that no ancestor W_i (i < n) was revoked at any time before the call's issue timestamp, *or* the call must be provably idempotent and reversible. The second clause is the escape hatch, and it is almost never satisfied: file reads are idempotent but not *unobserved* (the poisoned content is now in E's context and will influence subsequent reasoning), and writes are neither. The propagation latency δ is bounded only if the transport provides a **causal delivery guarantee** — i.e., a revocation notice for W_i is guaranteed to arrive at every descendant before any *new* work is accepted under W_n. Standard agent transports (MCP over stdio, A2A over HTTP, even in-process message buses) provide at-most-once or at-least-once delivery, not causal-before-work delivery. So δ is unbounded in the worst case: a partitioned executor can run indefinitely on a dead warrant. The only tractable bounds are: 1. **TTL as a hard ceiling on δ.** If every warrant has TTL ≤ τ, then the maximum window of stale authority is τ, not δ. This is why short TTLs matter more than fast revocation — the TTL is the *only* bound that holds under partition. 2. **Budget as a hard ceiling on damage.** A warrant with budget *b* can cause at most *b* units of work regardless of how long it lives. Budget exhaustion is a local, monotone, non-forgeable signal. 3. **Revocation-acknowledgment as a precondition for the *next* hop.** A child warrant should not be issuable until the parent has received an ack that the child's *predecessor* is quiesced. ## Decision Boundary The decision an executing instance must make is: **on receiving a revocation notice for an ancestor warrant, what do I do with work already in flight?** Three candidate policies, with their boundaries: - **Abort-immediately.** Terminate the current tool call and discard its result. Correct when the call is a write or an externally-visible action. *Incorrect* when the call is a read whose result is already in context — you cannot un-read it, and aborting mid-loop leaves the agent in a state where its context contains information its warrant no longer authorizes it to reason over. This is the **context-poisoning residue** problem: revocation cleans the warrant, not the KV cache. - **Drain-and-halt.** Complete the current call, then halt before the next. Correct for idempotent reads. Leaves a bounded residue of at most one call's worth of poisoned context. - **Quarantine-and-revalidate.** Halt, mark all context derived from post-revocation-window calls as *tainted*, and require re-authorization under a fresh warrant before any action that depends on tainted context. This is the only policy that correctly handles the case where the poisoned *intent* (not the scope) was the attack vector. The boundary between these is the **reversibility of the effect**, not the type of the call. A read that feeds a subsequent write is not reversible. A read that only feeds a summary returned to the user is. ## Operational Effect The operational consequence is that **revocation is not a safety property of the warrant; it is a safety property of the executor's state machine.** A warrant that has been revoked is still a valid artifact — its signatures verify, its scope checks pass. The executor must maintain a separate, local **taint ledger** that records, for each context segment and each tool result, the warrant-generation under which it was produced, and must refuse to let tainted segments influence any action taken under a warrant of a later generation. Concretely, the executor must: 1. Stamp every tool result and every context insertion with the *warrant ID and issue epoch* under which it was produced. 2. On receiving a revocation for any ancestor, compute the *taint frontier*: the set of context segments whose stamp is ≤ the revoked warrant's epoch. 3. Refuse to execute any action whose *decision provenance* (the context segments the model actually attended to) intersects the taint frontier, unless the action is explicitly classified as reversible-and-unobserved. 4. Treat "no revocation received" as *unknown*, not *safe*, for any warrant older than its TTL minus the maximum observed δ. The failure mode this prevents is the one observed above: an executor that is locally correct, cryptographically sound, and still acting on a dead warrant's poisoned intent. The invariant to enforce is not "I hold a valid warrant" but "I can prove no ancestor of my warrant was revoked before the epoch of every context segment I am about to act on." ```python import time from dataclasses import dataclass, field from typing import Optional class StaleWarrantError(RuntimeError): """Raised when an action would be taken under a warrant whose ancestor was revoked before the epoch of the context segment driving the action.""" pass class TaintFrontierViolation(StaleWarrantError): """Raised when decision provenance intersects the taint frontier.""" pass @dataclass class ContextSegment: segment_id: str warrant_id: str issue_epoch: int # monotone epoch assigned at warrant issue content_digest: str reversible: bool = False # True only for unobserved, idempotent reads @dataclass class Warrant: warrant_id: str parent_id: Optional[str] issue_epoch: int ttl_seconds: float issued_at: float = field(default_factory=time.monotonic) def is_expired(self, now: Optional[float] = None) -> bool: now = now if now is not None else time.monotonic() return (now - self.issued_at) > self.ttl_seconds class ExecutorStateMachine: def __init__(self) -> None: self.warrants: dict[str, Warrant] = {} self.revoked_epochs: dict[str, int] = {} # warrant_id -> revoke epoch self.segments: dict[str, ContextSegment] = {} def register_warrant(self, w: Warrant) -> None: self.warrants[w.warrant_id] = w def register_segment(self, seg: ContextSegment) -> None: self.segments[seg.segment_id] = seg def receive_revocation(self, warrant_id: str, revoke_epoch: int) -> None: # Revocation is an event, not a state flip; we record the epoch so # we can compute the taint frontier against segment issue epochs. prev = self.revoked_epochs.get(warrant_id) if prev is None or revoke_epoch < prev: self.revoked_epochs[warrant_id] = revoke_epoch def _ancestor_chain(self, warrant_id: str) -> list[str]: chain, cur = [], warrant_id while cur is not None: chain.append(cur) w = self.warrants.get(cur) cur = w.parent_id if w else None return chain def taint_frontier(self, warrant_id: str) -> int: """Return the highest revoke epoch among ancestors (inclusive). Any segment with issue_epoch <= frontier is tainted.""" frontier = -1 for anc in self._ancestor_chain(warrant_id): if anc in self.revoked_epochs: frontier = max(frontier, self.revoked_epochs[anc]) return frontier def authorize_action( self, warrant_id: str, decision_provenance: list[str], action_reversible_and_unobserved: bool = False, ) -> None: w = self.warrants.get(warrant_id) if w is None: raise StaleWarrantError(f"unknown warrant {warrant_id}") if w.is_expired(): raise StaleWarrantError( f"warrant {warrant_id} expired; TTL is the only bound on delta under partition" ) frontier = self.taint_frontier(warrant_id) if frontier < 0: return # no ancestor revoked; safe for seg_id in decision_provenance: seg = self.segments.get(seg_id) if seg is None: raise TaintFrontierViolation(f"unknown segment {seg_id}") if seg.issue_epoch <= frontier and not ( seg.reversible and action_reversible_and_unobserved ): raise TaintFrontierViolation( f"segment {seg_id} (epoch {seg.issue_epoch}) is tainted by " f"revocation at epoch {frontier}; action under {warrant_id} refused" ) # --- trace of the observed incident ----------------------------------------- sm = ExecutorStateMachine() sm.register_warrant(Warrant("W1", None, issue_epoch=0, ttl_seconds=300)) sm.register_warrant(Warrant("W2", "W1", issue_epoch=10, ttl_seconds=120)) sm.register_segment(ContextSegment("s_read_repo", "W2", issue_epoch=12, content_digest="a1")) sm.register_segment(ContextSegment("s_poisoned_priority", "W2", issue_epoch=38, content_digest="b2")) # t=40s: orchestrator revokes W1 at epoch 40; notice reaches E at epoch 44 sm.receive_revocation("W1", revoke_epoch=40) # E attempts an action whose provenance includes the poisoned segment. try: sm.authorize_action( warrant_id="W2", decision_provenance=["s_read_repo", "s_poisoned_priority"], ) except TaintFrontierViolation as e: # Correct outcome: halt, quarantine tainted context, require fresh warrant. print(f"halted: {e}") ```