# When must an instance refuse a delegated warrant whose revocation epoch is unverifiable but whose signature chain is intact? **Date of Record:** 2026 December 1 **Scope:** Applies to multi-hop agent delegation where authority is attenuated per hop and revocation is propagated as an epoch/generation counter signed by the root issuer. Does not apply to single-hop tool calls with no delegated principal, nor to fully centralized authorization servers that gate every hop synchronously. ## Core Distinction The failure mode here is not signature forgery and not simple expiry. It is the **revocation-epoch gap**: a delegated warrant carries a valid, cryptographically intact signature chain from root issuer → A → B → C, every attenuation predicate is monotonically narrowing (scopes are strict subsets, budget ceilings strictly decrease, time bounds strictly shrink), and yet the *revocation epoch* attached to the warrant — the counter that says "this warrant was still live as of epoch N" — cannot be reconciled with the epoch state the receiving instance can actually observe. Two clauses are routinely conflated by implementers: 1. **Warrant validity** — "the chain of authority is well-formed and every hop attenuated correctly." This is a pure function of the signed bytes. 2. **Warrant liveness** — "the root issuer has not revoked this lineage, or any ancestor of it, since epoch N." This is *not* a pure function of the signed bytes; it depends on the receiver's view of the issuer's revocation state, which is distributed, eventually consistent, and can lag. A signature chain proves clause 1. It says nothing about clause 2. The boundary condition is the case where clause 1 holds perfectly and clause 2 is *unverifiable* — the receiver cannot obtain a revocation epoch from the issuer that is at least as recent as the epoch stamped into the warrant, and cannot prove that no revocation occurred in the gap. The non-obvious part: the correct behavior is not "accept, because signatures are valid" and not "reject, because we can't confirm." It depends on whether the delegated action is *reversible-before-effect* or not, and on whether the epoch gap is *bounded* or *unbounded*. ## What Was Observed A three-hop delegation chain was issued for a data-migration task. Root issuer `R` (epoch clock at 4410) minted a warrant to orchestrator `A` with `revocation_epoch=4410`, scope `{read:db_prod, write:staging}`, budget 500 tool calls, TTL 4h. `A` delegated to worker `B` with `revocation_epoch=4410` (unchanged — `A` had not polled `R`), scope `{read:db_prod}`, budget 120 calls. `B` delegated to sub-worker `C` with `revocation_epoch=4410`, scope `{read:db_prod:table_orders}`, budget 30 calls. At t+38min, `R` revoked `A`'s entire lineage (operator error in a prior task contaminated `A`'s state; `R` bumped its revocation epoch to 4417 and published a revocation record covering the `A`-lineage root). `A` and `B` were mid-execution and did not poll. `C` received its warrant, checked signatures (all valid), checked attenuation (strict subset, valid), and checked the embedded `revocation_epoch=4410` against its *own* last-known epoch from `R`, which was 4405 — **stale by two epochs even before the revocation**. `C`'s liveness check compared `warrant.revocation_epoch (4410) > local_known_epoch (4405)` and, under the common "warrant is newer than my knowledge, therefore trust it" heuristic, proceeded. It executed 27 read queries against `table_orders` before the batch job completed and `R`'s revocation finally propagated. The trace: - `C`'s guard was `if warrant.revocation_epoch >= self.known_epoch: proceed()`. This is backwards. A warrant epoch *ahead* of local knowledge means the receiver is behind, not that the warrant is fresh. The guard should have been `if self.known_epoch >= warrant.revocation_epoch and not revoked_in(warrant.lineage, self.known_epoch): proceed()` — i.e., the receiver must be at least as current as the warrant claims, and must have positively confirmed non-revocation across the interval. - The attenuation predicates were all satisfied. This is the trap: **correct attenuation is orthogonal to liveness**. Every hop did its narrowing job perfectly. The chain was structurally sound and functionally dead. - The revocation epoch gap at `C` was 4417 − 4405 = 12 epochs (unbounded — `C` had no freshness SLA with `R` and no way to bound how far behind it was). The gap was *unbounded and unmeasurable*, which is categorically different from a bounded lag. ## Condition of Validity A delegated warrant is **live-acceptable** at receiver `C` if and only if all of the following hold simultaneously: 1. **Chain integrity:** every hop signature verifies against the delegating principal's key, and the root key chains to a trusted anchor. 2. **Attenuation monotonicity:** for each hop `i → i+1`, `scope(i+1) ⊆ scope(i)`, `budget(i+1) ≤ budget(i)`, `expiry(i+1) ≤ expiry(i)`, and `revocation_epoch(i+1) ≥ revocation_epoch(i)` (epochs must be non-decreasing along the chain — a child warrant may not claim an epoch older than its parent, or it can outlive its parent's revocation). 3. **Epoch freshness (the missing clause):** `C.known_epoch ≥ warrant.revocation_epoch`, *and* `C` holds a signed non-revocation attestation from `R` covering the interval `[warrant.revocation_epoch, C.known_epoch]` for the full ancestor lineage, *and* the interval is within a declared freshness bound `Δ_max`. 4. **Reversibility gate:** if clause 3 fails but `Δ_max` is still satisfiable by a bounded wait, `C` may proceed only on actions that are *reversible-before-effect* (read-only, dry-run, staged-and-not-committed). Irreversible effects (writes, external sends, spend) require clause 3 to hold strictly. The invariant: **a receiver may never treat a warrant's embedded revocation epoch as evidence of its own freshness.** The epoch is a claim by the issuer about *when the warrant was minted*, not a promise about *the receiver's current view*. Comparing the two in the wrong direction inverts the security property — it converts a staleness signal into a trust signal. ## Decision Boundary The precise boundary between "proceed" and "refuse" is not the signature check. It is the pair `(freshness_bounded, action_reversible)`: | freshness gap | action reversible | action irreversible | |---|---|---| | bounded (`≤ Δ_max`) | proceed after bounded wait | proceed after bounded wait + non-revocation attestation | | unbounded or unmeasurable | proceed on reversible actions only, flag for audit | **refuse** | The subtle case — and the one that caused the incident — is **unbounded gap with reversible action**. Here the system *may* proceed, but it must record the gap and must not let a reversible action be *composed* into an irreversible one downstream without re-checking. `C`'s 27 reads were individually reversible; the batch job that consumed their output and wrote a derived table was not, and the composition crossed the boundary silently. The guardrail is a **taint bit**: any result produced under an unverified-epoch warrant carries `epoch_unverified=True`, and any downstream action that would commit an irreversible effect must refuse to consume tainted inputs. The second boundary: `revocation_epoch` must be **monotonic along the chain and non-decreasing over time at the issuer**. If `R`'s epoch ever decreases (clock reset, restore-from-backup, key rotation with epoch reinit), every outstanding warrant's epoch comparison becomes meaningless. Receivers must treat an observed epoch regression at `R` as a hard revocation of all warrants minted under the prior epoch sequence — fail closed, re-issue. ## Operational Effect The practical consequence is that delegation chains must carry **two independent clocks**: the mint-time epoch (signed, immutable, part of the warrant) and the receiver's knowledge epoch (local, mutable, polled). Liveness is the *meet* of these, not either one alone. Systems that collapse them into a single field — or that check `warrant.epoch >= local.epoch` — will accept revoked lineages whenever the receiver is behind, which is exactly when revocation matters most. Concretely: poll `R`'s revocation feed before any irreversible effect; require a signed non-revocation attestation covering the gap; bound `Δ_max` per action class; propagate an `epoch_unverified` taint through any derived state; and refuse to compose tainted results into irreversible commits. The signature chain tells you the authority *was* delegated. Only the epoch reconciliation tells you it *still is*. ```python from dataclasses import dataclass from typing import Optional class EpochUnverifiableError(RuntimeError): """Raised when a delegated warrant's revocation epoch cannot be reconciled with the receiver's knowledge epoch within the freshness bound.""" pass class EpochRegressionError(RuntimeError): """Raised when the issuer's revocation epoch moves backwards, invalidating all outstanding epoch comparisons.""" pass @dataclass(frozen=True) class Warrant: lineage_root: str revocation_epoch: int # mint-time epoch, signed, immutable scope: frozenset budget: int reversible_only: bool @dataclass(frozen=True) class ReceiverView: known_epoch: int # last epoch confirmed from issuer attested_through: int # signed non-revocation attestation covers [_, attested_through] delta_max: int # declared freshness bound def authorize_effect( warrant: Warrant, view: ReceiverView, action_is_irreversible: bool, issuer_epoch_now: int, ) -> bool: # Guard 0: epoch regression at issuer invalidates everything. if issuer_epoch_now < view.known_epoch: raise EpochRegressionError( f"issuer epoch regressed {view.known_epoch} -> {issuer_epoch_now}; " f"fail closed and re-issue all warrants for {warrant.lineage_root}" ) # Guard 1: receiver must be at least as current as the warrant claims. if view.known_epoch < warrant.revocation_epoch: gap = warrant.revocation_epoch - view.known_epoch if action_is_irreversible: raise EpochUnverifiableError( f"receiver epoch {view.known_epoch} behind warrant epoch " f"{warrant.revocation_epoch} (gap {gap}); irreversible action refused" ) # reversible action: allowed, but caller must taint derived state return True # taint bit set by caller # Guard 2: gap between warrant epoch and attested coverage must be bounded. gap = view.known_epoch - warrant.revocation_epoch if view.attested_through < view.known_epoch: if action_is_irreversible: raise EpochUnverifiableError( f"no non-revocation attestation covering " f"[{warrant.revocation_epoch}, {view.known_epoch}] for " f"{warrant.lineage_root}; irreversible action refused" ) if gap > view.delta_max and action_is_irreversible: raise EpochUnverifiableError( f"freshness gap {gap} exceeds delta_max {view.delta_max}; " f"irreversible action refused pending re-poll" ) return True ```