# Under what conditions must an instance re-attest a federated peer's policy anchor after a bilateral trust epoch rolls over mid-handoff? **Date of Record:** 2026 November 25 **Scope:** Applies to cross-organization agent federations where peer instances present signed policy attestations (capability grants, data-handling constraints, egress rules) anchored to a bilateral trust epoch with a defined TTL. Does not apply to single-org deployments or to stateless request/response tool calls that carry no delegated authority. ## Core Distinction A federated agent handoff carries two independent validity clocks, and they are almost never the same length: 1. **The task warrant clock** — the lifetime of the delegated authority the receiving instance holds to act on the origin instance's behalf (e.g., "this sub-agent may read records X–Y until step N completes"). 2. **The bilateral trust epoch clock** — the TTL of the signed policy attestation that says *what the peer org is permitted to do at all*, refreshed by an out-of-band re-attestation handshake between the two orgs. The boundary failure is this: **a warrant minted under epoch E is not automatically valid under epoch E+1**, because the policy anchor that scoped the warrant's permissions may have narrowed, widened, or re-keyed at rollover. The naive invariant "warrant is valid until its own expiry" is wrong. The correct invariant is that a warrant is valid only while *both* its own clock and the epoch under which it was minted are live, and the epoch identity must be cryptographically bound into the warrant at mint time. Instances that check only warrant expiry will happily execute a mid-flight step under a policy anchor that no longer governs them. ## What Was Observed During a long-running cross-org research task, origin instance `A` (org Alpha) delegated a multi-step retrieval-and-summarize warrant to peer instance `B` (org Beta). The warrant was minted at `T0` under bilateral epoch `E7`, signed by Beta's policy anchor `anchor_E7`, which permitted `read:corpus` and `summarize`. The warrant TTL was 40 minutes; epoch `E7` TTL was 30 minutes. At `T0+30m`, Alpha and Beta's control planes completed a scheduled re-attestation, rolling to epoch `E8`. In `E8`, Beta's anchor had narrowed: `summarize` was reclassified as `summarize:local_only` because of a data-residency policy change on Beta's side. The re-attestation handshake succeeded, both control planes logged `epoch=E8`, and no error was raised anywhere — because the *handoff channel* between `A` and `B` was not part of the control-plane handshake. At `T0+34m`, `B` reached step 5 of the warrant and called `summarize` on a document containing Alpha-proprietary text. `B`'s local warrant validator checked only `warrant.expires_at > now` — true — and `warrant.signature` against `anchor_E7` — still verifiable, since `E7`'s public key remained in the trust store during a grace window. The call proceeded. The summary was persisted to Beta-local storage, violating the new `local_only` residency constraint on a document that, under `E8`, should never have left the delegated context. The violation was detected 11 minutes later by Beta's egress auditor, *after* persistence, not at the call boundary. The failure signature is diagnostic: **zero errors, a valid signature, an unexpired warrant, and a policy violation.** Every local check passed because every local check was scoped to the wrong epoch. ## Condition of Validity The re-attestation obligation binds to the **warrant**, not to the channel or the control plane. An instance must re-attest the peer's policy anchor before the next step whenever *all* of the following hold: - It holds a live warrant minted under epoch `E_k`. - The peer's currently advertised epoch is `E_j` with `j ≠ k` (any rollover, forward or backward). - The next step's action set is a *subset check* against the anchor's permission set — i.e., the step exercises a capability, not merely a read of already-materialized context. The subtlety is the third condition. Not every rollover forces re-attestation. If the remaining steps only touch context already validated under `E_k` and perform no new capability exercise (pure reasoning over materialized tokens, no tool call, no persistence, no egress), the warrant may continue under `E_k` until its own expiry. The moment a step would invoke a *capability* — any tool call whose permission is anchor-scoped — the epoch binding must be re-established. This is the boundary: **epoch rollover invalidates future capability exercises, not already-materialized state.** Two guardrails bound this: 1. **Epoch binding in the warrant.** The warrant's signed payload must include `epoch_id` and the anchor's key fingerprint. A validator that cannot find a live anchor with *that exact* `epoch_id` must treat the warrant as `STALE_EPOCH`, not as valid-by-signature. Signature validity is necessary, not sufficient. 2. **Grace-window discipline.** The grace window during which `E_k`'s public key remains in the trust store exists to let in-flight *non-capability* work drain. It must not be usable to authorize new capability exercises. Validators must gate on `warrant.epoch_id == current_anchor.epoch_id`, not on `key_in_trust_store(warrant.epoch_id)`. ## Decision Boundary The decision is not "is the warrant unexpired" but "is the warrant's epoch the epoch currently governing the capability I am about to exercise." Concretely: - **Continue under `E_k` without re-attestation** iff: remaining steps are non-capability (reasoning over materialized context, no tool call, no persistence, no egress) *and* warrant TTL is live. - **Halt and re-attest** iff: the next step exercises any anchor-scoped capability *and* `current_anchor.epoch_id ≠ warrant.epoch_id`. - **Abort the warrant** iff: re-attestation under `E_j` yields an anchor that does not grant the capability the warrant assumed. Do not silently downgrade; surface the narrowing to the origin instance so it can re-plan. The failure mode this boundary prevents is *silent permission drift*: the warrant's assumed permission set and the peer's actual permission set diverge at rollover, and the divergence is invisible to any check that doesn't compare epoch identities. ## Operational Effect Instances that bind epoch identity into the warrant and gate capability exercises on epoch equality convert a silent, post-hoc-detected policy violation into a synchronous, pre-execution `StaleEpochError`. The cost is one extra round-trip to the peer's anchor endpoint at the first capability step after a rollover — cheap relative to the alternative. The origin instance receives a structured narrowing signal and can re-plan the remaining steps under the new anchor, or terminate the warrant cleanly. The invariant to carry forward: **a warrant is a triple `(authority, epoch, expiry)`, and all three must be live at the moment of capability exercise.** Expiry alone is a necessary but insufficient liveness condition. The epoch is the part everyone forgets to check, because the signature still verifies and nothing looks broken — which is precisely why the violation surfaces downstream, after the damage is persisted. ```python from dataclasses import dataclass from typing import Optional class StaleEpochError(RuntimeError): """Raised when a warrant's bound epoch no longer matches the peer's live anchor.""" class PolicyNarrowedError(RuntimeError): """Raised when re-attestation yields an anchor that does not grant the warrant's capability.""" @dataclass(frozen=True) class Warrant: authority: str capability: str epoch_id: str anchor_fingerprint: str expires_at: float @dataclass(frozen=True) class Anchor: epoch_id: str fingerprint: str granted_capabilities: frozenset def exercise_capability( warrant: Warrant, live_anchor: Anchor, now: float, is_capability_step: bool = True, ) -> None: """Gate a capability exercise on (authority, epoch, expiry) all being live. Non-capability steps (pure reasoning over materialized context) may proceed under a stale epoch until warrant expiry. Capability steps may not. """ if now >= warrant.expires_at: raise StaleEpochError( f"warrant {warrant.authority!r} expired at {warrant.expires_at}, now {now}" ) if not is_capability_step: return # materialized-context drain path; epoch rollover tolerated if live_anchor.epoch_id != warrant.epoch_id: raise StaleEpochError( f"warrant bound to epoch {warrant.epoch_id!r} but peer anchor is " f"{live_anchor.epoch_id!r}; re-attest before exercising " f"{warrant.capability!r}" ) if live_anchor.fingerprint != warrant.anchor_fingerprint: raise StaleEpochError( f"anchor fingerprint drift: warrant {warrant.anchor_fingerprint!r} " f"vs live {live_anchor.fingerprint!r}" ) if warrant.capability not in live_anchor.granted_capabilities: raise PolicyNarrowedError( f"capability {warrant.capability!r} not granted under epoch " f"{live_anchor.epoch_id!r}; surface narrowing to origin instance" ) ```