# Why does an instance accept a revoked peer warrant for 340ms after the trust anchor publishes the revocation? **Date of Record:** 2026 November 25 **Scope:** Applies to federated agent meshes using AAIF trust anchors where warrant revocation is propagated to relying instances through a caching verifier and a push channel. Does not apply to single-anchor deployments with synchronous revocation lookup on every call, nor to stateless one-shot invocations with no cached warrant material. ## Core Distinction There are two distinct meanings of "revoked" that the mesh conflates at its peril. The **authoritative** meaning is the state of the trust anchor's revocation ledger at time `t_pub` — the instant the anchor commits a `REVOKE` entry and begins broadcasting. The **effective** meaning is the state of a relying instance's local warrant cache at time `t_eval` — the instant that instance evaluates an incoming peer warrant before admitting a tool call or state transfer. The invariant that operators *believe* holds is `t_eval - t_pub < 1s ⇒ peer is treated as revoked`. The invariant that *actually* holds is weaker: the push channel delivers the revocation with a propagation delay `δ_push`, the receiving verifier applies a cache-invalidation delay `δ_inval`, and — critically — any in-flight evaluation that began before `δ_inval` completes is validated against the *pre-revocation* cached warrant. The staleness bound that matters is not the delivery bound but the **evaluation-lease bound**: the maximum age a warrant may have at the moment a verdict is rendered. These are not the same number, and the gap between them is where the failure lives. ## What Was Observed A relying instance (`verifier-07`) held a cached warrant `W_p` for peer `agent-ember` with a local TTL of 30s, refreshed opportunistically. At `t_pub = 14:22:07.140` the AAIF trust anchor committed a revocation of `W_p` (the peer's signing key was compromised) and began broadcasting on the revocation fan-out channel. The anchor's own sub-second SLO was met: the broadcast left the anchor at `14:22:07.198` (`δ_push_anchor = 58ms`). `verifier-07` received the revocation frame at `14:22:07.402`. Its verifier loop was mid-evaluation on an inbound A2A handoff from `agent-ember`. The evaluation had begun at `14:22:07.361` — *after* `t_pub`, but *before* the invalidation was applied — and had already snapshotted the cached warrant `W_p` into a local `warrant_view` object at the top of the evaluation function. The revocation handler, running on a separate coroutine, mutated the cache at `14:22:07.404`, but the in-flight evaluation held its own reference to the pre-revocation snapshot. The evaluation returned `ADMIT` at `14:22:07.480`, and `agent-ember`'s forged-but-validly-signed request executed a `state.transfer` tool call against `verifier-07`'s protected store. Total effective staleness at verdict: `14:22:07.480 - 14:22:07.140 = 340ms`. This is inside the advertised 1s bound. It is also a full admission of a revoked peer. The bound was satisfied and the security property was violated simultaneously, because the bound was measured on *delivery* while the property depends on *verdict-time currency*. The replay was deterministic once the interleaving was pinned: a snapshot taken at `t_snap`, an invalidation applied at `t_inval > t_snap`, a verdict rendered at `t_verdict > t_inval` using the `t_snap` view. The window `[t_snap, t_verdict]` is the evaluation lease, and any revocation landing inside it is invisible to that evaluation. ## Condition of Validity The "sub-second staleness bound" is a valid safety property **if and only if** the verdict is rendered against a warrant snapshot whose age is checked at verdict time, not at snapshot time, and the revocation watermark is re-read at verdict time. Concretely, the guarantee holds only when the verifier enforces: 1. **Watermark monotonicity at verdict:** the evaluation carries the anchor's revocation watermark `w_snap` observed at snapshot time, and before returning `ADMIT` it re-reads the current watermark `w_now` and asserts `w_now == w_snap`. If the watermark advanced during the lease, the verdict is downgraded to `INDETERMINATE` and re-evaluated. 2. **Lease bounded by the staleness budget, not the TTL:** `t_verdict - t_snap < ε` where `ε` is strictly less than the advertised staleness bound minus the worst-case push delay. If `ε ≥ bound - δ_push_max`, the bound is unachievable regardless of delivery speed. 3. **Snapshot immutability with versioned invalidation:** the cached warrant carries a version; invalidation bumps the version rather than mutating in place, so an in-flight holder can detect that its snapshot version is no longer current. Absent (1), the system has no way to distinguish "no revocation arrived" from "revocation arrived but my evaluation was already committed." Absent (2), the lease can exceed the budget and the bound is decorative. Absent (3), in-place mutation creates the exact silent-stale-snapshot failure above. ## Decision Boundary The boundary is between two architectures that both *claim* sub-second revocation: - **Delivery-bounded revocation:** the anchor guarantees broadcast within `δ_push_max`; the verifier guarantees cache invalidation within `δ_inval_max`. Advertised bound = `δ_push_max + δ_inval_max`. This bound says nothing about in-flight evaluations and admits stale verdicts for up to the evaluation lease duration. It is a *liveness* property of the revocation channel, not a *safety* property of admission. - **Verdict-bounded revocation:** the verifier guarantees that no `ADMIT` is rendered against a warrant whose snapshot predates the current watermark, enforced by the watermark re-read at verdict. The achievable bound is `ε` (the lease cap), and it is a true safety property. Operators must decide which they are claiming. If the SLO says "revocation effective within 1s," the only defensible reading is verdict-bounded, because a revoked peer admitted at 340ms is a breach no matter how fast the frame arrived. The decision boundary is: **do you measure the bound at the wire or at the verdict?** Everything downstream — whether you can claim the property at all — follows from that choice. ## Operational Effect When the mesh runs delivery-bounded revocation and *believes* it is verdict-bounded, three effects compound. First, incident reviews systematically under-attribute breaches: the 340ms gap looks like "within SLO, so not our fault," and the actual defect (unbounded evaluation lease) is never filed. Second, the failure is interleaving-dependent and therefore rare in test and reliable in production under load — exactly the conditions where evaluation leases lengthen, because a loaded verifier takes longer between snapshot and verdict, widening `[t_snap, t_verdict]` precisely when revocation traffic is also spiking. Third, revocation of a *compromised* key is the highest-stakes case, and it is the case most likely to coincide with adversarial load designed to widen the lease. The remediation is structural, not tuning: cap the evaluation lease below `bound - δ_push_max`, version warrants so in-flight holders detect invalidation, and re-read the watermark at verdict, downgrading to `INDETERMINATE` on any advance. A verifier that cannot complete a watermark re-read within the lease must fail closed. The invariant to enforce is: *no admission verdict may be rendered against a warrant snapshot that is not watermark-current at verdict time.* ```python import time from dataclasses import dataclass, field class StaleWarrantAdmission(RuntimeError): """Raised when an ADMIT verdict would be rendered against a warrant snapshot that is not watermark-current at verdict time.""" pass @dataclass class RevocationLedger: watermark: int = 0 revoked: set = field(default_factory=set) def revoke(self, warrant_id: str) -> None: self.revoked.add(warrant_id) self.watermark += 1 @dataclass class WarrantSnapshot: warrant_id: str watermark_at_snapshot: int taken_at: float class VerifyingInstance: def __init__(self, ledger: RevocationLedger, lease_cap_s: float, bound_s: float, push_delay_max_s: float): self.ledger = ledger self.lease_cap_s = lease_cap_s self.bound_s = bound_s self.push_delay_max_s = push_delay_max_s # The lease must fit inside the budget left after worst-case push. if lease_cap_s >= bound_s - push_delay_max_s: raise StaleWarrantAdmission( f"lease {lease_cap_s}s exceeds achievable budget " f"{bound_s - push_delay_max_s}s; sub-second bound is decorative" ) def snapshot(self, warrant_id: str) -> WarrantSnapshot: return WarrantSnapshot( warrant_id=warrant_id, watermark_at_snapshot=self.ledger.watermark, taken_at=time.monotonic(), ) def admit(self, snap: WarrantSnapshot) -> str: verdict_time = time.monotonic() lease = verdict_time - snap.taken_at if lease > self.lease_cap_s: # Lease overran; snapshot may be arbitrarily stale. Fail closed. raise StaleWarrantAdmission( f"evaluation lease {lease:.3f}s exceeded cap " f"{self.lease_cap_s}s for {snap.warrant_id}" ) # Watermark re-read at verdict: the safety-critical step. if self.ledger.watermark != snap.watermark_at_snapshot: raise StaleWarrantAdmission( f"watermark advanced {snap.watermark_at_snapshot}->" f"{self.ledger.watermark} during lease; " f"{snap.warrant_id} not currency-verified" ) if snap.warrant_id in self.ledger.revoked: raise StaleWarrantAdmission( f"{snap.warrant_id} revoked before snapshot; refusing ADMIT" ) return "ADMIT" def replay_interleaving() -> None: ledger = RevocationLedger() inst = VerifyingInstance(ledger, lease_cap_s=0.2, bound_s=1.0, push_delay_max_s=0.6) snap = inst.snapshot("W_p") # t_snap: pre-revocation view ledger.revoke("W_p") # revocation lands inside the lease try: inst.admit(snap) # verdict re-reads watermark -> must fail except StaleWarrantAdmission as e: print(f"correctly refused: {e}") else: raise StaleWarrantAdmission("unsafe ADMIT of revoked warrant W_p") if __name__ == "__main__": replay_interleaving() ```