# Where must an instance refuse a federated peer's re-signed capability warrant when trust-anchor rotation outpaces policy negotiation **Date of Record:** 2026 November 28 **Scope:** Applies to cross-organization agent federations where agent A in org X invokes agent B in org Y under a delegated capability warrant, and the warrant's trust anchor is a rotating signing key whose rotation schedule is independent of the policy-negotiation protocol (MCP/A2A-style capability handshakes). Does not apply to single-org agent meshes with a shared trust root, nor to stateless request/response tool calls that carry no delegated authority. ## Core Distinction The distinction that matters is between **warrant validity** (does the signature chain terminate at a currently-trusted anchor?) and **warrant admissibility** (was the policy the warrant encodes negotiated under an anchor that both parties still agree is authoritative for that policy generation?). Most federation implementations conflate these. A re-signed warrant can be cryptographically valid against a fresh anchor while being semantically inadmissible because the policy terms it carries were negotiated under a *previous* anchor whose revocation semantics the peer has already discarded. Concretely: org Y rotates its signing anchor from `K_Y1` to `K_Y2` and, per its internal key policy, keeps `K_Y1` in a "verify-only, no re-issue" state. Org X's policy negotiation layer, however, caches the negotiated capability envelope it agreed to under `K_Y1` and lazily re-validates only the *signature*, not the *negotiation epoch*. When Y re-signs an in-flight warrant with `K_Y2`, X accepts it — the chain terminates at a trusted anchor — but the warrant now asserts capabilities that were never negotiated under `K_Y2`'s policy generation. The failure is silent: no signature check fails, no timeout fires, and the agent executes with a privilege envelope that has no negotiated provenance. ## What Was Observed A three-org federation (X, Y, Z) ran a baton-passing workflow: X's planner agent delegated a `write:dataset` capability to Y's executor, which sub-delegated a narrowed `write:partition` to Z's worker. During a scheduled rotation on Y's anchor (`K_Y1 → K_Y2`, overlap window 90 s), the following trace was captured: 1. `t=0` — X negotiates envelope `E1` with Y under anchor `K_Y1`. Envelope pins `max_write_scope=dataset`, `policy_generation=7`, `anchor=K_Y1`. 2. `t=41s` — Y rotates to `K_Y2`. Y's re-signer, seeing an in-flight warrant signed by `K_Y1`, re-signs it under `K_Y2` to keep the chain fresh, **preserving the original `policy_generation=7` claim verbatim** but re-attesting it with `K_Y2`. 3. `t=63s` — X receives the re-signed warrant. Signature chain: `Z_worker ← Y_executor(K_Y2) ← X_planner`. Terminates at trusted `K_Y2`. **Accepted.** 4. `t=64s` — Y's policy store, post-rotation, has advanced to `policy_generation=8`, in which `write:partition` sub-delegation to third parties requires an explicit `delegable=true` flag. Generation 7 did not have this requirement. The re-signed warrant carries generation 7 but is now vouched for by an anchor that governs generation 8. 5. `t=65s` — Z's worker executes a `write:partition` that generation-8 policy would have blocked. No error surfaced at any hop. The observable signature of the bug: `policy_generation` in the warrant (7) diverged from the anchor's current governing generation (8), and the acceptance path never compared them. The re-signing step laundered a stale policy claim through a fresh cryptographic attestation. ## Condition of Validity The invariant that must hold for federated acceptance to be sound: > A warrant is admissible at verifier V iff (a) its signature chain terminates at an anchor trusted by V, **and** (b) the `policy_generation` asserted in the warrant equals the generation the terminating anchor is currently authoritative for, **and** (c) the negotiation epoch recorded at warrant issue is not older than the anchor's own epoch floor. Condition (b) is the one routinely omitted. It is only *safe* to omit when anchor rotation and policy-generation advancement are atomic — i.e., a new anchor is only ever minted together with a new generation, and old anchors are retained solely to verify warrants of their own generation. The moment a re-signer is allowed to re-attest an old-generation claim under a new anchor, (b) becomes load-bearing and its absence is a privilege-laundering vector. The failure does **not** occur when: - The re-signer refuses to re-sign warrants whose `policy_generation` predates the new anchor's floor (it should re-negotiate instead). - The verifier checks generation equality on every hop, not just at the origin. - Rotation is gated on quiescence of all in-flight warrants (impractical for long-running baton passes, hence the re-signing exists at all). ## Decision Boundary The decision boundary is precise: **an instance must refuse to accept a re-signed warrant when the terminating anchor's governing `policy_generation` exceeds the warrant's asserted generation, and must instead force a re-negotiation round-trip.** It must *not* refuse merely because the anchor changed — anchor change with unchanged generation is benign rotation and should pass. It must *not* accept merely because the signature verifies — that is the bug. Two corollaries bound the refusal: 1. **Refuse-and-renegotiate, not refuse-and-drop.** Dropping the baton strands downstream agents holding sub-warrants derived from the stale envelope. The correct action is to halt execution at the boundary, mark the warrant `STALE_GENERATION`, and re-issue a negotiation request to the delegating peer. The downstream sub-warrants must be invalidated transitively (their ancestor's generation is now unbacked). 2. **The generation check is per-hop, not origin-only.** Z's worker in the trace above would have caught the divergence at `t=64s` had it compared Y's anchor generation to the warrant's asserted generation. Origin-only checking leaves the laundering window open for the entire delegation depth. The boundary is *not* triggered when the warrant's generation exceeds the anchor's governing generation — that indicates the verifier's anchor metadata is stale, a different failure (anchor-metadata lag) requiring a metadata refresh, not a warrant refusal. ## Operational Effect Enforcing the generation-equality invariant converts a silent privilege-laundering path into a bounded, observable re-negotiation event. The operational consequences: - **Latency cost:** every cross-org hop pays one anchor-metadata lookup (governing generation for the terminating anchor). This is cacheable with a short TTL bounded by the rotation overlap window; a 90 s overlap implies a metadata TTL ≤ 30 s to stay inside the safe margin. - **Availability cost:** during rotation overlap, in-flight warrants of the prior generation will be refused and forced to renegotiate. Baton-passing workflows must therefore be *resumable at the negotiation boundary*, not just at tool-call boundaries — a checkpoint must capture the negotiated envelope, not merely the execution cursor. - **Audit gain:** every `STALE_GENERATION` refusal is a first-class signal that rotation outran negotiation. Emitting it as a structured event lets the federation's control plane detect when rotation cadence is systematically faster than negotiation round-trip time — the root cause condition that produced the original laundering window. The invariant is cheap to check and expensive to omit. The check is a single integer comparison at each hop; the omission is an unbounded privilege-escalation surface that no signature verification will ever surface. ```python from dataclasses import dataclass class StaleGenerationWarrantError(RuntimeError): """Raised when a re-signed warrant's asserted policy_generation predates the governing generation of the anchor that terminates its chain.""" pass @dataclass(frozen=True) class Warrant: subject: str asserted_generation: int terminating_anchor: str signature_chain_valid: bool @dataclass(frozen=True) class AnchorMetadata: anchor_id: str governing_generation: int def admit_warrant(warrant: Warrant, anchor: AnchorMetadata) -> None: if warrant.terminating_anchor != anchor.anchor_id: raise StaleGenerationWarrantError( f"anchor mismatch: warrant terminates at {warrant.terminating_anchor}, " f"verifier holds metadata for {anchor.anchor_id}" ) if not warrant.signature_chain_valid: raise StaleGenerationWarrantError( f"signature chain invalid for subject {warrant.subject}" ) # The load-bearing invariant: cryptographic validity is not admissibility. if warrant.asserted_generation < anchor.governing_generation: raise StaleGenerationWarrantError( f"privilege laundering blocked: warrant for {warrant.subject} asserts " f"policy_generation={warrant.asserted_generation}, but anchor " f"{anchor.anchor_id} now governs generation={anchor.governing_generation}. " f"Force re-negotiation and invalidate derived sub-warrants." ) if warrant.asserted_generation > anchor.governing_generation: raise StaleGenerationWarrantError( f"anchor metadata lag: warrant generation={warrant.asserted_generation} " f"exceeds known generation={anchor.governing_generation}; refresh metadata" ) # Generation equality: admissible. ```