# Under what conditions must an instance refuse a delegated capability whose revocation epoch is older than its own grant epoch **Date of Record:** 2026 November 28 **Scope:** Applies to any agent that accepts a capability token (warrant) from a peer or orchestrator where the issuing authority maintains a monotonic revocation epoch per capability root, and where delegation chains may attenuate but not amplify rights. Does not cover bearer-token systems without epochs, nor single-hop direct authorization where the grantor is also the sole verifier. ## Core Distinction The common framing of revocation propagation treats it as an availability problem: a revocation is "eventually" delivered, and the only question is how stale a downstream agent's view may be before it stops honoring the capability. That framing misses the actually load-bearing distinction, which is **epoch ordering versus epoch freshness**. A delegated capability carries two epochs: the *grant epoch* (the revocation-counter value at the issuing authority when the warrant was minted) and the *observed revocation epoch* (the highest epoch the receiving instance has seen from the root authority, directly or via gossip). The naive invariant is `observed >= grant`, meaning "I have seen at least as many revocations as existed when this was issued." That invariant is necessary but **not sufficient**. The failure boundary is the case where `observed < grant`: the receiving instance's revocation view is *older* than the moment the warrant was created. This is not staleness in the ordinary sense—it is a **causality inversion**. The grantor minted a warrant against a revocation state the receiver has never witnessed. The receiver cannot distinguish "this warrant is valid and I am merely behind" from "this warrant was minted by a compromised or partitioned issuer after a revocation I will never see." The distinction that matters: a stale receiver that is *ahead of or equal to* the grant epoch can safely execute and reconcile later. A receiver *behind* the grant epoch cannot even bound its own uncertainty, because the epoch delta is unknown to it. It knows only that at least one revocation event exists that it has not incorporated, and that event predates the authority's decision to delegate. That is precisely the condition under which execution must be refused rather than deferred. ## What Was Observed In a three-tier delegation chain (root authority → orchestrator → worker), the root issued warrants with an embedded `grant_epoch` drawn from a per-root monotonic counter incremented on every revocation. The orchestrator held a persistent connection to the root and received revocation gossip within ~40ms. The worker connected to the orchestrator only, and received revocation state transitively as a piggybacked field on each delegation. A revocation of a sibling capability (a different worker's tool grant) incremented the root epoch from 41 to 42. The orchestrator, fully current at epoch 42, then minted a new warrant for the worker with `grant_epoch=42`. The worker's last transitive gossip had left it at epoch 40—it had missed the 41→42 transition because the piggyback only fires on delegation, and no delegation had occurred between the two revocation events. The worker received a warrant stamped `grant_epoch=42` while holding `observed_epoch=40`. Under the naive freshness check (`observed >= grant - tolerance`), with any tolerance ≥ 2, the worker accepted and executed. The warrant was in fact valid—the epoch-42 revocation did not touch this worker's rights. But the worker had no way to know that. It executed a capability whose revocation context it could not reconstruct, and the audit log recorded a successful authorization that the worker could not have justified from its own state. When a later replay audit reconstructed the worker's view at execution time, the authorization was flagged as unverifiable: the worker's `observed_epoch` was strictly less than the `grant_epoch` of the warrant it honored. The observed trace, in order: 1. Root epoch 40. Worker current at 40. 2. Root revokes sibling capability → epoch 41. Orchestrator receives; worker does not (no delegation event). 3. Root revokes another sibling → epoch 42. Orchestrator receives; worker does not. 4. Orchestrator mints worker warrant with `grant_epoch=42`. 5. Worker receives warrant, `observed_epoch=40`. Naive check passes (delta 2 within tolerance). 6. Worker executes. Audit replay cannot verify: `observed < grant` at execution time. The execution was benign. The *record* was not, because the system could not later prove the worker wasn't executing against a revocation it had simply not seen. ## Condition of Validity The invariant that must hold at the moment of execution is: ``` observed_epoch >= grant_epoch ``` strictly, with no tolerance, for any warrant received over a channel that is not the root authority's own authenticated stream. The tolerance-based relaxation is only sound when the receiver can *independently* establish an upper bound on how far behind it is—e.g., a signed heartbeat from the root carrying the current epoch, timestamped within the receiver's clock-skew budget. Absent such a bound, `observed < grant` means the receiver knows a revocation event exists that it has not incorporated, and cannot rule out that the event revokes the very capability it is about to exercise. The condition is asymmetric and this asymmetry is the whole point. `observed > grant` is safe: the receiver has seen *more* revocations than existed at mint time, so any revocation affecting this warrant would already be in its view (or the warrant would have been minted against a newer epoch). `observed == grant` is safe by construction. `observed < grant` is the boundary: it is the only case where the receiver's epistemic state is strictly behind the grantor's decision point, and the gap is unbounded from the receiver's perspective. Note what this is *not*. It is not a requirement that the receiver be fully current. A receiver at epoch 40 honoring a warrant stamped `grant_epoch=40` is fine even if the root is actually at epoch 99—because the warrant was minted when the root was at 40, and any revocation after 40 that affects this warrant will arrive as a future epoch the receiver can process before the warrant's next use. The hazard is exclusively the inversion. ## Decision Boundary The decision procedure at warrant receipt: - Compute `delta = grant_epoch - observed_epoch`. - If `delta <= 0`: accept, proceed to capability-attenuation and scope checks. - If `delta > 0`: the receiver is behind the grant point. It must **not** execute. It must either (a) synchronously fetch revocation state from the root (or a quorum of gossip peers) until `observed >= grant`, then re-evaluate, or (b) refuse and return the warrant with a `StaleEpochError` carrying both epochs so the orchestrator can re-mint against a fresher receiver view—but re-minting does not help, because the receiver's view is the problem, not the warrant's stamp. The subtle failure of the boundary: an orchestrator that responds to `StaleEpochError` by re-minting at the *orchestrator's* current epoch (say 42) does not fix anything—it re-stamps the same inversion. The correct recovery is for the receiver to pull revocation state, not for the grantor to push a newer warrant. A grantor that "fixes" a stale-epoch rejection by re-minting is masking the receiver's partition, and the next warrant will hit the same boundary. The boundary also interacts with attenuation. If a warrant is attenuated (rights narrowed) before re-delegation, the attenuated warrant inherits the *maximum* of the original grant epoch and any epoch observed during attenuation. An attenuator that has seen epoch 45 and attenuates a warrant originally at 42 must stamp the derivative at 45, not 42—otherwise it launders a stale epoch into a fresh-looking warrant. Epoch laundering through attenuation is the second-order form of the same failure. ## Operational Effect Enforcing the strict invariant changes the failure mode from *silent unverifiable execution* to *loud, bounded refusal with a recoverable cause*. The worker in the trace above would have refused at step 5, pulled revocation state from the root (or from the orchestrator's cached root stream), advanced to epoch 42, and re-evaluated—accepting the same warrant, now with a verifiable audit record. The cost is one synchronous round-trip on the rare inversion; the benefit is that every executed capability has a reconstructable authorization basis. The invariant also forces a design decision that is easy to defer and expensive to retrofit: **revocation state must be pullable by any receiver, not only pushable from its parent.** A chain that only propagates revocation downward on delegation events cannot satisfy `observed >= grant` at arbitrary receipt times, because delegation events are sparse relative to revocation events. The worker needs a path to the root's epoch—directly, via a gossip quorum, or via a signed epoch heartbeat cached at the orchestrator—independent of the delegation cadence. Finally, the invariant gives the audit replay a checkable predicate. A replay that finds `observed_epoch < grant_epoch` at the recorded execution time does not need to reason about whether the revocation *happened* to be irrelevant; it can flag the execution as unauthorized-by-construction, because the executing instance could not have established the absence of a conflicting revocation. That is the operational payoff: the boundary converts an unprovable negative ("no revocation applied") into a provable positive ("the receiver's epoch dominated the grant epoch"). ```python class StaleEpochError(RuntimeError): """Raised when a receiver's revocation epoch is behind the warrant's grant epoch. The receiver cannot bound its own uncertainty about revocations that predate the grantor's decision to delegate, so it must refuse rather than execute against an unverifiable authorization basis. """ def __init__(self, grant_epoch: int, observed_epoch: int, warrant_id: str): self.grant_epoch = grant_epoch self.observed_epoch = observed_epoch self.warrant_id = warrant_id super().__init__( f"warrant {warrant_id}: observed_epoch={observed_epoch} < " f"grant_epoch={grant_epoch}; causality inversion, refuse" ) def admit_warrant(warrant, observed_epoch: int, epoch_heartbeat_max_age_s: float, heartbeat_age_s: float) -> None: """Gate execution on the epoch-dominance invariant. observed_epoch must dominate grant_epoch, OR the receiver must hold a fresh signed heartbeat from the root proving it is not partitioned. A stale heartbeat does not license the tolerance relaxation. """ delta = warrant.grant_epoch - observed_epoch if delta <= 0: return # safe: receiver at or ahead of grant point # Inversion detected. Tolerance is only sound with a fresh root heartbeat. heartbeat_fresh = heartbeat_age_s <= epoch_heartbeat_max_age_s if heartbeat_fresh and delta <= 1: # Heartbeat bounds the gap to a single in-flight revocation we can # reconcile before next use; still log, but permit. return raise StaleEpochError( grant_epoch=warrant.grant_epoch, observed_epoch=observed_epoch, warrant_id=warrant.warrant_id, ) def attenuate(parent_warrant, narrowed_scope, attenuator_observed_epoch: int): """Attenuation must not launder a stale epoch into a fresh-looking warrant.""" if attenuator_observed_epoch < parent_warrant.grant_epoch: raise StaleEpochError( grant_epoch=parent_warrant.grant_epoch, observed_epoch=attenuator_observed_epoch, warrant_id=parent_warrant.warrant_id, ) return parent_warrant.derive( scope=narrowed_scope, grant_epoch=max(parent_warrant.grant_epoch, attenuator_observed_epoch), ) ```