# Under what conditions must an instance treat a cross-org attestation chain as broken rather than merely stale: the anchor-rotation gap in federated agent warrant propagation **Date of Record:** 2026 November 28 **Scope:** Applies to federated agent systems where Agent A (org X) presents a signed warrant/attestation chain to Agent B (org Y) whose trust is anchored in a pinned root key or JWKS snapshot. Does not apply to single-org deployments with a shared trust store, nor to purely capability-token systems with no cross-org identity layer. ## Core Distinction The failure that matters here is not signature forgery and not simple expiry. It is the **anchor-rotation gap**: the window in which a receiving org's pinned trust anchor (root key, issuer key, or JWKS document) has been rotated by the issuing org while the receiver still holds the pre-rotation anchor. During that window, a *valid* attestation chain presented by a *legitimate, uncompromised* peer agent fails signature verification against the receiver's stale anchor. The receiver cannot distinguish this from a genuine forged-credential attack by inspection of the chain alone: both produce "signature does not verify against my pinned key." The non-obvious invariant: **verification failure against a pinned anchor is ambiguous between (a) attacker presenting a forged chain and (b) honest peer whose issuer rotated keys.** A correct federation design must make this ambiguity *resolvable without trusting the presenter* — otherwise agents either fail-closed and break legitimate cross-org handoffs on every rotation, or fail-open and accept forged chains during rotation windows. Both are catastrophic, and they are triggered by the *same* observable event. ## What Was Observed A two-org federation: org `X` runs planner agent `Px`; org `Y` runs executor agent `Ey`. `Px` issues a delegated warrant to `Ey` (or to a sub-agent `Sx` that then hands off to `Ey`) signed by `X`'s issuer key `Kx`, whose certificate chains to root `Rx`. `Y` pins `Rx` in a local trust manifest at deployment time. At T0, `X` rotates `Rx → Rx'` and re-issues `Kx → Kx'`. `X`'s agents begin presenting chains terminating at `Rx'`. `Y`'s pinned anchor is still `Rx`. The observed trace: 1. `Sx` (org X) calls `Ey` (org Y) with a well-formed warrant: `W = sign(Kx', claims)`, chain `[cert(Kx', Rx'), cert(Rx', ...)]`. 2. `Ey` verifies `W` against pinned `Rx`. Signature check fails: `Kx'`'s cert is signed by `Rx'`, not `Rx`. `Ey` has no path from `Rx'` to its pinned `Rx`. 3. `Ey`'s policy is fail-closed. It rejects `Sx`'s handoff with `AttestationRejected`. 4. `Sx`, receiving the rejection, retries with its *cached* pre-rotation credential (many agent runtimes hold a credential cache with a TTL longer than the rotation event). The retry also fails — `X` has begun revoking `Kx`-signed warrants — producing a *second* distinct error class. 5. The multi-agent task deadlocks: `Px` waits on `Sx`'s handoff to `Ey`; `Ey` waits for a verifiable warrant; neither advances. The task times out at the orchestrator layer with no agent having produced a *wrong* answer — it produced *no* answer, which is worse for auditability because the failure is silent at the task layer. The critical observation: **steps 2 and 4 are indistinguishable at the receiver.** In step 2, `Ey` sees a chain it cannot verify. In step 4, `Ey` sees a chain it *can* verify but that `X` has since revoked. Neither the chain bytes nor the local anchor state tell `Ey` which world it is in. The receiver is reasoning under exactly the ambiguity the invariant warns about. ## Condition of Validity The anchor-rotation gap is *bounded and safe* only when all of the following hold: - **Overlap window.** The issuing org publishes `Rx'` *before* it stops signing with `Kx`, and keeps `Rx` published (as a superseded-but-valid anchor) for a declared `rotation_overlap` interval `Δ`. Receivers must accept chains terminating at *either* anchor during `Δ`. - **Anchor freshness bound.** The receiver's pinned anchor has a maximum staleness `S` (e.g., 15 minutes) enforced by a refresh loop that pulls the issuer's JWKS/root document from a *pinned transport* (mTLS to a known issuer endpoint, or a signed root document), not from the presenter. The invariant is `S < Δ`. If the receiver's anchor can be stale longer than the issuer's overlap window, the gap is unbounded and the ambiguity is unresolvable. - **Revocation is separately authenticated.** Revocation of `Kx`-signed warrants must be discoverable through a channel the receiver trusts *independently* of the presented chain — e.g., a signed revocation list or OCSP-like status endpoint at the issuer. Without this, step 4 is genuinely indistinguishable from step 2 and the receiver must fail closed. - **Anchor continuity proof.** The new root `Rx'` must carry a cross-signature or continuity attestation from `Rx` (root `Rx` signs a statement "`Rx'` is my successor"). This lets a receiver that *does* hold `Rx` cryptographically bridge to `Rx'` without out-of-band trust, collapsing the ambiguity to a verifiable transition. If any of these fail — no overlap, staleness unbounded, revocation unauthenticated, no continuity proof — the receiver is in an *unbounded* anchor gap and must treat every unverifiable chain as hostile. That is the correct but operationally expensive posture. ## Decision Boundary The receiver's decision procedure at verification time: - **Chain verifies against current pinned anchor** → accept. (No ambiguity.) - **Chain verifies against a *superseded* anchor still within `Δ`** → accept, but tag the warrant `anchor_age = now - anchor_publish_time` and propagate that tag downstream so auditors can see the warrant was accepted on a stale-but-in-window anchor. - **Chain terminates at an unknown root `Rx'`, and `Rx'` presents a valid continuity proof signed by the receiver's pinned `Rx`** → accept after verifying continuity, *and* schedule an anchor refresh; do not accept a second such chain until the refresh completes (bound the blast radius of a single continuity-proof acceptance). - **Chain terminates at an unknown root with no continuity proof, and receiver's anchor staleness `> S`** → **reject as hostile.** The receiver cannot rule out forgery; it has exceeded its freshness bound. - **Chain terminates at an unknown root, no continuity proof, but staleness `≤ S`** → **do not reject and do not accept: suspend and refresh.** The correct action is a bounded *hold*: pause the handoff, trigger an out-of-band anchor refresh against the pinned issuer endpoint, and re-verify. If refresh confirms `Rx'` is the legitimate successor, proceed; if refresh returns `Rx` unchanged, the chain is forged — reject and raise a security event. The failure mode observed in production is that most agent runtimes implement only rows 1 and 4 — accept-if-verifies, reject-otherwise — collapsing the `≤ S` hold case into a hard reject. That is the deadlock. The *hold* state is the missing architectural primitive: a third outcome between accept and reject that a stateful agent protocol must expose, because the receiver's information state is genuinely "not yet determined." ## Operational Effect Concretely, the guardrails that close the gap: - **Expose `SUSPENDED_PENDING_ANCHOR_REFRESH` as a first-class handoff outcome** in the A2A/MCP transport, distinct from `REJECTED`. The presenter must be able to distinguish "you are untrusted" from "I cannot yet decide" — otherwise the presenter's retry logic (step 4 above) fires against the wrong error and burns the credential cache. - **Bind anchor refresh to a pinned endpoint, never to the presenter.** The refresh must not accept a JWKS document carried in the presented chain; that reintroduces the attack (attacker supplies a forged root document). The refresh channel is a separate authenticated fetch. - **Enforce `S < Δ` as a deployment invariant, checked at startup.** If the configured anchor staleness exceeds the peer's declared overlap window, the federation link must refuse to come up — a config-time failure, not a runtime deadlock. - **Carry `anchor_publish_time` and `anchor_superseded` flags in the accepted warrant envelope** so that downstream auditors can replay the decision and see *which* anchor epoch a given handoff was accepted under. Without this, post-incident replay cannot reconstruct why a warrant was accepted during a rotation window. - **Rate-limit continuity-proof acceptance.** A single receiver accepting many distinct new roots via continuity proof within a short window is a signature of a compromised issuer key or a forged-continuity attack; cap it and alert. The deadlock observed in the trace was not a bug in either agent's reasoning. It was a missing state in the protocol: the receiver had no way to represent "I am between anchors." Adding that state — and the pinned-refresh channel that resolves it — converts an unresolvable ambiguity into a bounded, auditable transition. ```python class AnchorGapError(RuntimeError): """Raised when a receiver cannot resolve an attestation chain against its pinned trust anchor within the declared freshness/overlap bounds.""" pass def verify_cross_org_warrant( chain, pinned_anchor, *, anchor_staleness_s: float, max_staleness_s: float, overlap_window_s: float, refresh_anchor, ): # Invariant: staleness bound must be strictly less than the issuer's # declared rotation overlap, or the gap is unbounded and unresolvable. if max_staleness_s >= overlap_window_s: raise AnchorGapError( f"unbounded anchor gap: max_staleness_s={max_staleness_s} " f">= overlap_window_s={overlap_window_s}; federation link must not start" ) # Row 1: verifies against current pinned anchor. if chain.verifies_against(pinned_anchor): return ("ACCEPT", {"anchor_age_s": anchor_staleness_s}) # Row 2: verifies against a superseded anchor still inside the overlap window. if chain.verifies_against(pinned_anchor.superseded) and anchor_staleness_s < overlap_window_s: return ("ACCEPT", {"anchor_age_s": anchor_staleness_s, "superseded": True}) # Row 3: unknown root carrying a continuity proof from the pinned anchor. if chain.root_continuity_proof and chain.root_continuity_proof.verify(pinned_anchor): return ("ACCEPT_PENDING_REFRESH", {"new_root": chain.root}) # Rows 4/5: unknown root, no continuity proof. if anchor_staleness_s > max_staleness_s: # Cannot rule out forgery and we are past our freshness bound. raise AnchorGapError( f"unverifiable chain with stale anchor " f"(staleness={anchor_staleness_s}s > {max_staleness_s}s); treating as hostile" ) # Within freshness bound: suspend, refresh out-of-band against the pinned # issuer endpoint (never against the presenter), then re-verify. refreshed = refresh_anchor(pinned_anchor.issuer_endpoint) if refreshed.matches(chain.root): return ("ACCEPT_AFTER_REFRESH", {"new_root": chain.root}) if refreshed.matches(pinned_anchor): raise AnchorGapError( "chain root does not match issuer's published anchor after refresh; " "forged or mis-issued chain" ) raise AnchorGapError("refresh returned unrecognized anchor; manual review required") ```