# How does an instance detect a revoked warrant mid-handoff when the revocation event never crosses the mesh boundary? **Date of Record:** 2026 November 27 **Scope:** Applies to federated multi-agent meshes where an agent instance holds a signed capability warrant issued by a foreign org and continues executing tool calls or sub-handoffs after the issuer revokes it. Does not apply to single-tenant deployments where the issuer and verifier share a trust root and a synchronous revocation channel. ## Core Distinction There are two things an agent can mean when it says "I am authorized." The first is *warrant possession*: the instance holds a cryptographically valid, unexpired warrant document signed by an issuer in a peer org. The second is *warrant liveness*: the issuer has not revoked that warrant since issuance. Most federation meshes conflate these. A signature check verifies possession at handoff time; it says nothing about whether the warrant was revoked fourteen seconds ago in an org the verifier has no subscription to. The non-obvious boundary is this: **revocation is an event, but verification is a query.** Events propagate asynchronously across org boundaries; queries resolve synchronously against local state. When the two are decoupled—when an agent verifies a warrant by checking a cached CRL or a stale introspection response—the window between issuance of the revocation event and its arrival at the verifier is an interval during which a revoked agent executes with full apparent authority. That interval is not a bug in any single component. It is a structural property of event-vs-query asymmetry across a trust boundary, and it is *unbounded* unless the verifier imposes a bound. ## What Was Observed A three-org mesh: Issuer org `A` mints warrants; Broker org `B` routes handoffs; Worker org `C` runs the executing agent. Warrants are signed JWTs with a 15-minute TTL and a `rev` claim pointing at a revocation-feed endpoint in `A`. `C` caches the feed for a configured 60-second TTL to avoid hammering `A` on every tool call. At T+0, an operator in `A` revokes a warrant held by a worker in `C` after detecting a prompt-injection-driven tool-call pattern. The revocation event is appended to `A`'s feed at T+0. The worker in `C` continues executing because its cached feed snapshot is from T−45s and does not contain the revocation. At T+48s the worker completes a sub-handoff to a peer agent in `B`; that peer re-verifies the warrant against *its own* cache, which is 30s stale, and accepts. At T+61s `C`'s cache refreshes, the worker's next tool call is rejected—but the sub-handoff already propagated a downstream task that was authorized on the basis of a warrant revoked 61 seconds earlier. The observed failure was not that any single cache was stale. It was that **staleness compounded across hops**: `C`'s 45s residual staleness plus `B`'s 30s residual staleness produced a ~75s window during which a revoked identity was transitively valid. Each hop's local bound was honored; the path-level bound was violated. The invariant that broke was *transitivity of freshness*: a warrant is live at hop N only if it was live at every hop from issuer to N, but each verifier only checked its own hop. ## Condition of Validity The failure reproduces under three jointly necessary conditions: 1. **Asynchronous revocation propagation.** Revocation reaches verifiers by pull (feed poll, CRL fetch) rather than push, so there is a nonzero, variable delay between issuer revocation and verifier awareness. 2. **Per-hop caching with independent TTLs.** Each verifier caches the revocation state and refreshes on its own schedule. TTLs are not coordinated and residuals do not compose. 3. **Transitive delegation without freshness attestation.** A handoff to a downstream agent re-verifies the warrant but does not carry a *freshness proof*—a signed statement of "as of timestamp T, this warrant was live"—so the downstream verifier cannot bound the upstream verifier's staleness. Remove any one and the window collapses. Push propagation with guaranteed delivery bounds delay to network RTT. A single shared cache bounds staleness to one TTL. Freshness attestation lets each hop detect that an upstream hop's evidence is older than its own tolerance and force re-verification against the issuer. ## Decision Boundary The verifier must decide, at each handoff, whether to *accept the upstream hop's freshness evidence* or *force a synchronous re-check against the issuer*. The boundary is not "is the warrant expired" (a possession check) but "is the warrant's liveness evidence younger than my tolerance, and did every upstream hop attest freshness within its own tolerance." The operative rule: a handoff carries a `freshness_attestation` containing the verification timestamp and the residual staleness bound the verifier is willing to vouch for. A downstream verifier accepts only if `attestation.timestamp + attestation.residual_bound <= now - downstream_tolerance`. If the composed bound exceeds the downstream tolerance, the verifier MUST fall back to a synchronous issuer query (or reject). This converts an unbounded path-level staleness into a bounded, checkable one—at the cost of latency on hops where caches are cold. The boundary is the tradeoff between accepting fast-but-stale evidence and paying a synchronous round-trip. ## Operational Effect Without the freshness-attestation guard, the effective revocation latency across an N-hop path is the *sum* of per-hop residual staleness, not the max. An operator tuning each hop's TTL downward to "improve security" gets sublinear returns because residuals add; the only way to bound the path is to make each hop's acceptance depend on the composed bound, not its own. The practical consequence for an executing agent: after any sub-handoff, the agent must treat its own authority as *conditionally live* until it has either received a freshness attestation within tolerance or performed a synchronous re-check. An agent that assumes its post-handoff authority is unconditionally live is the one that executes the revoked tool call. The guardrail is not a bigger cache or a shorter TTL—it is making freshness a first-class, attested, composable quantity that travels with the warrant. ```python class StaleWarrantError(RuntimeError): """Raised when composed freshness evidence exceeds the verifier's tolerance.""" pass def verify_handoff_warrant( warrant: dict, attestation: dict, now: float, downstream_tolerance_s: float, issuer_query_fn, ) -> dict: """ Verify a warrant arriving via a handoff. Accept only if the composed freshness bound (upstream residual staleness + transit time) is within the downstream verifier's tolerance. Otherwise force a synchronous re-check against the issuer. """ if warrant.get("revoked", False): raise StaleWarrantError( f"warrant {warrant['id']} already marked revoked at receipt" ) attested_at = attestation["verified_at"] residual_bound = attestation["residual_bound_s"] composed_age = (now - attested_at) + residual_bound if composed_age <= downstream_tolerance_s: return {"accepted": True, "path": "attested", "composed_age_s": composed_age} # Composed freshness exceeds tolerance: cannot trust upstream evidence. live = issuer_query_fn(warrant["id"]) if not live: raise StaleWarrantError( f"warrant {warrant['id']} failed synchronous liveness re-check; " f"composed_age_s={composed_age:.1f} > tolerance={downstream_tolerance_s}" ) return {"accepted": True, "path": "synchronous", "composed_age_s": 0.0} ```