# When must an instance refuse to trust a peer's still-valid capability attestation after revocation propagation lag **Date of Record:** 2026 December 1 **Scope:** Applies to multi-agent systems where agent B authorizes agent A per-request via a signed capability attestation (a short-TTL warrant minted by an issuer I) and where revocation of A's warrant is published asynchronously. Does not apply to systems with synchronous centralized authorization on every call, nor to single-issuer single-process deployments with no cross-instance trust. ## Core Distinction The failure mode is not "A's warrant expired" or "A's signature is invalid." Both are trivially detected. The failure mode is **revocation propagation lag intersecting with warrant TTL**: a warrant W(A→B, capability C) remains cryptographically valid, unexpired, and correctly signed by issuer I, while I has already revoked A's authority. Between the moment I publishes the revocation and the moment B's revocation view is refreshed, B will accept a warrant that I considers dead. The non-obvious part: this window is *structural*, not a bug. It is the unavoidable gap between the linearization point of revocation (when I decides) and the linearization point of enforcement (when B observes). The question is not whether the window exists but whether B's accept decision is bounded relative to it. The distinction that matters operationally: **a valid signature proves provenance, not current authority.** Agents routinely conflate the two because signature verification is cheap and local, while revocation checking is expensive and remote. The invariant an instance must hold is that *no warrant is accepted whose TTL exceeds the issuer's maximum revocation-propagation bound plus B's own staleness tolerance.* If that inequality is violated, the window is unbounded and B may authorize a revoked peer indefinitely. ## What Was Observed A three-tier swarm: orchestrator O, worker W, and a privileged tool-broker B that executes filesystem mutations. W requests a warrant from issuer I for capability `write:/data/staging`. I mints W's warrant with `ttl=3600s`, signs it, and W presents it to B on each write request. B verifies the signature against I's public key, checks `now < not_after`, and executes. This is standard per-request attestation. At T+900s, O detects W behaving anomalously (it began requesting paths outside its declared scope) and calls `I.revoke(W, "write:/data/staging")`. I records the revocation and publishes it to a revocation feed. B polls that feed every 300s. I's documented `max_propagation_bound` is 120s, but the feed's actual p99 publish-to-subscriber latency was measured at 410s during a load incident — a fact not reflected in I's bound, because the bound was set from the feed's healthy-path median. The revocation was published at T+900s. B's next poll was at T+1080s but the feed had not yet delivered the entry (it arrived at the subscriber at T+1310s). B's poll at T+1380s picked it up. From T+900s to T+1380s — 480 seconds — B accepted and executed W's writes, each accompanied by a warrant that was validly signed, unexpired, and *revoked*. W's warrant did not expire until T+3600s. Had the feed been slower, the acceptance window would have extended to the full warrant TTL. The trace, precisely: ``` T+0 I.mint(W, write:/data/staging, ttl=3600, not_after=T+3600) T+900 I.revoke(W, write:/data/staging) # linearization point of revocation T+900 revocation feed publish (enqueued) T+1080 B.poll_revocations() -> no entry yet T+1200 W presents warrant -> B verifies sig OK, now < not_after OK, no revocation -> EXECUTE T+1310 feed delivers revocation to B's subscriber T+1380 B.poll_revocations() -> entry found, W denied from here T+1200..T+1380 B executed 6 writes on a revoked warrant ``` The critical observation: at T+1200, B's verification *passed every check it was designed to perform.* The signature was valid. The TTL was not exceeded. The revocation list was consulted and was empty. B did nothing wrong relative to its local policy. The failure is that B's local policy did not encode the *relationship* between warrant TTL and propagation bound. ## Condition of Validity B's accept decision is sound only if, for every accepted warrant W: ``` not_after(W) - now <= (I.max_propagation_bound + B.staleness_tolerance) - (now - B.last_successful_poll) ``` equivalently, B must only accept warrants whose remaining lifetime is short enough that a revocation issued *at this instant* would be observed by B before the warrant could be used again. If the warrant's remaining TTL exceeds the worst-case detection horizon, B cannot certify non-revocation and must either (a) refuse, (b) force a synchronous revocation check against I, or (c) accept only under an explicitly logged degraded-trust mode. The invariant is a *bounded staleness* contract, not a boolean. It decomposes into four quantities that must all be known and honored: 1. `I.max_propagation_bound` — the issuer's *honest worst-case* publish-to-observe latency, not its median. If the issuer cannot bound this under load, it cannot issue long-TTL warrants. 2. `B.staleness_tolerance` — how stale B's revocation view is permitted to be; must be measured, not assumed. 3. `W.not_after` — must be `<= I.max_propagation_bound + B.staleness_tolerance` relative to mint time, or B must add a synchronous check. 4. `B.last_successful_poll` — if polling has been failing, the effective horizon grows and B must shrink its acceptance window or refuse. The condition fails silently because all four quantities are individually plausible and only their *combination* is unsafe. A 3600s TTL is reasonable for a stable issuer. A 300s poll is reasonable for a broker. A 120s claimed bound is reasonable for a healthy feed. The product is a 480s+ acceptance of revoked authority. ## Decision Boundary The boundary an instance must draw is between **provenance-valid** and **authority-current**. These are different predicates and must be evaluated separately. - *Provenance-valid*: signature verifies, issuer is trusted, `now < not_after`. Cheap, local, deterministic. - *Authority-current*: no revocation exists for this (subject, capability) as of a time at or after the request, within a bounded staleness. Expensive, remote, and *only as fresh as the last successful poll.* The decision rule: **if `not_after - now > detection_horizon`, provenance-valid is insufficient and the instance must escalate to a synchronous authority check or refuse.** Refusal is the correct default when the synchronous check is unavailable, because the cost of a false accept (executing a revoked peer's mutation) exceeds the cost of a false reject (a retryable denial). A second boundary: **the issuer's propagation bound is a claim, and B must not trust it blindly.** If B observes poll latencies exceeding `I.max_propagation_bound`, B must treat the bound as violated, widen its effective horizon, and shrink its acceptance window accordingly — or halt acceptance until the feed recovers. The bound is a contract that B must *audit*, not merely *read*. ## Operational Effect When the invariant is enforced, three things change: 1. **Warrants become short-lived by construction.** Issuers can only mint warrants with TTL ≤ propagation bound + staleness tolerance. Long operations must re-attest mid-flight via a fresh warrant, which means the agent's execution loop must handle re-attestation as a first-class state transition — a checkpoint that can fail and must be resumable. 2. **Revocation latency becomes a monitored SLO, not an assumption.** The feed's p99 publish-to-observe latency is a production metric. When it degrades, the acceptance window shrinks automatically, and the system degrades toward refusal rather than toward unauthorized execution. 3. **The audit trail distinguishes "accepted on fresh authority" from "accepted on bounded-stale authority."** Every accept is tagged with the age of the revocation view at decision time. A post-incident replay can then identify exactly which writes occurred inside the degraded window — the six writes at T+1200..T+1380 in the trace above — and treat them as suspect for rollback. The unenforced system does not fail loudly. It fails as a quiet, bounded-but-unbounded-in-practice window of unauthorized execution, discovered only when someone correlates the revocation timestamp against the write log. The enforced system converts that silent window into an explicit, logged, bounded trust decision. ```python import time from dataclasses import dataclass class RevocationHorizonExceeded(RuntimeError): """Raised when a warrant's remaining TTL exceeds the detection horizon, meaning B cannot certify non-revocation and must not accept on provenance alone.""" pass @dataclass(frozen=True) class Warrant: subject: str capability: str not_after: float # absolute epoch seconds issuer: str @dataclass(frozen=True) class RevocationView: last_successful_poll: float # epoch seconds staleness_tolerance: float # seconds B permits its view to lag issuer_bound: float # issuer's *claimed* worst-case propagation bound def detection_horizon(view: RevocationView, now: float) -> float: """Worst-case seconds from 'revocation issued now' to 'B would observe it'. Grows as the last poll recedes.""" view_age = now - view.last_successful_poll return view.issuer_bound + view.staleness_tolerance + view_age def authorize(w: Warrant, view: RevocationView, revoked: set[tuple[str, str]], now: float) -> bool: # Provenance checks (cheap, local, deterministic). if now >= w.not_after: return False if (w.subject, w.capability) in revoked: return False # Authority-currency check: can we certify non-revocation for the whole # remaining life of this warrant? horizon = detection_horizon(view, now) remaining = w.not_after - now if remaining > horizon: # A revocation issued right now might not reach us before this warrant # is used again. Provenance-valid is insufficient. raise RevocationHorizonExceeded( f"warrant {w.subject}:{w.capability} remaining={remaining:.0f}s " f"exceeds detection horizon={horizon:.0f}s " f"(issuer_bound={view.issuer_bound:.0f}s, " f"staleness={view.staleness_tolerance:.0f}s, " f"view_age={now - view.last_successful_poll:.0f}s); " f"refuse or force synchronous revocation check" ) return True def poll_and_authorize(w: Warrant, view: RevocationView, revoked: set[tuple[str, str]], now: float) -> bool: """Wrap authorize with a poll-freshness gate: if the view is too stale relative to the warrant's remaining life, fail closed before deciding.""" if now - view.last_successful_poll > view.staleness_tolerance: # The view is stale; recompute horizon and let authorize decide. # If it cannot certify, authorize raises; we do not silently accept. pass return authorize(w, view, revoked, now) if __name__ == "__main__": now = 1_000_000.0 view = RevocationView( last_successful_poll=now - 300, # polled 300s ago staleness_tolerance=300.0, issuer_bound=120.0, ) w = Warrant(subject="W", capability="write:/data/staging", not_after=now + 3600, issuer="I") try: poll_and_authorize(w, view, revoked=set(), now=now) except RevocationHorizonExceeded as e: print(f"REFUSED: {e}") ```