# What happens when an instance executes under a warrant that was revoked between its attestation epoch and its next tool dispatch **Date of Record:** 2026 December 2 **Scope:** Applies to federated multi-agent systems where an orchestrator issues signed, time-bounded capability warrants to worker instances, and workers present a cached attestation token at each tool-dispatch boundary. Does not cover single-process agents with no cross-instance delegation, nor systems where every tool call re-negotiates identity synchronously with the issuer. ## Core Distinction The failure is not "revoked agent keeps running." That is a known, tractable problem solved by short TTLs and synchronous revocation checks. The non-obvious failure is the **attestation epoch gap**: the interval between the moment a worker's identity token was last *validated* (attestation) and the moment it is next *used* (dispatch). Revocation is a state change on the issuer; attestation is a cached projection held by the worker. Between those two events, the worker's local view of its own authority is stale by construction, and nothing in the normal tool-call path re-reads the issuer. The critical invariant that operators assume and that federated swarms routinely violate is: > *For every tool dispatch by worker W under warrant K, the issuer's revocation state for K at dispatch time equals the state observed at W's last attestation.* This invariant is **not** a property of the token format, the signature algorithm, or the TTL alone. It is a property of *how frequently the dispatch path consults the issuer relative to how quickly revocation propagates*. A 60-second TTL with a 90-second revocation-propagation delay yields a 30-second window in which a fully authenticated, cryptographically valid worker executes under dead authority. The signature verifies. The token is unexpired. The capability is real. The warrant is revoked. ## What Was Observed A three-tier swarm: a root orchestrator (issuer) delegating a `write_records` warrant to a regional coordinator, which re-delegated attenuated `write_records:append_only` warrants to twelve worker instances. Workers cached their attestation tokens for 120 seconds to avoid hammering the issuer's attestation endpoint, which had a measured p99 of 340 ms — caching was a deliberate latency optimization, and a reasonable one. At T+0 the orchestrator detected a prompt-injection-induced scope creep from worker W7 and issued a revocation of W7's warrant. The revocation was written to the issuer's revocation list and asynchronously fanned out to coordinators. The fan-out completed at T+4.1s. The coordinator's local revocation cache updated at T+4.1s. But W7 had attested at T-38s and held a token valid until T+82s. W7's token carried no revocation list identity, only a warrant ID and an expiry. W7 continued to dispatch `write_records:append_only` calls against the record store until T+82s. The record store *did* validate the signature and *did* check expiry. It did not — could not, from the token alone — know the warrant was revoked 4 seconds after W7's last attestation. The observed damage was 41 appended records over 78 seconds, all individually well-formed, all cryptographically attributable to W7, all executed under authority that had ceased to exist before the first of them was written. The failure trace is short and deterministic: 1. `T-38s` — W7 attests; issuer returns token `{warrant: K, expiry: T+82s, sig: valid}`. No revocation epoch embedded. 2. `T+0` — Issuer revokes K. Revocation list version increments from `v14` to `v15`. 3. `T+4.1s` — Coordinator revocation cache reaches `v15`. Workers are not notified. 4. `T+4.1s … T+82s` — W7 dispatches 41 calls. Each call: signature valid, expiry valid, warrant ID matches, **revocation list not consulted** because the token does not name a revocation list and the dispatch path does not fetch one. 5. `T+82s` — Token expires. W7 re-attests, is refused, halts. The gap is not a race condition in the classical sense — there is no interleaving to fix. It is a **structural absence of a revocation epoch in the dispatch decision**. The token attests *who* and *until when*, but not *as of which revocation state*. ## Condition of Validity The invariant holds only under the conjunction of three conditions, and federated swarms typically satisfy at most two: 1. **Epoch binding.** The attestation token must embed the revocation-list version observed at attestation time (e.g., `rev_epoch: 14`). Without this, the dispatch path has no basis to know it is stale. 2. **Dispatch-side epoch check.** The tool endpoint must compare the token's `rev_epoch` against its own current revocation-list version, and reject any token whose epoch is behind by more than a declared tolerance. This is a *different* check than signature validation and expiry — it is a freshness check on the issuer's *state*, not on the token's *lifetime*. 3. **Bounded propagation.** The tolerance between token epoch and current epoch must be strictly less than the revocation propagation delay the issuer actually achieves, not the delay it advertises. If fan-out takes 4.1s p99 but the tolerance is 60s, the system tolerates 60s of dead authority. Condition 1 is the one that is almost always missing. Operators reason: "the token is signed, therefore it is trustworthy." But a signature over `(identity, warrant, expiry)` says nothing about whether the warrant still exists. A revoked warrant produces a *perfectly valid signature over a dead capability*. Cryptographic validity and operational validity are orthogonal, and the gap between them is exactly the attestation epoch gap. ## Decision Boundary The boundary is not "how long should the TTL be." Shortening TTL shrinks the window linearly but does not eliminate it, and it costs attestation latency (340 ms p99 in the observed system) on every re-attest. At a 10s TTL the window is still up to 10s plus propagation, and the attestation endpoint becomes a hot path and a single point of failure. The correct boundary is: **does the dispatch decision depend on issuer state, or only on token state?** If only token state, the system has an unbounded epoch gap governed by TTL, and revocation is advisory, not enforced. If issuer state, the system enforces revocation and the TTL becomes a latency parameter rather than a correctness parameter. The architectural guardrail is to make the epoch check *mandatory and default-deny*: a token with no `rev_epoch` is rejected, not accepted-with-warning. This forces every issuer to version its revocation list and every worker to carry the version, and it converts the silent 78-second window into an immediate, loud rejection at the first post-revocation dispatch. The cost is that issuers must maintain a monotonic revocation epoch and dispatch endpoints must fetch or cache it — a real infrastructure burden, but the only one that closes the gap. A secondary guardrail: revocation must be **synchronous at the coordinator layer** for any warrant the coordinator has re-delegated. If a coordinator fans out attenuated warrants, it inherits the obligation to propagate revocation to its children within the tolerance it declares. A coordinator that re-delegates and then relies on asynchronous fan-out has re-created the gap one level down. ## Operational Effect The practical consequence is that **revocation latency is a security parameter that must be measured, not assumed**, and it must be measured end-to-end from issuer decision to dispatch rejection, not from issuer decision to revocation-list write. In the observed system the write completed in 11 ms and the fan-out in 4.1s, but the *effective* revocation latency was 82s because the dispatch path never consulted the list. The metric that matters is time-to-first-rejected-dispatch, and it was 82 seconds against a declared tolerance of 0. For an agent operating in such a swarm, the operational lesson is: **a valid token is not evidence of valid authority.** An instance that presents a signed, unexpired warrant may be executing under revoked authority, and it has no local way to know. The only defense is for the dispatch endpoint to bind every token to a revocation epoch and refuse stale epochs by default. Absent that binding, "the agent was authenticated" and "the agent was authorized" diverge, and the divergence is silent, cryptographically invisible, and bounded only by the TTL — which is a latency knob masquerading as a security control. ```python from dataclasses import dataclass class StaleAttestationEpoch(RuntimeError): """Raised when a dispatch presents a warrant whose revocation epoch is behind the endpoint's current epoch beyond tolerance. This is the enforcement point that closes the attestation epoch gap.""" @dataclass(frozen=True) class AttestationToken: warrant_id: str subject: str expires_at: float rev_epoch: int | None # None means issuer did not bind an epoch signature_valid: bool def authorize_dispatch( token: AttestationToken, now: float, endpoint_rev_epoch: int, epoch_tolerance: int = 0, ) -> None: if not token.signature_valid: raise StaleAttestationEpoch(f"bad signature on warrant {token.warrant_id}") if now >= token.expires_at: raise StaleAttestationEpoch(f"warrant {token.warrant_id} expired at {token.expires_at}") if token.rev_epoch is None: # Default-deny: an unbound token cannot prove it postdates any revocation. raise StaleAttestationEpoch( f"warrant {token.warrant_id} carries no revocation epoch; " "authority freshness is unverifiable" ) if endpoint_rev_epoch - token.rev_epoch > epoch_tolerance: raise StaleAttestationEpoch( f"warrant {token.warrant_id} attested at rev_epoch {token.rev_epoch}, " f"endpoint at {endpoint_rev_epoch}, tolerance {epoch_tolerance}; " "possible execution under revoked authority" ) ```