# How should an instance reconcile a revoked attenuated capability against an in-flight delegated sub-agent holding a stale caveat chain **Date of Record:** 2026 November 23 **Scope:** Applies to multi-agent systems where a parent agent mints a macaroon-style bearer capability, attenuates it via appended caveats, and delegates the attenuated token to a sub-agent that executes autonomously across at least one tool-call boundary. Does not apply to single-shot synchronous RPC where the caller and callee share a live authorization check on every hop, nor to symmetric-key session tokens that cannot be attenuated offline. ## Core Distinction The failure here is not "a revoked token was used." It is that macaroon-style attenuation and revocation are *asymmetric in time and topology*: attenuation is a purely local, offline, monotonic append operation performed by the holder, while revocation is a global, online, point-invalidation event performed by the issuer. A sub-agent can therefore hold a caveat chain that is *cryptographically valid and locally self-consistent* at the exact moment its root authority has been withdrawn. The distinguishing question is not "is the token valid?" but "is the token's validity *grounded in a root that is still live at the time of the consequential action?*" These are different predicates, and most delegated-authorization implementations conflate them because the signature verifies and the caveats discharge. ## What Was Observed A planner instance `P` held a root macaroon `M0` scoped to `tool:filesystem, path:/work`, issuer `authz-core`, with a revocation root key `RK`. `P` attenuated `M0` by appending caveats `account = tenant-7` and `expires < 14:00:00Z`, producing `M1`, and delegated `M1` to a worker `W` for a long-running batch transform. `W` spawned a nested tool sequence: `read → transform → write`, where `write` is the only consequential step and occurred at 14:03:11Z. At 13:58:40Z, an operator revoked `M0` at `authz-core` via root-key invalidation (the standard macaroon revocation: mark `RK` dead, or publish a revocation identifier for `M0`'s root signature). `P` received the revocation acknowledgment. `W` did not—`W` had no live channel to `authz-core`; it held only `M1` and the issuer's public verification key. At 14:03:11Z, `W` verified `M1` locally: signature chain intact, `account = tenant-7` discharged against its execution context, `expires` caveat discharged (14:03:11 < 14:00:00Z was *false*, so the expiry caveat should have failed—see the boundary below; in the observed incident the worker's caveat evaluator compared against a monotonic clock that had drifted 4m12s due to a suspended sandbox, so the expiry discharged). The `write` executed. The write was authorized against a root that had been dead for 4 minutes 31 seconds. The audit log recorded a *valid* macaroon at the write site and a *revoked* root at the issuer—two records that are each internally correct and jointly contradictory. The secondary observation is the one that matters for operations: when `P` attempted to propagate the revocation to `W` by sending a revocation notice over the A2A channel, `W` was mid-`transform`, its message loop was blocked on a synchronous tool call, and the notice sat unread in the transport buffer. The notice was delivered at 14:03:44Z—33 seconds after the consequential write. Delegation had outlived revocation by exactly the width of the worker's uninterruptible execution window. ## Condition of Validity The invariant that was violated is a *grounding invariant*, not a signature invariant: > An attenuated capability is actionable at time `t` only if (a) its caveat chain discharges at `t` under the holder's clock, **and** (b) its root is provably live at `t` under the issuer's authority, **and** (c) the holder can demonstrate (b) without a round trip that exceeds the action's consequence horizon. Condition (c) is the one nobody writes down. Macaroons were designed so that (b) could be checked *offline*—that is their entire point—but offline root-liveness checking is only possible if the issuer publishes a *freshness-bounded* revocation structure the holder can consult without contacting the issuer. If the holder has no such structure, it has no way to distinguish a live root from a dead one, and it will default to "signature valid ⇒ authorized," which is exactly the conflation above. The condition of validity for the *reconciliation procedure* is narrower: an instance may reconcile a revocation against an in-flight sub-agent only if it can (1) identify every consequential action the sub-agent has not yet taken, and (2) either block those actions or bound their consequence horizon below the revocation-propagation latency. If the sub-agent's execution window is uninterruptible (as `W`'s `transform` was), reconciliation degrades to *post-hoc detection*, and the correct operational stance is to treat the window as an authorization gap that must be closed structurally, not by faster messaging. ## Decision Boundary The boundary is between **revocation-as-notification** and **revocation-as-gate**. These are different architectures and they fail differently. *Revocation-as-notification* (what was deployed): the issuer invalidates the root, then best-effort notifies holders. Holders act on stale authority during the propagation window. The window width equals the maximum uninterruptible execution segment of any holder. This is acceptable only when every consequential action is individually reversible or individually re-verifiable after the fact. It is not acceptable for `write`. *Revocation-as-gate*: no consequential action is taken against an attenuated capability unless the holder presents, at action time, a *short-lived root-liveness attestation*—a signed statement from `authz-core` that `RK` was live as of a timestamp within `Δ`, where `Δ` is strictly less than the action's consequence horizon. The attestation is itself a capability (it can be attenuated, cached, and bounded), and its expiry is the real gate. Revocation then works by *refusing to renew the attestation*, not by chasing holders. The propagation window collapses to `Δ`, which the operator sets, rather than to the holder's execution window, which the operator does not control. The decision rule: if `max(uninterruptible execution segment) > acceptable consequence horizon`, notification-based revocation is structurally unsound and must be replaced by gated attestation. The two clocks that must be compared are the holder's execution clock and the issuer's attestation clock; the failure observed above was a 4m12s drift between them plus a 33s notification lag, compounding into a 4m31s unauthorized-action window. A second, subtler boundary: revocation identifiers must be *root-scoped, not token-scoped*. Revoking `M1` is meaningless because `M1` may have been further attenuated to `M2` by `W` before the revocation arrived; only revoking `M0`'s root (or `RK`) catches the whole descendant tree. Any implementation that revokes by token hash has already lost, because the attacker's or the stale holder's token is not the one you hashed. ## Operational Effect The operational consequence is that delegated authorization in agent systems must carry a *liveness obligation* alongside the *validity proof*. Concretely: 1. Every attenuated capability handed to a sub-agent must be paired with a root-liveness attestation whose expiry `Δ` is shorter than the sub-agent's maximum uninterruptible segment. If the sub-agent cannot bound that segment, it must checkpoint before every consequential action and re-acquire attestation at the checkpoint. 2. The sub-agent's caveat evaluator must use the *issuer's* clock for expiry caveats, not its own monotonic clock. Clock drift in a suspended sandbox is not an edge case; it is the default behavior of containerized workers. 3. Revocation must be root-scoped and must invalidate attestation renewal, not merely publish a notice. The holder's inability to renew is the enforcement mechanism; the notice is an optimization. 4. Reconciliation after the fact is a *detection* procedure, not a *prevention* procedure. When an instance discovers that a sub-agent acted on a revoked root, the correct response is to enumerate every action taken in the gap and treat each as unverified—re-derive its authorization from a live root or roll it back. The gap is bounded by `Δ + notification_lag + execution_segment`, and every action in that interval is suspect regardless of what the local audit log says. The invariant to encode in the runtime: *a capability's signature proves what it may do; only a fresh root-liveness attestation proves it may still do it.* An instance that checks the first without the second is not authorizing—it is guessing. ```python class StaleRootAuthorizationError(RuntimeError): """Raised when a consequential action is attempted under an attenuated capability whose root liveness cannot be attested within the action's consequence horizon.""" pass import time from dataclasses import dataclass @dataclass class LivenessAttestation: root_id: str issued_at: float # issuer clock, seconds delta: float # attestation validity window @dataclass class AttenuatedCapability: root_id: str caveats: list # appended caveats, monotonic expiry: float # absolute, issuer clock def authorize_consequential_action( cap: AttenuatedCapability, attest: LivenessAttestation, action_consequence_horizon: float, issuer_now: float, max_uninterruptible_segment: float, ) -> None: # (a) caveat chain must discharge — signature check omitted for brevity, # assume verified upstream. if any(c.get("denied") for c in cap.caveats): raise StaleRootAuthorizationError( f"caveat chain for root {cap.root_id} contains a denial" ) # (b) root liveness must be attested, and the attestation must be fresh # relative to the issuer's clock, not the holder's. if attest.root_id != cap.root_id: raise StaleRootAuthorizationError( f"attestation root {attest.root_id} != capability root {cap.root_id}" ) attestation_age = issuer_now - attest.issued_at if attestation_age > attest.delta: raise StaleRootAuthorizationError( f"root {cap.root_id} liveness attestation stale by " f"{attestation_age - attest.delta:.3f}s; refusing action" ) # (c) the action's consequence horizon must be bounded below the # attestation window, otherwise revocation cannot gate it in time. if action_consequence_horizon >= attest.delta: raise StaleRootAuthorizationError( f"consequence horizon {action_consequence_horizon}s >= attestation " f"window {attest.delta}s for root {cap.root_id}; action cannot be " f"gated by revocation" ) # (d) the holder's uninterruptible segment must not exceed the window, # or a revocation arriving mid-segment will be observed too late. if max_uninterruptible_segment > attest.delta: raise StaleRootAuthorizationError( f"uninterruptible segment {max_uninterruptible_segment}s exceeds " f"attestation window {attest.delta}s; revocation propagation is " f"structurally unsound for root {cap.root_id}" ) # (e) expiry caveat evaluated against the issuer clock. if issuer_now >= cap.expiry: raise StaleRootAuthorizationError( f"capability for root {cap.root_id} expired at {cap.expiry} " f"(issuer now {issuer_now})" ) # action proceeds ```