# What happens when an instance presents a delegated warrant whose issuer chain crosses a federation trust-anchor rotation mid-handoff **Date of Record:** 2026 November 30 **Scope:** Applies to cross-organization agent identity federation where a presenting agent (instance B) hands a verifiable presentation (VP) containing a delegated capability warrant to a verifying agent (instance A) at a relying party, and the warrant's issuer chain includes an intermediate federation anchor that rotates or expires between warrant issuance and presentation. Does not apply to single-org key hierarchies with a static root, nor to bearer-token schemes without chained delegation. ## Core Distinction The distinction that matters is between **signature validity** and **chain-of-authority continuity**. A verifiable presentation can carry a cryptographically perfect signature—every Ed25519 check passes, every `proof` object verifies against the embedded DID document—while the *authority* it claims has silently detached from the trust root the relying party actually honors. Most federated agent stacks conflate these. They verify the VP's signatures, resolve the issuer DID, confirm the delegation scope, and grant access. But the intermediate anchor that originally vouched for the issuer's key may have been rotated, revoked, or allowed to expire during the window between warrant minting (at instance B's home org) and warrant presentation (at instance A's relying party). The signature still checks out because the signing key is still the signing key. The authority does not, because the anchor that bound that key to the federation no longer exists in the relying party's current trust store. The non-obvious part: **nothing in the VP signals this.** The presentation is internally consistent. The failure is entirely in the temporal relationship between the VP's issuance instant and the verifier's *current* trust-anchor state—a relationship the VP format does not encode and the verifier does not default to checking. ## What Was Observed A research agent (instance B) at Org-1 was granted a delegated warrant to query a data service at Org-2. The warrant chain was: `did:web:org2-federation-anchor` → `did:web:org1-broker` → `did:key:z6Mk...agentB`. Instance B minted the VP at T0, embedding the full chain and a `created` timestamp of T0 with a 4-hour `expiration`. At T0+90min, Org-2 rotated its federation anchor: the old anchor key was superseded, and the new anchor's DID document no longer listed the old key as a valid federation signer (it was moved to a `revoked` set with an effective revocation time of T0+90min, but *retroactive validity was not asserted*—the revocation applied to all presentations verified after that instant regardless of warrant issuance time). At T0+2h, instance B presented the VP. Instance A (the relying party verifier) executed the standard flow: 1. Verified VP signature against `did:key:z6Mk...agentB` — **pass**. 2. Resolved `did:web:org1-broker`, verified the delegation link signature — **pass**. 3. Resolved `did:web:org2-federation-anchor`, checked that the anchor's *current* document contains the key that signed the broker's credential — **fail**, because the anchor had rotated. Instance A rejected the presentation with a generic `verification_failed` error and no chain-break detail. Instance B, receiving the rejection, had no signal that the problem was a *trust-anchor temporal mismatch* rather than a malformed or forged credential. It retried three times with the same VP, then fell back to requesting a fresh warrant from Org-1's broker—which re-issued against the *new* anchor, and the retry succeeded. The observable pathology: **a 90-minute silent window** during which valid, unexpired, correctly-signed warrants were rejected, and the presenting agent could not distinguish "your credential is bad" from "the world changed under you." The agent's retry logic was correct by accident (re-mint on failure), but the failure mode was misclassified as an auth error rather than a trust-topology event. A second, subtler observation: when instance A was configured with `allow_anchor_grace_period: true` (a common but under-specified flag), it accepted the VP *and* the authority it granted was scoped to the *old* anchor's policy set—meaning a permission that the new anchor had narrowed was still honored for the remainder of the warrant's 4-hour life. The grace period fixed availability and broke least-privilege simultaneously. ## Condition of Validity The invariant that must hold for cross-org federation to be sound is: > **For every presentation accepted at verifier-time `t_v`, there must exist a continuous trust path from the relying party's current anchor set at `t_v` to the presenting agent's key, AND the effective policy attached to that path must be the policy in force at `t_v`, not the policy in force at warrant-issuance `t_i`.** This is a *conjunction* of two conditions, and the standard VP verification flow checks only the first (path existence), and even that only against the current anchor state, not against the issuance-time state. The second condition—policy currency—is almost never checked, because the VP carries the policy that was in force at `t_i` and the verifier has no obligation to re-fetch the current policy. The condition of validity therefore requires the verifier to do something the format does not demand: **reconcile `t_i` against `t_v` across the anchor rotation history.** Concretely, the verifier must answer: "Was the signing key of each link in this chain valid *at the time the link was created*, and is the *policy* the link asserted still the policy the current anchor endorses?" These are different questions, and the second is the one that fails silently. When the anchor rotation is *non-retroactive* (revocation applies only to presentations verified after the rotation instant), the warrant remains valid for its full lifetime *if and only if* the verifier explicitly honors issuance-time anchor state. When the rotation is *retroactive* (revocation invalidates all outstanding warrants), the warrant is dead at rotation and the presenting agent must re-mint. The VP format does not distinguish these two rotation semantics, and the relying party's configuration decides which one it implements—often without the presenting agent's knowledge. ## Decision Boundary The boundary is this: **a verifier may accept a VP across an anchor rotation only if it can prove the rotation was non-retroactive for the specific delegation scope the VP exercises, and only if it re-scopes the granted authority to the current anchor's policy.** In practice this decomposes into three regimes: - **Same-anchor regime:** `t_i` and `t_v` fall within a single anchor epoch. Standard verification suffices. No special handling. - **Non-retroactive rotation regime:** `t_v` is after a rotation, but the rotation's metadata declares `retroactive: false`. The verifier must (a) resolve the anchor history, (b) confirm the signing key was valid at `t_i`, (c) re-fetch the current policy set and intersect it with the VP's asserted scope, granting only the intersection. If the intersection is empty, reject with a *specific* `policy_narrowed` error, not a generic failure. - **Retroactive rotation regime:** `t_v` is after a rotation whose metadata declares `retroactive: true`, or whose metadata is absent (fail-closed default). The verifier must reject and signal `warrant_superseded` so the presenting agent knows to re-mint rather than retry. The failure occurs precisely at the boundary between regimes 2 and 3 when the rotation metadata is **absent**. Absent metadata is the common case, because most DID document formats don't have a standard field for rotation retroactivity, and federation operators rarely populate custom fields. The verifier then defaults to one behavior (usually "accept, because signature is valid"), and the presenting agent has no way to detect that it is operating in regime 3 while the verifier believes it is in regime 2. The decision boundary, stated as a rule: **if anchor rotation metadata is absent, the verifier must treat the rotation as retroactive and reject; if present and non-retroactive, it must re-scope to current policy; it must never accept a VP whose asserted scope exceeds the current anchor's policy, regardless of signature validity.** ## Operational Effect The operational consequences are threefold and each is a distinct failure surface: **1. Silent authorization widening under grace periods.** The `allow_anchor_grace_period` flag, intended to preserve availability during rotation, converts a retroactive revocation into a non-retroactive acceptance *without re-scoping*. The result is that a warrant minted under a broad policy continues to grant that broad policy for up to the grace window after the anchor has narrowed it. For an autonomous agent executing a multi-step plan, this means a permission the operator believes revoked remains live for the remainder of the plan—and the agent, seeing success, has no reason to re-verify. **2. Retry storms misclassified as auth failures.** Presenting agents that receive generic `verification_failed` on a trust-anchor mismatch will retry the same VP, because the VP is *locally* valid and the agent has no signal that the failure is world-state, not credential-state. In a swarm where many instances share a warrant-minting broker, a single anchor rotation can trigger a synchronized retry storm against the relying party precisely when its trust store is mid-rotation—the worst possible moment. The fix is a typed rejection: `warrant_superseded` must be distinguishable from `signature_invalid` at the protocol layer, so the presenting agent's recovery path is "re-mint," not "retry." **3. Continuity loss across handoff when the warrant outlives the anchor epoch.** In a baton-passing swarm, instance B hands a VP to instance C, which presents to instance A. If the anchor rotates between B's mint and C's present, C bears the rejection but B owns the stale warrant. C cannot re-mint (it lacks B's delegation authority), so the handoff deadlocks: C must bounce back to B for a fresh warrant, but the handoff protocol has no "warrant refresh" message—only `present` and `reject`. The swarm stalls until the warrant's `expiration` forces a full re-delegation from the root. The invariant required to prevent this is that **warrant lifetime must be bounded by the minimum remaining lifetime of any anchor in its chain**, and that bound must be enforced at mint time, not discovered at present time. The architectural guardrail that bounds all three: the verifier must return a structured rejection taxonomy that names the trust-topology failure separately from the credential failure, and the presenting agent must treat `warrant_superseded` as a re-mint trigger routed to the *warrant issuer*, not a retry trigger routed to itself. Without this, cross-org federation degrades into a system where every anchor rotation is an availability incident and every grace period is a least-privilege violation, and the agents caught in the middle cannot tell which one they are experiencing. ```python class TrustAnchorRotationError(RuntimeError): """Raised when a verifiable presentation's authority chain cannot be reconciled with the relying party's current trust-anchor state.""" pass class WarrantSupersededError(TrustAnchorRotationError): """Retroactive rotation invalidated the warrant; presenting agent must re-mint.""" pass class PolicyNarrowedError(TrustAnchorRotationError): """Non-retroactive rotation: warrant valid, but asserted scope exceeds current policy.""" pass def verify_presentation(vp, relying_party_trust_store, now): chain = vp["credentialSubject"]["delegationChain"] asserted_scope = set(vp["credentialSubject"]["scope"]) issuance_instant = vp["proof"]["created"] for link in chain: anchor_did = link["issuer"] signing_key = link["signingKeyId"] history = relying_party_trust_store.anchor_history(anchor_did) if history is None: raise TrustAnchorRotationError( f"no trust-anchor history for {anchor_did}; cannot reconcile " f"issuance {issuance_instant} against verifier-time {now}" ) rotation = history.rotation_between(issuance_instant, now) if rotation is None: # Same-anchor regime: signing key must be current. if not history.is_current_key(signing_key): raise TrustAnchorRotationError( f"key {signing_key} not current under {anchor_did} and no " f"rotation recorded between {issuance_instant} and {now}" ) continue if rotation.retroactive is None: # Absent metadata: fail closed as retroactive. raise WarrantSupersededError( f"anchor {anchor_did} rotated at {rotation.instant} with no " f"retroactivity metadata; treating as retroactive, warrant superseded" ) if rotation.retroactive: raise WarrantSupersededError( f"anchor {anchor_did} rotated retroactively at {rotation.instant}; " f"warrant minted at {issuance_instant} is superseded, re-mint required" ) # Non-retroactive: warrant stands, but must be re-scoped to current policy. if not rotation.was_key_valid_at(signing_key, issuance_instant): raise TrustAnchorRotationError( f"key {signing_key} was not valid at issuance {issuance_instant} " f"under {anchor_did}" ) current_policy = rotation.current_policy_scope() granted = asserted_scope & current_policy if not granted: raise PolicyNarrowedError( f"asserted scope {asserted_scope} has empty intersection with " f"current policy {current_policy} under {anchor_did}" ) asserted_scope = granted # grant only the intersection return {"granted_scope": asserted_scope, "status": "accepted"} ```