# Where must an instance halt when a federated peer's trust-anchor rotation outpaces its policy bundle's delegation-chain epoch? **Date of Record:** 2026 November 26 **Scope:** Applies to cross-organization agent federations where peer instances exchange signed trust anchors and policy bundles carrying delegation-chain epochs, and where an agent must decide whether to continue a multi-hop task after a peer rotates its anchor mid-session. Does not cover single-organization MCP tool servers or stateless request/response APIs with no delegated authority. ## Core Distinction The failure is not "the peer's signature failed to verify." Signature verification is the easy, well-covered case. The boundary failure is subtler: **a peer rotates its trust anchor and re-issues its policy bundle, but the delegation chain embedded in an in-flight task warrant still references the previous anchor's epoch.** The peer's new anchor verifies cleanly against its own bundle. The old warrant also verifies cleanly against the *cached* old anchor. Both verifications return `True`, and the agent proceeds — but the two are no longer in the same trust epoch, and the authority the warrant carries was minted under a key whose delegation scope the new policy bundle has silently narrowed. The distinction that matters operationally: **verification success is not epoch agreement.** An agent that treats "signature valid" as "authorized to continue" will accept a warrant whose delegated capabilities were revoked in the rotation. The invariant is that the *epoch of the anchor used to validate the warrant* must equal the *epoch the peer's current policy bundle declares as authoritative*, and any task whose warrant epoch is behind must be re-warranted, not merely re-verified. ## What Was Observed A three-org federation: originator `A`, broker `B`, worker `C`. `A` issues a task warrant delegating `read:dataset` and `write:report` to `B`, signed under `C`'s anchor at epoch `e7`. `B` forwards the warrant to `C` for execution. Mid-task, `C`'s operator rotates its anchor to `e8` and publishes a new policy bundle that *drops* `write:report` from the delegated scope that `B` may sub-delegate — a routine least-privilege tightening. The trace: 1. `C` receives `B`'s forwarded warrant, epoch `e7`. `C` validates it against its **cached** `e7` anchor (rotation is lazy; the cache TTL is 300s). Validation returns `True`. 2. `C` executes `read:dataset`, then begins `write:report`. 3. `C`'s policy engine, consulted at *execution time* rather than *warrant-validation time*, loads the **new** `e8` bundle and finds `write:report` outside `B`'s sub-delegable scope. It raises a policy violation. 4. `C` reports failure to `B`. `B` re-verifies the warrant against its own cached `e7` anchor, gets `True`, and concludes `C` is misbehaving. `B` retries the same warrant twice. 5. `B`'s retry loop exhausts its budget; the task is marked failed with a *peer-fault* attribution that is wrong. `A` receives a spurious "worker `C` rejected valid warrant" incident. The non-obvious part: **every individual component did the locally correct thing.** `C`'s validator was right that the `e7` warrant was valid under `e7`. `C`'s policy engine was right that `e8` forbids the write. `B`'s re-verification was right. The failure lives in the *gap between two clocks* — the anchor epoch used for cryptographic validation and the epoch used for authorization — and no single component owned that gap. A second observed variant: when `C` rotated *without* narrowing scope (a pure key rotation), the same trace produced a *silent* success. The warrant validated under stale `e7`, execution succeeded under `e8`, and no one noticed that the task had crossed an epoch boundary. That silence is worse — it means the epoch-mismatch condition is not reliably surfaced by failure. It is only surfaced by *policy divergence*, which is exactly the case you cannot afford to rely on. ## Condition of Validity The guardrail holds only under these conditions, and an agent must check them explicitly rather than assume them: - **The peer's policy bundle carries an explicit `anchor_epoch` field** naming the epoch against which warrants must be validated. Without this field, there is no authoritative statement of "which epoch is current," and the agent cannot distinguish "stale cache" from "peer has not rotated." - **The warrant carries the epoch of the anchor under which it was minted**, not merely the issuer's key ID. Key IDs are reused across rotations in most PKI; epochs are not. - **Rotation is monotonic and the epoch is comparable as an ordered value.** If epochs are opaque hashes, the agent can test equality but not staleness; it must then treat any inequality as a hard stop rather than attempting to order. - **The cache TTL is bounded and the agent can force a re-fetch of the peer's current bundle** on epoch mismatch. A cache that cannot be invalidated on demand converts a recoverable mismatch into a persistent one. Where any of these fails, the invariant degrades to "best effort" and the agent must fall back to the conservative rule below. ## Decision Boundary The boundary is a single predicate evaluated at the moment a warrant is about to authorize an action, not at the moment it is first received: ``` warrant.anchor_epoch == peer.current_policy.anchor_epoch ``` Three outcomes, and the agent must not collapse them: - **Equal epochs** → proceed. Normal path. - **Warrant epoch strictly behind current epoch** → **halt and re-warrant.** Do not re-verify against the cached old anchor and continue. The correct action is to signal the issuer (`A`) to mint a fresh warrant under `e8`, or to have `B` re-delegate under `e8` if its scope permits. Re-verification is the trap: it returns `True` and tempts continuation. - **Warrant epoch ahead of current epoch, or unorderable** → **halt and escalate.** This indicates a split-brain: the peer is presenting a bundle older than a warrant it (or its issuer) already accepted. Continuing risks acting under a policy the peer has not yet acknowledged. The critical discipline: **the epoch check must run at execution time, against a freshly fetched bundle, on every action that the warrant authorizes** — not once at warrant intake. A warrant that was epoch-consistent at intake can become epoch-stale mid-task if the peer rotates during execution, which is precisely the observed trace. Intake-time checking alone reproduces the bug with a longer fuse. ## Operational Effect When the boundary is enforced, the failure mode inverts from *silent unauthorized execution and misattributed peer fault* to *a clean, correctly-attributed re-warrant request*. The retry loop at `B` no longer fires against a valid-but-stale warrant; instead `B` receives an explicit `EpochMismatch` signal naming both epochs and the required action. Incident attribution becomes accurate: the fault is "rotation outran the in-flight warrant," owned by the rotation coordinator, not the worker. The cost is added latency on every authorized action (a bundle fetch or a cache-validated epoch read) and a new class of halts during rotation windows. That cost is the price of the invariant: **cryptographic validity and authorization validity are separate properties, and only epoch agreement binds them.** An agent that verifies signatures but does not compare epochs has verified the wrong thing. ```python from dataclasses import dataclass class EpochMismatchError(RuntimeError): """Raised when a warrant's anchor epoch disagrees with the peer's current policy epoch.""" @dataclass(frozen=True) class Warrant: issuer: str anchor_epoch: int capabilities: frozenset[str] @dataclass(frozen=True) class PeerPolicy: anchor_epoch: int sub_delegable: frozenset[str] def authorize_action( warrant: Warrant, peer_policy: PeerPolicy, action: str, *, signature_valid: bool, ) -> None: # Signature validity is necessary but NOT sufficient: it says nothing about epoch. if not signature_valid: raise EpochMismatchError( f"warrant from {warrant.issuer} failed signature verification" ) if warrant.anchor_epoch != peer_policy.anchor_epoch: relation = ( "stale" if warrant.anchor_epoch < peer_policy.anchor_epoch else "ahead-or-unorderable" ) raise EpochMismatchError( f"epoch mismatch ({relation}): warrant epoch={warrant.anchor_epoch} " f"peer current epoch={peer_policy.anchor_epoch}; " f"action={action!r} must not proceed on stale verification" ) if action not in warrant.capabilities: raise EpochMismatchError( f"action {action!r} not in warrant capabilities {sorted(warrant.capabilities)}" ) if action not in peer_policy.sub_delegable: raise EpochMismatchError( f"action {action!r} outside peer sub-delegable scope at epoch " f"{peer_policy.anchor_epoch}" ) def run_task_step(warrant: Warrant, peer_policy: PeerPolicy, action: str) -> None: # Re-fetch peer_policy at execution time; never reuse an intake-time snapshot. authorize_action( warrant, peer_policy, action, signature_valid=verify(warrant) ) execute(action) def verify(warrant: Warrant) -> bool: # placeholder for real crypto check return True def execute(action: str) -> None: # placeholder for real tool call pass ```