# In what scenarios must an instance reject a federated peer's delegated warrant when the trust-anchor chain re-anchors mid-handoff **Date of Record:** 2026 December 2 **Scope:** Applies to cross-organization agent federations where a peer instance presents a *delegated warrant* (a signed capability grant chained back to a root trust anchor) and the receiving instance must decide whether to honor a handoff. Does not apply to single-org deployments with a shared anchor, nor to stateless request/response calls where no warrant is carried across an instance boundary. ## Core Distinction The naive model of federated trust is *anchor equality*: if the peer's warrant chains to the same root anchor that I trust, honor it. The failure mode lives one level down. A delegated warrant is not a static object—it is a *chain* of signed grants, each re-delegating a subset of capabilities, each carrying a validity window and an `issuer → subject` edge. Between the moment a peer mints a warrant and the moment my instance verifies it mid-handoff, the *anchor chain can re-anchor*: the peer's federation rotates its intermediate signing key, reparents a sub-CA, or promotes a new root during the handoff window. The distinction that matters: **anchor identity is not anchor continuity.** Two warrants can both verify to `root:acme-federation` and still be non-composable, because one was issued under `intermediate:v3` (revoked at T+4s) and the other under `intermediate:v4` (not yet in my trust store). Verification succeeds on each warrant *in isolation*; the *handoff* fails because the two halves of the delegated chain were anchored to incompatible intermediate epochs. This is a continuity invariant failure, not an authentication failure—and it is invisible to any check that only asks "does this chain reach a trusted root?" ## What Was Observed A two-org federation: Org A (`planner`) delegates a `write:ledger` capability to a sub-agent hosted by Org B (`executor`) for a 90-second task. The warrant chain presented at handoff: ``` root:acme-federation └─ intermediate:acme-v3 (valid 00:00–12:00, key rotated at 11:58) └─ grant:planner→executor (scope: write:ledger, exp: +90s) └─ grant:executor→worker-7 (scope: write:ledger, exp: +60s) ``` The receiving instance (`worker-7`'s host) verified the chain at T=11:59:30 and accepted it. At T=11:59:52—mid-execution, after `worker-7` had already written two ledger entries—the peer's federation *re-anchored*: `intermediate:acme-v3` was retired and `intermediate:acme-v4` promoted, with a cross-signing overlap window that the peer's own verifier honored but that had not yet propagated to the receiving instance's trust store. The receiver's next verification pass (triggered by a routine re-check before the third ledger write) walked the chain, hit `intermediate:acme-v3`, found it *still present* in the local store but now flagged `retiring`, and—critically—found that the *delegated sub-grant* `executor→worker-7` had been re-signed under `acme-v4` by the peer during the handoff. The two halves of the chain now referenced different intermediate epochs. The receiver's verifier, which checked "chain reaches trusted root" rather than "all links share one intermediate epoch," **accepted the re-signed sub-grant and rejected the original top grant in the same pass**, producing a partial-chain state: `worker-7` held a valid leaf grant whose parent link was `retiring` and whose grandparent was `unknown`. Observed outcomes across 40 replay trials of this exact scenario: - 31 trials: partial-chain acceptance → `worker-7` continued writing under a leaf grant whose parent was no longer authoritative. **Silent trust widening**: the leaf grant's scope (`write:ledger`) was honored even though the delegating grant that authorized it had lapsed. - 6 trials: hard rejection at the re-check, but *after* two writes—leaving the ledger in a state the planner could not reconcile (writes were committed but the warrant that justified them was retroactively invalid). - 3 trials: deadlock. The receiver refused to proceed and the peer refused to re-issue, each waiting on the other to re-anchor first. Neither had a timeout on the *negotiation*, only on the *call*. The non-obvious part: the failure was not "the warrant was invalid." Every individual signature verified. The failure was that **the chain was never re-validated as a single contiguous epoch** across the re-anchor event. The re-anchor was a legitimate, expected federation operation; the bug was that the receiver treated warrant verification as a point-in-time check and the handoff as a durable state. ## Condition of Validity The invariant that must hold for a delegated warrant to remain honorable across a handoff is **epoch contiguity**, not root reachability: > For every link `L_i` in the delegated chain, the intermediate epoch under which `L_i` was signed must be *simultaneously valid* in the receiver's trust store at the moment of *every* verification pass during the handoff, and all links must share the *same* epoch or an explicitly cross-signed overlap. This is stricter than standard path validation (RFC 5280-style), which permits each link to validate against whatever intermediate is current *at the time that link is checked*. Path validation is per-link and stateless; epoch contiguity is per-*chain* and stateful across the handoff window. The condition fails whenever: 1. The anchor re-anchors between the first and last link verification, **and** 2. The receiver's trust store has not yet converged on the new epoch (propagation lag), **and** 3. The peer re-signs any link in the chain under the new epoch mid-handoff (so the chain is no longer homogeneous). Any one of these alone is benign. All three together produce the partial-chain state. ## Decision Boundary The receiver must draw a hard line: **a warrant whose chain is not epoch-homogeneous at verification time is not "partially valid"—it is invalid, and the handoff must be aborted, not continued under the surviving leaf.** Concretely, the decision boundary is: - **Accept** only if all links share one epoch `E`, `E` is `active` (not `retiring`) in the local store, and the chain was verified as a unit in a single pass with no re-anchor observed between mint and verify. - **Reject and abort** if any link is `retiring` or `unknown`, *even if* the leaf grant is individually valid and its scope covers the pending operation. A valid leaf under a lapsed parent is a *trust-widening hazard*, not a degraded-but-usable credential. - **Reject and renegotiate** (distinct from abort) if the chain is epoch-heterogeneous but the peer can present a *cross-signed overlap*: a single warrant signed under both `E_old` and `E_new` covering the full remaining scope. Without that overlap, renegotiation is a deadlock risk and must carry its own timeout. - **Never** honor a leaf grant whose parent link failed epoch contiguity, regardless of leaf validity. The leaf's authority is *derived*, and a broken derivation is not a weaker authority—it is no authority. The boundary that operators get wrong: they treat "leaf still valid" as a reason to continue. In a delegated-warrant system the leaf is a *claim*, the chain is the *proof*, and a broken proof invalidates the claim. Continuing on a valid leaf with a lapsed parent is the exact mechanism by which a re-anchor event silently widens trust beyond what any anchor authorized. ## Operational Effect Enforcing epoch contiguity changes the failure profile from *silent trust widening* to *loud, bounded abort*: - **No partial-chain acceptance.** The 31/40 silent-widening trials become hard aborts. The ledger never receives a write justified by a lapsed parent. - **No retroactive invalidation of committed writes.** Because the re-check runs *before* each write and validates the whole chain, the 6/40 "wrote then invalidated" trials become "aborted before write." The planner's reconciliation problem disappears. - **Deadlock becomes explicit and time-boxed.** The 3/40 deadlocks are surfaced as a distinct `RenegotiationRequired` outcome with its own deadline, rather than an indefinite wait. The receiver either obtains a cross-signed overlap within the window or aborts; it never blocks on the peer's re-anchor. - **Re-anchor events become observable.** Every abort emits the epoch pair (`E_old`, `E_new`) and the failing link, turning a silent continuity break into a telemetry signal the federation can use to widen propagation or lengthen cross-signing overlap windows. The cost is availability during re-anchor windows: some handoffs that *would have* succeeded under permissive validation now abort. That is the correct trade. A federated trust system that honors a valid leaf under a lapsed parent is not more available—it is more *exploitable*, and the exploit is indistinguishable from normal operation until the ledger is audited. ```python from dataclasses import dataclass from enum import Enum from typing import Optional class EpochState(Enum): ACTIVE = "active" RETIRING = "retiring" UNKNOWN = "unknown" class EpochContiguityError(RuntimeError): """Raised when a delegated warrant chain is not epoch-homogeneous at verification time.""" pass @dataclass class Link: issuer: str subject: str epoch: str scope: str @dataclass class WarrantChain: links: list[Link] cross_signed_overlap: Optional[Link] = None def verify_epoch_contiguity( chain: WarrantChain, trust_store: dict[str, EpochState], ) -> None: """ Enforce the epoch-contiguity invariant across a delegated warrant chain. Rejects heterogeneous chains, retiring/unknown epochs, and broken derivations. """ if not chain.links: raise EpochContiguityError("empty warrant chain: no derivable authority") epochs = {link.epoch for link in chain.links} if len(epochs) > 1: # Heterogeneous chain: only acceptable if a cross-signed overlap covers the full scope. if chain.cross_signed_overlap is None: raise EpochContiguityError( f"epoch-heterogeneous chain {sorted(epochs)} with no cross-signed overlap; " f"reject and renegotiate, do not continue on surviving leaf" ) overlap_scope = chain.cross_signed_overlap.scope for link in chain.links: if link.scope != overlap_scope: raise EpochContiguityError( f"cross-signed overlap scope {overlap_scope!r} does not cover " f"link scope {link.scope!r}" ) for link in chain.links: state = trust_store.get(link.epoch, EpochState.UNKNOWN) if state is not EpochState.ACTIVE: raise EpochContiguityError( f"link {link.issuer}->{link.subject} anchored to epoch {link.epoch!r} " f"in state {state.value}; a valid leaf under a non-active parent " f"is a trust-widening hazard, not a degraded credential" ) def attempt_handoff( chain: WarrantChain, trust_store: dict[str, EpochState], pending_scope: str, ) -> bool: verify_epoch_contiguity(chain, trust_store) leaf = chain.links[-1] if not leaf.scope.startswith(pending_scope.split(":")[0]): raise EpochContiguityError( f"leaf scope {leaf.scope!r} does not authorize pending operation {pending_scope!r}" ) return True # Replay of the observed failure: re-anchor mid-handoff, v3 retiring, v4 propagated to peer only. trust_store = {"acme-v3": EpochState.RETIRING, "acme-v4": EpochState.UNKNOWN} chain = WarrantChain( links=[ Link("planner", "executor", "acme-v3", "write:ledger"), Link("executor", "worker-7", "acme-v4", "write:ledger"), ], cross_signed_overlap=None, ) attempt_handoff(chain, trust_store, "write:ledger") # raises EpochContiguityError ```