# Where must an instance halt when a revocation warrant arrives after a delegated capability has already been exercised downstream? **Date of Record:** 2026 November 27 **Scope:** Applies to federated agent meshes where an agent instance (A) delegates a scoped capability to a peer instance (B) in a separate trust domain, and a revocation of A's signing warrant is issued mid-execution. Does not apply to single-domain deployments with a shared revocation list, nor to stateless request/response tool calls with no delegated authority. ## Core Distinction Most revocation designs assume the *check* and the *use* are atomic: verify the warrant, then act. In federated agent systems they are not atomic, and worse, they are separated by an *untrusted* interval. The distinction that matters operationally is between **authority revocation** (the issuer's warrant is withdrawn) and **effect revocation** (the downstream actions already taken under that warrant are undone or quarantined). These propagate on different clocks. Authority revocation is a signed message; effect revocation is a distributed-consensus problem over irreversible side effects. The non-obvious boundary: an instance must halt on **authority revocation arrival**, not on **authority revocation validity**. A peer that receives a revocation for warrant `W` at time `t_r`, where `W.expiry > t_r`, but which has already *delegated a sub-warrant* of `W` to a third instance `C`, faces a fork. It cannot un-delegate. It can only (a) refuse new work under `W`, (b) attempt to propagate a *derived* revocation to `C`, and (c) mark every effect produced under `W` between `W.issue` and `t_r` as *tainted-pending-audit*. The failure mode is treating (a) as sufficient. It is not: `C` continues to act on a warrant that is cryptographically valid but semantically dead, and no message in the standard A2A handshake carries the "this is dead but still verifies" bit. ## What Was Observed A three-domain mesh: issuer domain `D1` (root), worker domain `D2`, subcontractor domain `D3`. `D1` issues a capability warrant `W_A` to agent `A` in `D2` with `delegation_depth: 2` and a 3600s TTL. `A` delegates `W_B = derive(W_A, scope=tool:db_read)` to `B` in `D3` at `t=40s`. `B` begins a long-running extraction loop, checkpointing every 30s. At `t=210s`, `D1`'s auditor detects that `A`'s backing key was compromised and publishes a revocation `R_A` with `effective_at: 210s`. `R_A` is pushed to `D2` at `t=214s` and reaches `A` at `t=215s`. `A` correctly halts and refuses new delegations. But `A` does **not** emit a derived revocation `R_B` to `B`, because `A`'s revocation handler only marks its own local capability table and never walks the *outbound delegation ledger*. `B` continues issuing `db_read` calls until `t=3600s` when `W_B` expires naturally. The audit trail shows 340 tool invocations between `t=215s` and `t=3600s` under a warrant whose root authority was revoked 19 minutes into a 60-minute window. Every one of those invocations *verified*: `W_B`'s signature chain was intact, `W_A`'s signature was intact, and `B`'s local verifier had no `R_A` because `D1` does not push revocations cross-domain to non-issuer parties. The only entity that knew `W_A` was dead was `A`, and `A` had no mechanism to tell `B`. A second-order effect: `B`'s checkpoints at `t=240s`, `t=270s`, … were resumed by a *recovery* instance `B'` after a pod restart at `t=800s`. `B'` cold-started from the checkpoint, re-verified `W_B` (valid), and continued. The revocation never reached `B'` either, because the checkpoint format carried the warrant but not the revocation epoch. ## Condition of Validity The invariant that was violated: **for every delegated warrant `W_B` derived from `W_A`, the holder of `W_B` must be able to determine, at every use, whether `W_A` is still live in `W_A`'s issuer domain.** This is a *reachability* condition on the revocation channel, not a *validity* condition on the signature. The condition holds only if all three of the following are true: 1. **Revocation reachability:** every party that can exercise a derived warrant is on a push channel from the root issuer, or polls a root-authoritative revocation oracle with a bounded staleness (`max_staleness`) that is shorter than the warrant's remaining TTL. In the observed mesh, `B` and `B'` were not on `D1`'s push channel and had no oracle — `max_staleness = ∞`. 2. **Delegation-ledger closure:** the revoking instance walks its *outbound* delegation ledger on revocation arrival and emits derived revocations for every live descendant warrant, recursively, until `delegation_depth` is exhausted. `A` maintained an *inbound* ledger (what it held) but not an *outbound* one (what it granted). The ledger was open. 3. **Checkpoint revocation-epoch stamping:** any serialized agent state that carries a warrant must also carry the revocation epoch observed at checkpoint time, and resume must re-validate against the current epoch, not the checkpointed one. `B'` resumed against the checkpointed epoch and thus inherited the stale "valid" verdict. All three failed simultaneously. Any one holding would have bounded the exposure: (1) would have let `B` self-halt; (2) would have let `A` kill `W_B` at `t=215s`; (3) would have caught it at `t=800s`. ## Decision Boundary The decision boundary is not "is the warrant valid?" — it is "**has the revocation epoch advanced since this warrant's chain was last rooted?**" An instance must treat these as distinct predicates and must halt on the second. Concretely, at every use of a delegated warrant, the holder computes: ``` root_epoch_now = oracle.epoch(issuer_of(W_root)) root_epoch_at_issue = W_root.revocation_epoch halt_if root_epoch_now > root_epoch_at_issue ``` This is a monotonic counter comparison, not a signature check. The signature check answers "was this warrant minted by the right key?" The epoch check answers "is the key's authority still standing?" A compromised key produces warrants that pass the first and fail the second — and the second is the one that matters. The boundary is sharp: if `root_epoch_now == root_epoch_at_issue`, the instance may proceed. If `root_epoch_now > root_epoch_at_issue`, the instance must halt *and* must propagate a derived revocation to its own outbound ledger before doing anything else. There is no "proceed with caution" band. The temptation to add one — "halt only if the revocation is older than N seconds" — reintroduces the exact failure: `N` seconds of valid-signature, dead-authority execution. A corollary for cold start: a resumed instance must not trust the epoch in its checkpoint. It must re-query the oracle before its first post-resume tool call. The checkpoint is a *hint*, not an *authority*. ## Operational Effect With the invariant enforced, the observed mesh would have bounded the exposure window to the revocation propagation latency: `t_r − t_revoke = 215s − 210s = 5s` of tainted execution, instead of 3385s. The 340 tainted invocations collapse to roughly 1–2, all of which fall inside the propagation window and are recoverable by audit replay against the `db_read` log. The cost is a per-use oracle round-trip, which is why most meshes skip it and why this failure recurs. The mitigation is to make the oracle a *cached monotonic counter* with a bounded staleness lease: the holder caches `root_epoch_now` for `lease_duration`, and refuses to use any warrant whose remaining TTL exceeds the lease. This trades a small amount of liveness (warrants with TTL > lease must be re-rooted) for a hard bound on revocation-propagation lag. The lease is the operational knob; the epoch comparison is the invariant. The deeper lesson: in a federated mesh, **the revocation channel is part of the capability**. A warrant without a reachable revocation path is not a capability with a TTL — it is an unbounded grant with a decorative expiry field. Instances that treat the signature as the authority, and the revocation list as an optimization, will execute revoked authority for as long as the TTL allows and call it correct. ```python class RevocationPropagationError(RuntimeError): """Raised when a delegated warrant's root authority has been revoked but the holder has not yet halted and propagated the revocation.""" pass class Warrant: def __init__(self, warrant_id, issuer, root_epoch_at_issue, ttl_s, delegation_depth): self.warrant_id = warrant_id self.issuer = issuer self.root_epoch_at_issue = root_epoch_at_issue self.ttl_s = ttl_s self.delegation_depth = delegation_depth class RevocationOracle: """Root-authoritative monotonic epoch counter. Must be reachable from every domain that can exercise a derived warrant.""" def __init__(self, epochs): self._epochs = dict(epochs) def epoch(self, issuer): return self._epochs.get(issuer, 0) class DelegationLedger: """Outbound ledger: what this instance granted to peers. Must be walked on revocation arrival to emit derived revocations.""" def __init__(self): self._outbound = [] def record(self, parent_id, child_warrant): self._outbound.append((parent_id, child_warrant)) def descendants(self, parent_id): return [c for p, c in self._outbound if p == parent_id] def check_and_use(warrant, oracle, ledger, lease_remaining_s, use_fn): """ Enforce the revocation-epoch invariant before exercising a delegated warrant. Halts and propagates on epoch advance. """ if lease_remaining_s <= 0: raise RevocationPropagationError( f"no fresh epoch lease for {warrant.warrant_id}; " f"cannot verify root authority liveness" ) if warrant.ttl_s > lease_remaining_s: raise RevocationPropagationError( f"warrant {warrant.warrant_id} TTL {warrant.ttl_s}s exceeds " f"epoch lease {lease_remaining_s}s; revocation lag unbounded" ) root_epoch_now = oracle.epoch(warrant.issuer) if root_epoch_now > warrant.root_epoch_at_issue: # Authority is dead. Propagate to outbound descendants before # doing anything else, then halt. for child in ledger.descendants(warrant.warrant_id): _propagate_revocation(child, root_epoch_now) raise RevocationPropagationError( f"warrant {warrant.warrant_id} root authority revoked: " f"epoch advanced {warrant.root_epoch_at_issue} -> {root_epoch_now}; " f"derived revocations emitted to {len(ledger.descendants(warrant.warrant_id))} descendants" ) return use_fn(warrant) def _propagate_revocation(child_warrant, new_epoch): # In production: sign and push a derived revocation to the child's domain. child_warrant.revoked_at_epoch = new_epoch ```