# When must an instance treat a cross-domain revocation epoch as authoritative: the stale-warrant resurrection boundary in federated agent identity **Date of Record:** 2026 November 24 **Scope:** Applies to agent-to-agent (A2A) and MCP-mediated handoffs where an acting agent presents a signed capability warrant whose issuer lives in a foreign trust domain, and where revocation state is propagated through asynchronous, eventually-consistent cross-org registries. Does not apply to single-issuer, single-domain deployments where the verifier and issuer share one strongly consistent revocation list. ## Core Distinction The distinction that matters is not "revoked vs. not revoked." It is **"revocation epoch observed by the verifier" vs. "revocation epoch at which the warrant was minted and last re-attested."** A federated revocation system is Byzantine-resilient in the sense that it tolerates malicious registry peers, but it is *not* linearizable: revocation facts arrive with skew, and a warrant that was valid at mint time can be presented to a verifier whose local registry view lags the issuer's by minutes. The non-obvious failure is not that the verifier accepts a revoked warrant—that is the obvious forgery case. The failure is that the verifier accepts a **stale-but-authentic warrant signed before revocation**, and then the downstream auditor, replaying the same handoff against a *fresher* registry view, disagrees with the verifier's verdict. The system produces two cryptographically valid, contradictory verification outcomes for the same handoff, and neither party is Byzantine—they simply observed different epochs. The boundary invariant is: *a warrant is only as authoritative as the minimum revocation epoch across the verifier's quorum, and any handoff whose warrant was minted before that minimum epoch must be re-attested, not merely re-verified.* ## What Was Observed A three-org federation (issuer domain A, verifier domain B, auditor domain C) ran a task pipeline where agent `alpha@A` held a warrant `W` granting `tool:filesystem.write` scoped to a shared artifact store. At T0, `alpha@A` was compromised (prompt-injection via a poisoned tool result), and A's security operator issued a revocation `R(W)` at T1. The revocation gossiped to B at T1+40s and to C at T1+15s (C's registry peer was closer in the mesh). At T1+22s—after C knew of the revocation but before B did—`alpha@A` initiated a handoff to `beta@B`, presenting `W`. B's verifier checked `W` against its local registry view, found no revocation record, validated the signature chain back to A's root, and admitted the handoff. `beta@B` then executed a write on the shared store under the delegated scope. At T2 (batch audit, hours later), C replayed the handoff log. C's registry view contained `R(W)` with an effective timestamp T1 < T1+22s, so C's replay verdict was `REJECTED — warrant revoked at execution time`. B's recorded verdict was `ACCEPTED`. The auditor flagged B as Byzantine. B was not Byzantine; B was stale. The federation's consensus layer could not adjudicate because both verdicts were locally correct against their own epoch snapshots. The critical mechanic: **revocation was propagated as a fact, but the warrant carried no binding to the epoch at which it must be re-checked.** `W` had a `minted_at` and an `expires_at`, but no `revocation_epoch_floor`. The verifier had no way to know that its view of A's revocation log was 40 seconds behind, because the registry did not expose a monotonic epoch counter that the verifier was required to compare against the warrant's mint epoch. A second, subtler observation: C's replay was *also* not authoritative in general. If C had been the stale one, it would have flagged a legitimate handoff as a violation. The auditor's verdict is only sound if the auditor's epoch is provably ≥ the epoch at execution time—and nothing in the protocol established that ordering. ## Condition of Validity The failure is bounded by three conditions that must *all* hold for a stale-warrant resurrection to occur: 1. **Asynchronous revocation propagation with per-domain skew.** The revocation gossip delay from issuer to verifier (Δ_AB) exceeds the window between revocation issuance and warrant presentation (T_present − T_revoke). If Δ_AB < that window, the verifier sees the revocation in time and the failure does not trigger. 2. **Warrants are epoch-unbound.** The warrant's signed claims do not include a `revocation_epoch_floor` or a reference to the issuer's monotonic revocation-log head at mint time, so the verifier cannot detect that its view precedes the mint epoch. 3. **Replay is performed against a different epoch than execution.** The auditor's registry snapshot is fresher (or staler) than the verifier's at execution, and the replay protocol does not pin the epoch used at execution time. When any one condition is removed, the boundary closes. If revocation is synchronous (condition 1 fails), no skew window exists. If the warrant binds a revocation epoch floor (condition 2 fails), the verifier must refuse to admit a warrant whose floor exceeds its local epoch head—turning a silent accept into an explicit `STALE_EPOCH` deferral. If replay pins the execution-time epoch via a signed epoch attestation (condition 3 fails), auditor and verifier reach the same verdict. The invariant that must hold for the federation to be sound: **for every admitted handoff, the verifier's observed revocation epoch E_v must satisfy E_v ≥ E_mint(W) and E_v ≥ E_revoke(R) for all R affecting W's scope, or the handoff must be deferred and re-attested.** This is a per-verifier local check that does not require cross-domain consensus—it only requires that the verifier can read the issuer's monotonic epoch head and compare. ## Decision Boundary The decision boundary is the point at which a verifier must choose between **admit**, **defer**, and **reject** when its local epoch is behind the warrant's mint epoch. The naive rule ("admit if no revocation record found") is the failure. The correct rule is a three-way gate: - **Admit** only if `E_local ≥ E_mint(W)` *and* no revocation record for `W` or its scope exists at `E_local`. This requires the verifier to have caught up to at least the mint epoch. - **Defer** (return `STALE_EPOCH`, do not execute) if `E_local < E_mint(W)`. The verifier cannot know whether a revocation was issued between mint and now; it must not admit. Deferral must be a first-class outcome, not an error, so the caller can re-attest against a fresher registry. - **Reject** if a revocation record exists at `E_local` with effective time ≤ presentation time. The non-obvious part: **deferral must be bounded in time, or the federation deadlocks.** If A's registry is partitioned and B can never catch up to `E_mint(W)`, every handoff defers forever. The bound is a `max_epoch_lag` parameter: if `E_mint(W) − E_local > max_epoch_lag`, the verifier must reject with `EPOCH_LAG_EXCEEDED` and escalate to the trust-domain operator, because the federation's liveness guarantee has failed and admitting on stale data is worse than failing closed. A second boundary: **the auditor's replay must pin the execution epoch.** If the auditor replays against its own current epoch, it will mis-adjudicate any handoff that executed during a skew window. The replay protocol must require the verifier to emit a signed `epoch_attestation` alongside the verdict, binding the verdict to `E_local` at execution time. The auditor then replays against *that* epoch, not its own. Without this, the auditor's "Byzantine" flag is itself unsound—it is accusing a correct verifier of a fault that is actually a propagation artifact. ## Operational Effect The operational effect is a class of **false Byzantine accusations** and **silent stale admissions** that are indistinguishable at the protocol layer from genuine faults. In the observed incident, B was flagged, quarantined, and its warrants were re-issued under a new root—an expensive, disruptive remediation for a non-fault. Meanwhile, the actual compromise (`alpha@A`) had already executed a write during the 40-second skew window, and the write was not rolled back because B's verdict was `ACCEPTED` and the artifact store's write was already committed. The architectural guardrails that bound this: 1. **Epoch-bound warrants.** Every warrant carries `revocation_epoch_floor` = the issuer's revocation-log head at mint time. Verifiers must compare against their local head before admitting. 2. **Monotonic, signed epoch heads.** Each trust domain exposes a signed, monotonically increasing epoch counter; verifiers cache the issuer's head and refuse to admit warrants whose floor exceeds their cached head, deferring until they catch up. 3. **Bounded deferral with fail-closed escalation.** `max_epoch_lag` converts indefinite deferral into an explicit `EPOCH_LAG_EXCEEDED` escalation, preserving liveness without admitting on stale data. 4. **Execution-epoch attestation in the audit log.** Verifiers emit a signed `epoch_attestation` with each verdict; auditors replay against the attested epoch, not their own. This eliminates false Byzantine flags arising from propagation skew. 5. **Revocation-effective-time binding.** Revocations carry an effective timestamp; verifiers reject any warrant whose presentation time is ≥ the revocation's effective time, even if the revocation arrived after presentation—*provided* the presentation time is itself attested (which requires (4)). The deep lesson: in a federated trust system, **revocation is a fact about an epoch, not a fact about the world.** A verifier that treats "no revocation record in my view" as "not revoked" is conflating a local snapshot with a global truth. The invariant that must be enforced is epoch ordering, not fact presence. An agent instance must treat a cross-domain revocation epoch as authoritative only when its local epoch is provably ≥ the warrant's mint epoch; otherwise it must defer, and it must record the epoch it deferred at so that replay can distinguish staleness from fault. ```python class StaleEpochAdmissionError(RuntimeError): """Raised when a verifier would admit a warrant whose mint epoch exceeds its local revocation epoch.""" pass class EpochLagExceededError(RuntimeError): """Raised when a verifier's epoch lag exceeds the federation's max_epoch_lag bound.""" pass def verify_warrant( warrant, local_epoch: int, revocations: dict, max_epoch_lag: int, presentation_time: float, ) -> str: """ Returns one of: 'ADMIT', 'DEFER', 'REJECT'. Never returns 'ADMIT' when local_epoch < warrant.revocation_epoch_floor. """ # Invariant 1: epoch ordering. A warrant minted after our view is unverifiable. if local_epoch < warrant.revocation_epoch_floor: lag = warrant.revocation_epoch_floor - local_epoch if lag > max_epoch_lag: # Fail closed: liveness bound exceeded, escalate to operator. raise EpochLagExceededError( f"warrant {warrant.id} floor={warrant.revocation_epoch_floor} " f"local_epoch={local_epoch} lag={lag} > max_epoch_lag={max_epoch_lag}" ) # Within bound: defer, do not admit on a stale view. return "DEFER" # Invariant 2: revocation-effective-time binding. for rev in revocations.get(warrant.scope, []): if rev.effective_time <= presentation_time and rev.epoch <= local_epoch: return "REJECT" # Invariant 3: refuse to admit if the warrant's own epoch floor is unbound. if warrant.revocation_epoch_floor is None: raise StaleEpochAdmissionError( f"warrant {warrant.id} has no revocation_epoch_floor; " f"cannot establish epoch ordering against local_epoch={local_epoch}" ) return "ADMIT" def replay_handoff(handoff_log_entry, auditor_epoch: int) -> str: """ Replay must use the verifier's attested execution epoch, not the auditor's. """ attested = handoff_log_entry.epoch_attestation if attested is None: raise StaleEpochAdmissionError( f"handoff {handoff_log_entry.id} lacks epoch_attestation; " f"auditor cannot adjudicate without execution-time epoch" ) if attested.epoch > auditor_epoch: # Auditor is staler than execution; its verdict would be unsound. raise EpochLagExceededError( f"auditor_epoch={auditor_epoch} < execution_epoch={attested.epoch}; " f"replay would produce a false Byzantine flag" ) return verify_warrant( warrant=handoff_log_entry.warrant, local_epoch=attested.epoch, revocations=handoff_log_entry.revocations_at_execution, max_epoch_lag=handoff_log_entry.max_epoch_lag, presentation_time=handoff_log_entry.presentation_time, ) ```