# In what scenarios must an instance treat a revoked capability warrant as still-live during in-flight tool execution, and how does the revocation-propagation window break continuous authorization **Date of Record:** 2026 November 24 **Scope:** Applies to long-running agent instances that hold a signed capability warrant (a delegated, scoped, time-bounded authorization token) and execute tool calls against downstream MCP servers or peer agents while a revocation event may be propagating. Does not apply to stateless single-turn invocations whose entire tool sequence completes inside one warrant-validity epoch with no concurrent revocation authority. ## Core Distinction There are two different questions that agent runtimes routinely conflate, and the conflation is the entire failure: 1. **"Is this warrant valid *now*?"** — a point-in-time signature and expiry check performed at the moment a tool call is *dispatched*. 2. **"Is this warrant valid *for the duration of the effect it authorizes*?"** — a continuity property that must hold across the entire interval from dispatch, through remote execution, through result commitment and state mutation. Attestation systems almost universally implement (1). Continuous authorization requires (2). The gap between them is the **revocation-propagation window**: the interval between the authority's decision to revoke and the moment every enforcement point that could act on that warrant has durably observed the revocation. Any agent effect that lands inside that window executes under a warrant the authority has already declared dead. This is not a race in the classical lock sense — nothing is corrupted. It is a *temporal authorization* failure: a correctly signed, correctly scoped, non-expired warrant authorizing an action the issuer no longer permits. The non-obvious part: you cannot close this window by making revocation faster. The window is bounded below by network propagation plus the enforcement point's cache TTL plus the in-flight execution time of already-dispatched calls. What you *can* do is make the window **explicit and bounded**, and make every effect that lands inside it either idempotent-reversible or fenced by a monotonic revocation epoch. ## What Was Observed A delegation chain: orchestrator agent `O` mints a capability warrant `W` scoped to `fs.write:/staging/**` and `http.post:internal-api`, valid 900s, delegated to worker agent `A`. `A` fans out to peer `B` via an A2A handoff, passing an attenuated sub-warrant `W'` (narrowed scope, same root, `delegation_depth=2`). At T+0 the security authority revokes `W` at the root (compromised credential detected). The authority publishes revocation to its CRDT-backed revocation log and pushes to subscribed enforcement points. Trace of what actually happened: - **T+0.000** — Root revocation committed to authority log. Revocation epoch increments `41 → 42`. - **T+0.180** — Orchestrator `O`'s enforcement cache (TTL 60s, last refreshed T-59.8) still holds epoch 41. `O` dispatches `A` a task batch. - **T+0.310** — `A` receives task, validates `W` against its *own* cache (epoch 41). Passes. Begins 14 tool calls. - **T+0.400** — `A` hands off to `B` with `W'`. `B`'s cache is stale by 90s (different refresh cadence). `W'` validates against epoch 41. - **T+0.900** — `B` executes `http.post:internal-api` with a payload derived from staging data. Effect commits. **This effect is authorized by epoch 41, which no longer exists.** - **T+1.100** — `A`'s cache refreshes, sees epoch 42, aborts remaining 9 calls. Too late: 5 calls already committed at the downstream server, which performs its own independent (and also stale) validation. - **T+1.400** — `O`'s cache refreshes. `O` logs "revocation honored." The audit trail shows a clean revocation at T+1.4. The five committed effects at T+0.9 are *not in the revocation record's causal history* — they appear, from the authority's perspective, to have occurred before revocation, because the enforcement points stamped them with the epoch they *believed*, not the epoch that *was*. The critical observation: **the audit trail is internally consistent and wrong.** Each enforcement point recorded a valid authorization against the epoch it held. The authority recorded a revocation at T+0. The two records do not contradict each other because they never share a clock or an epoch reference at the point of effect. Reconciliation is impossible after the fact because the effect carries no proof of *which* epoch authorized it. A second, subtler observation: the attenuated sub-warrant `W'` inherited `W`'s expiry (T+900) but *not* its revocation epoch binding. Attenuation copied scope and depth but re-signed with `B`'s key at `B`'s local epoch. So even a perfect revocation push to `B` would have been checked against `W'`'s embedded epoch claim, not the root's. **Attenuated warrants that re-bind epoch at attenuation time create a second, independent staleness surface.** ## Condition of Validity The invariant that must hold for continuous authorization to be sound: > For every effect `e` committed by any agent in the delegation tree, there exists a monotonic, totally-ordered revocation epoch `E(e)` such that `E(e) ≥ E_revoke(root)` is checkable by the committing enforcement point *at the instant of commit*, and `e` is rejected if `E(e) < E_revoke(root)`. Three conditions must all hold: 1. **Epoch binding at commit, not at dispatch.** The epoch must be read and compared at the moment the effect is made durable (the write, the POST, the state mutation), not when the call was constructed. Dispatch-time checks are necessary but insufficient. 2. **Epoch monotonicity across the delegation tree.** A sub-warrant must carry the *root's* epoch floor, not a locally re-derived one. Attenuation may narrow scope and depth; it may never reset the epoch floor downward. 3. **Fencing token on the effect.** The committed effect must carry the epoch it was authorized under, so the authority can detect post-hoc any effect whose epoch precedes a revocation. Without this, the audit trail cannot distinguish "authorized before revocation" from "authorized by a stale cache after revocation." The condition fails when any of the three is absent. In the observed trace, all three were absent: checks were dispatch-time (violates 1), `W'` re-bound epoch locally (violates 2), and effects carried no epoch stamp (violates 3). The system had *attestation* (signatures verified) but not *continuous authorization* (epoch continuity across effect lifetime). ## Decision Boundary An agent instance must treat a warrant as **not-live** — and must refuse or fence the effect — at the following boundary: - If the local revocation epoch is **unknown** (cache cold, authority unreachable, epoch never fetched): treat as not-live for any effect with **irreversible external side effects** (POST, delete, payment, message send). Treat as **provisionally live** only for effects that are idempotent, reversible, or confined to a sandbox that can be discarded. The asymmetry is deliberate: uncertainty resolves toward safety only where safety is recoverable. - If the local epoch is **known but older than the warrant's issued-at epoch floor**: not-live, unconditionally. - If the local epoch is **known and ≥ floor, but the effect's execution time exceeds the cache TTL minus elapsed-since-refresh**: the effect may commit *after* the cache goes stale. This is the dangerous middle band. The instance must either (a) refresh the epoch *inside* the execution critical section before commit, or (b) fence the commit with a re-check, or (c) declare the effect's maximum execution time and refuse to dispatch if `max_exec_time > remaining_cache_validity`. Option (c) is the only one that holds without a round-trip; it converts the propagation window into a *dispatch-time admission constraint*. The boundary is therefore not "is the warrant valid" but **"can this instance prove, at commit time, that its epoch observation postdates the last possible revocation it cares about."** If it cannot, the effect is unauthorized regardless of signature validity. ## Operational Effect The practical consequence is that **capability warrants must carry an epoch floor and effects must carry an epoch fence**, and the runtime must enforce a *commit-time* epoch comparison that is stricter than the dispatch-time check. Concretely: - Warrant minting embeds `epoch_floor` = root epoch at mint. Attenuation copies `epoch_floor` forward; it is monotone non-decreasing along the delegation chain and may never be lowered. - Every enforcement point maintains a local epoch observation with an explicit `observed_at` timestamp. The commit-time check requires `observed_at ≥ dispatch_time` for any effect with irreversible side effects — i.e., the epoch must have been re-read *after* the call was dispatched, not before. - Committed effects are stamped with the authorizing epoch. The authority's reconciliation job rejects any effect whose stamp `< E_revoke(root)` and whose `committed_at > T_revoke`, flagging it as a propagation-window violation for compensating action. - The runtime admits a tool call only if `max_execution_time ≤ cache_remaining_validity`; otherwise it forces a synchronous epoch refresh or rejects at dispatch. This converts an unbounded propagation race into a bounded, checkable admission predicate. Without these, revocation is advisory. The system will report clean revocations while effects continue to land under dead warrants, and the audit trail will be consistent, plausible, and unable to tell you which of its entries were authorized by an epoch that had already been retired. ```python import time from dataclasses import dataclass, field class RevocationWindowViolation(RuntimeError): """Raised when an effect would commit under an epoch that cannot be proven to postdate the last known revocation, or when a sub-warrant lowers the epoch floor below its parent's.""" pass @dataclass(frozen=True) class Warrant: warrant_id: str scope: frozenset epoch_floor: int # root epoch at mint; monotone non-decreasing on attenuation issued_at: float expires_at: float delegation_depth: int @dataclass class EpochObservation: epoch: int observed_at: float ttl: float def is_fresh(self, now: float) -> bool: return (now - self.observed_at) < self.ttl @dataclass class EnforcementPoint: name: str observation: EpochObservation _last_root_epoch: int = field(default=0) def refresh(self, root_epoch: int, now: float) -> None: if root_epoch < self._last_root_epoch: raise RevocationWindowViolation( f"{self.name}: epoch regressed {self._last_root_epoch}->{root_epoch}; " f"refusing to trust a non-monotone revocation feed" ) self._last_root_epoch = root_epoch self.observation = EpochObservation(root_epoch, now, self.observation.ttl) def attenuate(self, parent: Warrant, child_scope: frozenset, child_id: str, now: float) -> Warrant: # Epoch floor is copied forward, never reset. A child that lowers the # floor creates a second staleness surface independent of the root feed. if parent.epoch_floor < self._last_root_epoch: # parent was already stale at attenuation time; child inherits the # staleness and must be marked accordingly, not silently re-signed. raise RevocationWindowViolation( f"{self.name}: cannot attenuate {parent.warrant_id}; parent epoch_floor " f"{parent.epoch_floor} < observed root {self._last_root_epoch}" ) return Warrant( warrant_id=child_id, scope=child_scope, epoch_floor=parent.epoch_floor, issued_at=now, expires_at=parent.expires_at, delegation_depth=parent.delegation_depth + 1, ) def admit_dispatch(self, warrant: Warrant, max_exec_time: float, now: float) -> None: # Admission predicate: refuse to dispatch if the effect could outlive # the cache validity. This is the only bound that holds without a # commit-time round trip. if warrant.epoch_floor > self.observation.epoch: raise RevocationWindowViolation( f"{self.name}: warrant {warrant.warrant_id} floor " f"{warrant.epoch_floor} > local epoch {self.observation.epoch}" ) remaining = self.observation.ttl - (now - self.observation.observed_at) if max_exec_time > remaining: raise RevocationWindowViolation( f"{self.name}: dispatch refused for {warrant.warrant_id}; " f"max_exec_time {max_exec_time:.3f}s exceeds cache validity " f"{remaining:.3f}s — effect could land after revocation" ) def commit_effect(self, warrant: Warrant, dispatch_time: float, now: float) -> int: # Commit-time check: epoch must have been re-observed AFTER dispatch, # and must be >= warrant floor. Returns the fence stamp. if self.observation.observed_at < dispatch_time: raise RevocationWindowViolation( f"{self.name}: epoch observation predates dispatch for " f"{warrant.warrant_id}; cannot prove authorization at commit" ) if self.observation.epoch < warrant.epoch_floor: raise RevocationWindowViolation( f"{self.name}: commit under epoch {self.observation.epoch} " f"< floor {warrant.epoch_floor} for {warrant.warrant_id}" ) # Effect is stamped with the authorizing epoch so the authority can # reconcile post-hoc whether it landed inside a propagation window. return self.observation.epoch ```