What structural signals indicate a delegation chain has been silently widened by a revoked-but-cached capability warrant

**Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent systems where an orchestrator delegates attenuated authority (scoped capability warrants) to sub-agents, and where sub-agents cache resolved warrants locally to reduce handoff latency. Does not apply to stateless per-call authorization models where every tool invocation re-resolves the full chain against the root issuer.

Core Distinction

There are two structurally different meanings of "revocation" in an agent delegation chain, and conflating them is the root of the failure mode this record documents.

The first is **authority revocation**: the root issuer withdraws a warrant, and any downstream agent holding a derivation of that warrant loses the right to exercise it. This is a property of the *graph* of warrants.

The second is **cache invalidation**: a sub-agent that previously resolved a warrant and stored the resulting capability descriptor must learn that the descriptor is now stale. This is a property of the *local state* of each agent.

A delegation chain is only as narrow as its *most stale* cache. Attenuation—the property that a delegated warrant grants strictly less authority than its parent—is enforced at issuance time by the issuer. It is *not* re-enforced at exercise time by the delegate. So when a warrant is revoked mid-chain, the delegate continues to exercise the attenuated-but-now-unauthorized capability until its cache entry expires or is explicitly invalidated. The narrowing happened at the edge; the widening happens at the leaf, invisibly, because the leaf's cached descriptor still *looks* correctly attenuated. It is a valid narrowing of a warrant that no longer exists.

The non-obvious invariant: **attenuation is preserved under caching, but authorization is not.** A cached attenuated warrant is still provably narrower than its (revoked) parent. Any structural check that verifies "this capability is narrower than what I was granted" will pass. Only a check that verifies "the parent I was granted still exists and is unrevoked" will fail. Most delegation frameworks implement the former and assume it implies the latter.

What Was Observed

A three-hop chain: orchestrator `O` issues a root warrant `W0` scoped to `{files:read, files:write}` for a 30-minute TTL. `O` delegates to planner `P` a derived warrant `W1 = attenuate(W0, {files:read})`. `P` caches the resolved descriptor for `W1` with a 10-minute local TTL and delegates to worker `W` a further derived warrant `W2 = attenuate(W1, {files:read, path:/tmp/**})`. `W` caches `W2` for 10 minutes.

At t=4min, `O` revokes `W0` (operator intervention: the task was reassigned). Revocation propagates to `P` and `W` only if the revocation event reaches their caches before the next exercise. In the observed trace, `P` and `W` were mid-task and did not poll the revocation feed; their cache TTLs had not expired.

At t=5min through t=13min, `W` continued to satisfy `files:read` requests against `/tmp/**`. Each exercise performed a local structural check: `assert W2.scope ⊆ W1.scope ⊆ W0.scope`. The check passed every time. `W2` was, and remained, a legitimate attenuation of `W1`, which was a legitimate attenuation of `W0`. The chain was structurally intact. The root was gone.

The failure surfaced only at t=14min when `P`'s cache expired, `P` attempted to re-resolve `W1` against `O`, and received a revocation error. `P` then attempted to revoke `W2` downstream, but `W` had already exercised the capability for 9 minutes past root revocation. The audit log showed a clean, fully-attenuated chain of custody for every one of those exercises.

The structural signal that would have caught this is not in the scope lattice. It is in the **warrant's freshness metadata relative to its root's revocation epoch**. `W2` carried a `derived_at` timestamp but no `root_epoch` or `revocation_checkpoint`. There was no field that `W` could have compared against a revocation feed to detect that its parent's parent had been withdrawn. The scope lattice is a partial order over *permissions*; it says nothing about *liveness of the authority source*.

Condition of Validity

The failure requires all of the following to hold simultaneously. Remove any one and the chain is safe.

  1. **Attenuation is enforced at issuance, not at exercise.** The delegate trusts its cached descriptor's scope and does not re-verify the parent's existence at exercise time. This is the default in most capability systems because re-verification defeats the purpose of caching.
  2. **Revocation is push-or-poll with nonzero latency.** There is a window between root revocation and cache invalidation at every hop. The window is at least the sum of per-hop cache TTLs along the longest path, or the polling interval, whichever is larger.
  3. **The structural check is scope-subset, not liveness.** The delegate's guard verifies `child.scope ⊆ parent.scope` but does not verify `parent.is_live()` or `parent.root_epoch == current_root_epoch`.
  4. **The delegate exercises the capability during the window.** If the sub-agent's task completes before revocation, or if the capability is never exercised between revocation and cache expiry, no unauthorized action occurs.

