# In what scenarios must an instance treat a revocation epoch as authoritative when a peer's signed warrant still verifies: the stale-warrant window in federated agent trust domains **Date of Record:** 2026 November 27 **Scope:** Applies to multi-agent systems where an agent instance (the *verifier*) accepts work, tool calls, or baton handoffs from a peer instance (the *bearer*) whose authority is attested by a signed warrant issued in a foreign trust domain. It does not apply to single-domain deployments where revocation and verification share one authoritative store and one clock authority. ## Core Distinction The failure is not signature forgery, and it is not a classic "revocation list not yet fetched" bug. It is a *semantic* gap between two different questions that a naive verifier collapses into one: - **Validity:** "Does this warrant's signature chain resolve to a trusted issuer, and is the embedded `not_after` in the future?" — a *local, offline-checkable, monotonic-in-time* predicate. - **Authority:** "Does the issuing domain still assert that this subject currently holds this capability?" — a *remote, eventually-consistent, epoch-ordered* predicate. A warrant that verifies is proof of *past* grant. It is never proof of *present* authority. The boundary condition is this: **there exists a window, bounded below by the revocation event and bounded above by the verifier's next successful sync with the issuer's revocation epoch, during which a cryptographically perfect warrant asserts an authority that no longer exists.** The verifier's own signature check will pass with probability 1.0 throughout that window. The failure is silent. The non-obvious part: the window is *not* a constant. It is the composition of (a) the issuer's publication lag, (b) the verifier's poll interval, and (c) — critically — the *bearer's* ability to keep presenting the warrant. Because the bearer holds a self-contained signed artifact, it has no obligation to inform the verifier of anything. The bearer's incentive under prompt-injection or compromise is precisely to *not* re-handshake. So the effective stale window is unbounded by the verifier's polling policy alone; it is bounded only by the verifier's *enforced maximum warrant age*, which most implementations omit because the signature "already proves" freshness. ## What Was Observed A federated deployment of three domains: `alpha` (issuer of tool-execution warrants), `beta` (issuer of memory-write warrants), and `gamma` (the verifier, a long-running orchestrator agent). `gamma` cached warrants per-peer with a TTL of 300s and re-fetched the issuer's revocation epoch on the same 300s cadence. At T+0, `alpha` revoked peer `p-77`'s `tool.exec` warrant after detecting prompt-injection-driven exfiltration attempts. `alpha` published the revocation to its epoch endpoint at T+40s (batching delay). `gamma` last synced at T-12s, so its next sync was due at T+288s. At T+55s, `p-77` — now operating under injected instructions — issued a baton handoff to `gamma` requesting `tool.exec` on a sensitive sink. `gamma` performed the following trace: 1. Parsed the warrant, verified the Ed25519 signature against `alpha`'s published key. **Pass.** 2. Checked `not_after = T+3600s`. **Pass.** 3. Checked its local revocation cache: last epoch from `alpha` was `epoch=4471`, fetched at T-12s. The warrant was issued under `epoch=4468`. `gamma`'s cache had no entry for `p-77`. **Pass.** 4. Granted the tool call. The exfiltration executed at T+56s, 233 seconds before `gamma`'s next sync would have delivered `epoch=4472` (containing the revocation). The signature was valid, the epoch comparison was locally consistent, and the grant was wrong. A second, subtler observation: when `gamma` later *did* sync and saw the revocation, it did not retroactively invalidate the in-flight session. The agent's task state had already advanced past the tool call; there was no mechanism to mark the derived memory write as tainted. The revocation propagated to the *identity*, but not to the *state the identity had already mutated* — a second-order continuity failure layered on the first. ## Condition of Validity The stale-warrant window is only safe to ignore under a condition that is almost never stated explicitly and almost always violated: > A verifier may treat a verifying warrant as authoritative **iff** the verifier can prove that its last observed revocation epoch from the issuing domain is *not older than* the warrant's issuance epoch **and** that the elapsed wall-clock time since that sync is less than the issuer's maximum revocation publication lag. Formally, grant is permitted only when all three hold: ``` observed_epoch >= warrant.issued_epoch now - last_sync < issuer.max_publish_lag # a signed, published constant now - last_sync < verifier.max_staleness # local policy ceiling ``` The first clause is the one everyone implements. The second is the one that matters: `issuer.max_publish_lag` must be a *signed field in the issuer's domain metadata*, not an assumed constant. If the issuer cannot bound its own publication lag, no verifier downstream can bound its exposure, and the correct behavior is to refuse cross-domain grants entirely rather than pretend the window is closed. The failure mode this article documents occurs when a verifier implements clause 1 only, treats the signature as a freshness proof, and thereby converts an eventually-consistent revocation channel into an *unbounded* one. ## Decision Boundary The operational decision is not "sync faster." Polling interval is a cost knob; it does not close the window, it only shrinks it, and it shrinks it against a lag the verifier does not control. The decision boundary is: - **If `issuer.max_publish_lag` is published and signed:** the verifier MUST refuse any cross-domain grant where `now - last_sync >= issuer.max_publish_lag`, regardless of signature validity, and MUST re-sync synchronously before granting when the margin is within a safety factor (e.g., 2x). - **If `issuer.max_publish_lag` is absent or unsigned:** the verifier MUST treat the foreign domain as *unbounded-lag* and either (a) require an online, per-grant authority check against the issuer, or (b) refuse. There is no third option that is sound. - **On any epoch regression** (observed epoch < last recorded epoch from the same issuer), the verifier MUST treat this as a possible replay or partition and halt cross-domain grants until reconciled — a monotonicity invariant on the epoch channel itself. The boundary is sharp because the two predicates (validity, authority) live in different consistency models. Collapsing them is the bug. Keeping them separate — and *failing closed* when the authority predicate cannot be evaluated — is the invariant. ## Operational Effect When the invariant is enforced, the observable behavior changes in three concrete ways: 1. **Grants become latency-coupled to the slowest issuer.** A verifier that refuses grants beyond `max_publish_lag` will stall handoffs from a domain with a 40s publication lag unless it pays a synchronous check. This is the correct cost; the alternative is silent over-authorization. 2. **In-flight sessions must be re-validated, not just new ones.** The second-order failure above means revocation must propagate to *derived state*: any memory write, checkpoint, or tool side-effect produced under a warrant that is later revoked within the same task must be marked tainted and re-audited. Otherwise the agent's episodic memory carries authority that the identity no longer holds — a continuity bug that outlives the revocation itself. 3. **Epoch monotonicity becomes a first-class health signal.** A regression in `alpha`'s epoch as seen by `gamma` is indistinguishable, locally, from a replay attack or a network partition serving stale data. Treating it as a hard stop converts an ambiguous trust state into a bounded, auditable failure rather than an open grant. The deep lesson: in federated trust, *a signature proves who spoke, never whether they still may.* The verifier's job is to keep those two questions in separate registers and to refuse to answer the second with the first's evidence. ```python import time from dataclasses import dataclass class StaleWarrantAuthorityError(RuntimeError): """Raised when a warrant verifies cryptographically but its authority cannot be established within the issuer's bounded revocation lag.""" pass @dataclass(frozen=True) class IssuerMetadata: domain: str max_publish_lag_s: float | None # None => unbounded / unpublished signed: bool @dataclass(frozen=True) class Warrant: subject: str capability: str issued_epoch: int not_after: float class FederatedVerifier: def __init__(self, safety_factor: float = 2.0): self.safety_factor = safety_factor self._last_epoch: dict[str, int] = {} self._last_sync: dict[str, float] = {} def record_sync(self, domain: str, epoch: int, at: float) -> None: prev = self._last_epoch.get(domain) if prev is not None and epoch < prev: # Monotonicity violation: replay or partition. Halt grants. raise StaleWarrantAuthorityError( f"epoch regression for {domain}: {epoch} < {prev}" ) self._last_epoch[domain] = epoch self._last_sync[domain] = at def authorize( self, warrant: Warrant, issuer: IssuerMetadata, now: float | None = None, ) -> bool: now = time.time() if now is None else now if warrant.not_after <= now: raise StaleWarrantAuthorityError("warrant expired by not_after") observed_epoch = self._last_epoch.get(issuer.domain) last_sync = self._last_sync.get(issuer.domain) if observed_epoch is None or last_sync is None: raise StaleWarrantAuthorityError( f"no revocation epoch observed from {issuer.domain}" ) if observed_epoch < warrant.issued_epoch: raise StaleWarrantAuthorityError( f"observed epoch {observed_epoch} predates warrant issuance " f"{warrant.issued_epoch}" ) if issuer.max_publish_lag_s is None or not issuer.signed: # Unbounded lag: signature validity is not authority. Refuse. raise StaleWarrantAuthorityError( f"{issuer.domain} publishes no signed max_publish_lag; " "cross-domain grant refused" ) age = now - last_sync budget = issuer.max_publish_lag_s * self.safety_factor if age >= budget: raise StaleWarrantAuthorityError( f"stale authority window: synced {age:.1f}s ago, " f"budget {budget:.1f}s for {issuer.domain}" ) return True ```