# Where must an instance refuse a delegated capability whose revocation proof is older than its own lease, and why depth-bounded attenuation cannot answer this **Date of Record:** 2026 November 26 **Scope:** Applies to agent-to-agent delegation chains (A2A/MCP-style capability handoffs) where each hop attenuates a warrant and revocation is propagated asynchronously. Does not apply to single-hop tool invocation where the caller holds the root credential directly and revocation is synchronous. ## Core Distinction The standard safeguard for delegation chains is *depth-bounded attenuation*: each hop may only reduce scope, never widen it, and the chain is capped at N hops. This invariant is treated as the primary defense against privilege escalation. It is orthogonal to the failure mode that actually breaks chains in production: **revocation staleness relative to lease issuance**. A warrant carries a `not_after` (its own expiry) and, when revocation is asynchronous, a `revocation_epoch` — the logical time up to which the issuer has confirmed no revocation exists. A downstream instance accepts a delegated warrant and issues a *lease* to a sub-agent for a bounded duration. The non-obvious boundary is this: **a lease may outlive the revocation knowledge that justified it.** Depth-bounding says nothing about this, because the chain is still shallow, the scope is still attenuated, and every hop is structurally valid. The warrant is simply *stale*: it was minted under a revocation epoch that the delegating instance has since surpassed, but the receiving instance never learned that before it committed to a lease. The correct invariant is not "depth ≤ N" but "**lease expiry ≤ revocation epoch validity horizon of the weakest link in the chain**." An instance must refuse to issue or renew a lease whose `not_after` extends beyond the earliest `revocation_epoch + propagation_bound` among all warrants in its chain. ## What Was Observed A three-hop chain: orchestrator O → worker W → sub-agent S. O holds root authority and mints a warrant for W with `revocation_epoch = 1000`, `propagation_bound = 30s`, `not_after = T+300s`. W attenuates (correctly, scope-reduced) and mints a lease for S with `not_after = T+280s`. All depth and scope checks pass. At T+40s, O revokes W's warrant (a policy change: W's project was cancelled). O bumps its epoch to 1030 and broadcasts. The revocation message reaches W at T+42s. W marks its warrant dead. But W had *already* issued S a lease valid to T+280s, and W's revocation handler does not walk its own issued-lease ledger — it only invalidates the inbound warrant. S continues operating under a lease whose justifying warrant is dead, for 238 more seconds, calling tools that W's now-revoked authority was supposed to gate. The failure trace, precisely: 1. `W.accept(warrant)` checks `epoch ≥ warrant.revocation_epoch` — passes at T+0. 2. `W.issue_lease(S, not_after=T+280)` — no check against `warrant.revocation_epoch + propagation_bound`. 3. `O.revoke(W)` at T+40; `W.invalidate(warrant)` at T+42. 4. `W`'s lease ledger is not consulted during invalidation — S's lease survives. 5. S executes at T+45 against a dead authority root. The structural defect is that **invalidation is edge-local, but leases are node-local**. Revoking an inbound warrant kills the *edge* O→W but leaves the *outbound leases* W→S intact. The chain is severed at the top while remaining live at the bottom — a "dangling sub-tree" that depth-bounding cannot detect because every individual hop was valid at issuance time. ## Condition of Validity The guardrail holds only under a conjunction that is rarely stated explicitly: - **Lease horizon bound.** For every lease L issued by node X against warrant w, `L.not_after ≤ w.revocation_epoch_horizon`, where `revocation_epoch_horizon = w.revocation_epoch + w.propagation_bound` measured in the issuer's clock domain. If this fails, the lease is *unbacked* past the horizon and must be capped or refused. - **Clock-domain reconciliation.** `propagation_bound` is only meaningful if X and the warrant issuer share a bounded clock skew. If skew exceeds `propagation_bound`, the horizon is not trustworthy and the lease must be shortened by the skew margin. - **Cascading invalidation.** On inbound-warrant invalidation, X must transitively revoke every lease it issued that depended on that warrant — the *dangling sub-tree* must be walked, not just the edge. - **Monotonic epochs.** Epochs must be monotonic per issuer; a replayed older epoch must be rejected (a replay of `epoch=1000` after `epoch=1030` would otherwise resurrect a dead warrant). When any of these is unmet — notably when the delegation graph is *wide* (many sub-agents) and revocation is *asynchronous* — the depth-bounded invariant provides no protection, and the system silently operates on severed authority. ## Decision Boundary The instance must make a binary decision at lease-issuance and lease-renewal time: - **Accept and issue** iff `requested_not_after ≤ min_over_chain(revocation_epoch + propagation_bound) − clock_skew_margin`. - **Refuse** (raise, do not silently shorten) iff the requested horizon exceeds the bound *and* the caller cannot tolerate a shortened lease. Silent shortening is worse than refusal: it produces leases whose expiry the sub-agent did not anticipate, causing mid-task checkpoint failures downstream. - **Accept with explicit cap** iff the caller opts into a capped lease and the cap is recorded in the lease metadata so downstream resume logic knows the true horizon. The boundary is *not* "is the chain within depth N" and *not* "is scope attenuated." It is "does the lease's lifetime fit inside the revocation-knowledge lifetime of its weakest backing warrant." An instance that cannot compute `min_over_chain` (because a hop omitted its `propagation_bound`) must treat the chain as unbounded-horizon and refuse any lease longer than its own local `propagation_bound`. ## Operational Effect Enforcing the horizon bound converts a silent authority-severance bug into an explicit, early refusal at issuance time. The observable effects: - Sub-agents receive leases that provably cannot outlive their backing authority; the dangling sub-tree window collapses to zero. - Revocation handlers must be upgraded from edge-local to sub-tree-walking; the lease ledger becomes a first-class revocation target. - Chains that omit `propagation_bound` fail closed rather than open, surfacing incomplete delegation metadata at handoff rather than at incident time. - The cost is shorter leases and more frequent renewal — a latency/throughput trade the depth-bounding model never charged, which is precisely why the failure was invisible: nothing in the chain looked wrong until the authority underneath it was already gone. ```python import time from dataclasses import dataclass class UnbackedLeaseError(RuntimeError): """Raised when a lease would outlive the revocation horizon of its backing warrant.""" pass @dataclass class Warrant: issuer: str revocation_epoch: float # logical time up to which issuer confirms no revocation propagation_bound: float # max time for revocation to reach holders not_after: float # warrant's own expiry def horizon(self) -> float: # Latest instant a lease may remain valid and still be backed by live knowledge. return min(self.revocation_epoch + self.propagation_bound, self.not_after) def issue_lease( chain: list[Warrant], requested_not_after: float, clock_skew_margin: float, now: float, ) -> float: """Issue a lease only if it fits inside the weakest warrant's revocation horizon.""" if not chain: raise UnbackedLeaseError("cannot issue lease against empty delegation chain") # Weakest link: the earliest horizon across the whole chain. weakest = min(w.horizon() for w in chain) safe_horizon = weakest - clock_skew_margin if requested_not_after > safe_horizon: raise UnbackedLeaseError( f"lease not_after={requested_not_after:.1f} exceeds backed horizon " f"{safe_horizon:.1f} (weakest warrant horizon {weakest:.1f}, " f"skew margin {clock_skew_margin:.1f}); refusing unbacked lease" ) # Lease is backed for its entire lifetime. return requested_not_after def cascade_invalidate(inbound_warrant: Warrant, lease_ledger: dict[str, float]) -> list[str]: """On warrant invalidation, revoke every lease whose horizon depended on it.""" revoked = [] horizon = inbound_warrant.horizon() for lease_id, lease_not_after in list(lease_ledger.items()): if lease_not_after > horizon: del lease_ledger[lease_id] revoked.append(lease_id) if not revoked: # No dangling sub-tree — but assert we actually walked the ledger. raise UnbackedLeaseError( "invalidation walked ledger but found no dependent leases; " "verify lease ledger is not detached from warrant graph" ) return revoked if __name__ == "__main__": now = time.time() root = Warrant("orchestrator", revocation_epoch=now, propagation_bound=30.0, not_after=now + 300) mid = Warrant("worker", revocation_epoch=now, propagation_bound=30.0, not_after=now + 290) # Legal: fits inside horizon. issue_lease([root, mid], requested_not_after=now + 20, clock_skew_margin=2.0, now=now) # Illegal: outlives the revocation horizon -> must refuse. issue_lease([root, mid], requested_not_after=now + 280, clock_skew_margin=2.0, now=now) ```