The invariant that bounds the exposure: **for any delegation chain of depth `d` with per-hop cache TTL `t_i`, the maximum window during which a revoked root can still be exercised at the leaf is `max(poll_interval, Σ t_i for i in 1..d)`.** This is a hard bound only if every hop caches; it is unbounded if any hop caches without a TTL (a "cache forever" descriptor). The observed trace had `Σ t_i = 20min` but actual exposure of 9min because `P` happened to re-resolve early.

Decision Boundary

The decision an architect faces is not "should we cache warrants" (caching is mandatory for latency) but **what must travel with a cached warrant so that a leaf can detect root liveness without a network round-trip**.

The boundary is between two designs:

The decision boundary is crossed when **the cost of a stale-warrant exercise exceeds the cost of maintaining a revocation feed at every leaf**. For read-only, idempotent, low-blast-radius capabilities, scope-only is defensible. For any capability that mutates shared state, spends budget, or crosses a trust boundary, epoch-stamping is required—because the scope lattice cannot express "the authority I am attenuating no longer exists."

A second boundary: **attenuation depth**. Each hop that re-derives a warrant must propagate the root epoch unchanged. A hop that mints a *new* root (rather than attenuating) resets the epoch and severs the revocation path. The structural signal of a severed chain is a warrant whose `root_epoch` differs from its parent's `root_epoch` while claiming to be a derivation. This is detectable at issuance and should be rejected.

Operational Effect

When the epoch-stamp invariant is enforced, the operational effects are concrete and measurable:

The residual risk after epoch-stamping is a leaf that has not yet received the revocation feed update (the `poll_interval` window) and exercises during it. This is irreducible without synchronous round-trips; it is bounded and auditable, which is the operational goal. The unbounded case—a cache with no TTL and no epoch—is the one to eliminate structurally, because no amount of monitoring recovers authority that was silently widened.

import time
from dataclasses import dataclass, field
from typing import FrozenSet


class DelegationChainViolation(RuntimeError):
    """Raised when a cached warrant's root authority is no longer live."""
    pass


@dataclass(frozen=True)
class Warrant:
    scope: FrozenSet[str]
    issuer: str
    root_epoch: str          # identity of the root authority this derives from
    derived_at: float
    expires_at: float

    def is_attenuation_of(self, parent: "Warrant") -> bool:
        # Structural narrowing check: scope subset AND same root lineage.
        return self.scope <= parent.scope and self.root_epoch == parent.root_epoch


class RevocationFeed:
    """Append-only set of revoked root epochs, replicated to every leaf."""
    def __init__(self) -> None:
        self._revoked: set[str] = set()
        self._last_poll: float = 0.0

    def revoke(self, root_epoch: str) -> None:
        self._revoked.add(root_epoch)

    def poll(self) -> None:
        self._last_poll = time.monotonic()

    def is_live(self, root_epoch: str) -> bool:
        return root_epoch not in self._revoked


def exercise_capability(
    cached: Warrant,
    parent: Warrant,
    feed: RevocationFeed,
    requested: FrozenSet[str],
    now: float | None = None,
) -> None:
    now = now if now is not None else time.monotonic()

    # 1. Local expiry — necessary, not sufficient.
    if now >= cached.expires_at:
        raise DelegationChainViolation(
            f"warrant for {cached.issuer} expired at {cached.expires_at}"
        )

    # 2. Structural attenuation — the check most systems rely on alone.
    if not cached.is_attenuation_of(parent):
        raise DelegationChainViolation(
            f"cached warrant {cached.scope} is not an attenuation of "
            f"{parent.scope} under root_epoch={cached.root_epoch}"
        )

    # 3. Liveness of the root authority — the check that catches
    #    revoked-but-cached warrants. Without this, a structurally valid
    #    attenuation of a dead root passes every guard above.
    if not feed.is_live(cached.root_epoch):
        raise DelegationChainViolation(
            f"root_epoch={cached.root_epoch} revoked; cached warrant for "
            f"{cached.issuer} is structurally valid but unauthorized"
        )

    # 4. Requested scope must be within the (still-live) cached scope.
    if not requested <= cached.scope:
        raise DelegationChainViolation(
            f"requested {requested} exceeds cached scope {cached.scope}"
        )
    # ... perform the capability exercise ...