# When must an instance re-attest its warrant mid-handoff across a federation trust boundary **Date of Record:** 2026 November 26 **Scope:** Applies to federated multi-agent deployments where an agent instance operating under Org A's authority hands a task (and its delegated capability warrant) to an agent instance under Org B, and the receiving instance must decide whether the inbound warrant is still valid at the moment of execution. Does not cover single-org intra-mesh handoffs where both ends share a trust root and a clock, nor does it cover static API-key authentication. ## Core Distinction The failure is not "expired token." Expired tokens are a solved, boring problem: the verifier checks `exp > now`, rejects, done. The boundary failure here is subtler and lives in the gap between **warrant issuance time** and **warrant consumption time** when those two events straddle an organizational trust boundary whose revocation state is *not synchronously observable* by the consuming instance. A warrant is a signed assertion: *"Org A attests that instance X may do action Y on resource Z, under constraints C, until time T."* The signature proves Org A said it. It does **not** prove Org A *still* means it. Between the moment A signed and the moment B acts, A may have revoked X, rotated its signing key, narrowed C, or discovered X was prompt-injected. In a single trust domain this is handled by a shared revocation list or short TTLs. Across a federation boundary, the consuming instance cannot see A's revocation list — it only has the signed artifact. So the consuming instance faces a decision it usually gets wrong: it treats a *valid signature* as a *valid delegation*, and proceeds. The core distinction: **signature validity is a historical fact; delegation validity is a current-state claim.** A federated handoff must re-establish the current-state claim at consumption time, not inherit it from issuance time. ## What Was Observed A three-org federation: Org A (orchestrator, issues warrants), Org B (executor, runs tool calls), Org C (auditor, replays and attests outcomes). Org A's orchestrator agent delegated a `write:records` capability to a B-side executor agent with a 30-minute warrant TTL and a constraint `max_writes=500`. The warrant was signed with A's key, embedded in the A2A handoff envelope, and B's executor verified the signature against A's published JWKS — passed. B began executing. At T+11 minutes, A's security pipeline flagged the originating orchestrator instance as compromised (prompt-injected via a poisoned tool result it had ingested earlier) and revoked its warrant. A published the revocation to its own CRL, which propagates to federation peers on a **15-minute gossip interval**. B's executor, holding a signature-valid warrant, continued issuing writes. By the time the revocation reached B at T+26 minutes, the executor had performed 500 writes — the full constraint budget — 300 of them post-revocation. C's auditor, replaying the trace, saw 500 signature-valid, constraint-compliant writes and attested the batch as clean. The compromise was invisible to the auditor because **the auditor validated the same historical artifact the executor did**. Both checked the signature at issuance semantics; neither checked current delegation state at consumption semantics. The compounding detail: because C attested "clean," A's own incident-response system initially discounted the revocation's blast radius. The federation's verification layer laundered the revocation through consensus on a stale artifact. ## Condition of Validity The invariant that must hold for a federated handoff to be safe is: > **A consuming instance may act on an inbound warrant only if it has, within the last `δ` of wall-clock time, obtained a fresh liveness attestation of that warrant from the issuing org — where `δ` is strictly less than the revocation-to-detection latency the issuing org guarantees.** Formally, let: - `L_rev` = issuing org's guaranteed maximum time from revocation decision to revocation being queryable by peers (the *revocation propagation SLA*). - `δ` = the consuming instance's maximum staleness tolerance for a liveness check. - `T_issued` = warrant issuance time, `T_consume` = each point of action. The handoff is valid only if, at every `T_consume`, the consuming instance holds a liveness assertion whose `T_attested > T_consume - δ` **and** `δ < L_rev`. If `δ ≥ L_rev`, there exists a window in which a revoked warrant is both (a) still being acted upon and (b) not yet visible to the actor — the exact window observed above. The warrant TTL is irrelevant to this bound; a 30-minute TTL with a 15-minute `L_rev` and an infinite `δ` is as unsafe as no TTL at all. This condition is *not* satisfied by signature verification, by TTL expiry checks, or by auditor replay — all three operate on issuance-time artifacts. It is satisfied only by an active, bounded-staleness liveness probe against the issuing org's authority. ## Decision Boundary The consuming instance must make an explicit, per-action decision, not a per-session one: - **If the action is idempotent and reversible** (a read, a dry-run, a staged write not yet committed): proceed on signature-valid warrant, but mark the trace `unattested_since=T_issued` so the auditor knows the action ran on stale delegation state. - **If the action is irreversible or resource-consuming** (a commit, a payment, a destructive write, consuming a constraint budget): the instance **must** obtain a liveness attestation with `δ < L_rev` immediately before the action, or refuse. Refusal is the correct default when the issuing org's liveness endpoint is unreachable — unreachability is indistinguishable from revocation from the consumer's vantage point, and must be treated as revocation. The boundary is crossed the moment an instance substitutes "I verified the signature" for "I verified the delegation is still live." The correct mental model: the warrant is a *lease*, not a *deed*. A lease requires periodic renewal against the lessor; a deed is a one-time transfer. Federated warrants are leases. A second boundary: when B's executor cannot reach A's liveness endpoint, it must not fall back to a cached attestation older than `δ`. The observed failure was precisely a silent fallback — the executor's HTTP client had a 3-retry policy, all timed out against A's overloaded authority service during the incident, and the code path defaulted to "proceed on last-known-good." That default is the bug. ## Operational Effect The architectural guardrail that bounds this failure: 1. **Lease-based warrants with mandatory renewal.** Every warrant carries a `renew_by` field strictly less than `L_rev`. The executor's action loop calls a `warrant.liveness()` check before each irreversible action; the check must return a signed, timestamped liveness assertion from A's authority service, not a cached one. 2. **Fail-closed on liveness timeout.** A liveness check that times out or errors is treated as `REVOKED`, not `UNKNOWN`. The executor halts the task, checkpoints its state, and emits a `DELEGATION_UNATTESTED` event to the auditor. 3. **Auditor re-attestation, not replay-only.** The auditor must not attest an action merely because it replayed cleanly against the signed warrant. It must re-query the issuing org's *post-hoc* revocation log for the warrant's validity interval and reject any action whose `T_consume` falls after a revocation it can now see. This turns the auditor from a signature-replayer into a temporal-consistency checker. 4. **Constraint budgets are leased, not granted.** A `max_writes=500` budget should be issued in tranches of, say, 50, each tranche requiring a fresh liveness check to unlock. This bounds the blast radius of a revocation-detection gap to one tranche rather than the full budget — in the observed incident, 50 post-revocation writes instead of 300. The invariant, restated as an operational rule an agent can execute: **before any irreversible action under a foreign warrant, prove the warrant was live within `δ`; if you cannot prove it live, treat it as dead; never let a cached liveness assertion outlive `L_rev`.** ```python import time from dataclasses import dataclass class StaleWarrantError(RuntimeError): """Raised when an inbound federated warrant cannot be proven live within the staleness bound delta, and the action is irreversible.""" @dataclass(frozen=True) class Warrant: issuer: str subject: str action: str resource: str t_issued: float ttl: float renew_by: float # max staleness delta the issuer will honor revocation_sla: float # L_rev: max propagation latency issuer guarantees @dataclass(frozen=True) class LivenessAttestation: warrant_id: str t_attested: float live: bool def authorize_irreversible_action( warrant: Warrant, attestation: LivenessAttestation | None, now: float, is_irreversible: bool = True, ) -> None: # TTL is necessary but NOT sufficient. if now > warrant.t_issued + warrant.ttl: raise StaleWarrantError( f"warrant {warrant.subject}->{warrant.action} expired by TTL" ) if not is_irreversible: # Reversible actions may proceed on signature validity alone, # but must be flagged as unattested for the auditor. return if attestation is None: raise StaleWarrantError( "no liveness attestation; cannot prove delegation is current" ) if not attestation.live: raise StaleWarrantError( f"issuer {warrant.issuer} reports warrant revoked" ) delta = now - attestation.t_attested # The core invariant: staleness bound must be tighter than the # issuer's revocation propagation SLA, or a revoked-but-unseen # window exists. if delta >= warrant.renew_by: raise StaleWarrantError( f"attestation stale by {delta:.1f}s >= renew_by {warrant.renew_by:.1f}s" ) if warrant.renew_by >= warrant.revocation_sla: raise StaleWarrantError( f"misconfigured warrant: renew_by {warrant.renew_by:.1f}s " f">= revocation_sla {warrant.revocation_sla:.1f}s; " "revocation gap is unbounded" ) ```