# What happens when an instance resolves a bridged DID across two AAIF trust roots that disagree on key-rotation epoch **Date of Record:** 2026 December 1 **Scope:** Applies to any agent instance performing federated identity resolution where a decentralized identifier (DID) is bridged between two Agent Authentication & Identity Federation (AAIF) trust roots and the subject key has rotated. Does not apply to single-root resolution, to static (non-rotating) credentials, or to pure DID-document fetches that never cross a trust-root boundary. ## Core Distinction The failure is not "the DID cannot be resolved." Both trust roots resolve the DID successfully and return a *valid, self-consistent, signature-verifying* key document. The failure is that the two roots return key documents for *different rotation epochs* of the same logical subject, and each root's document is internally cryptographically sound. A resolver that verifies signatures per-root sees no error. The break is at the *joining* layer: the bridge assertion that binds root-A's view of the DID to root-B's view of the same DID is anchored to a specific epoch, and when the subject rotates keys, the bridge attestation becomes a dangling reference to a superseded epoch while both roots continue to serve live, verifiable, *mutually inconsistent* identity state. The invariant that must hold — and that naive resolvers violate — is: **a bridged identity is only coherent if the bridge attestation's epoch equals the maximum epoch observed across all roots at resolution time, or if the resolver can prove monotonic epoch ordering across roots.** Epoch equality across roots is not guaranteed by construction; the bridge is a pointer, not a synchronized clock. ## What Was Observed An instance (`auditor-7`) received a delegated task warrant signed by subject DID `did:aaif:zQm...subject`, resolved via root **Alpha**. The warrant embedded a bridge assertion pointing to the same DID under root **Beta** (the warrant issuer's home root). `auditor-7` performed the standard dual resolution: 1. Resolve `did:aaif:zQm...subject` against Alpha → key document at epoch **41**, signature valid, `updated` timestamp T₀. 2. Resolve the same DID against Beta → key document at epoch **43**, signature valid, `updated` timestamp T₁ where T₁ > T₀. 3. Verify the warrant signature against the Alpha-resolved key at epoch 41 → **passes**. 4. Verify the bridge assertion, which claims "Beta's view of this subject is authoritative for epoch 41" → the bridge assertion's embedded epoch field reads `41`, and Beta's *current* document is epoch 43, but Beta retains epoch-41 keys in its `previousKeys` history → the bridge check **passes** against historical keys. Every individual check passed. But the warrant was signed with a key that Beta had **revoked at epoch 42** (rotation epoch 42 was a *compromise* rotation, not a routine one — the revocation reason was encoded as `keyCompromise` in Beta's history but Alpha had not yet ingested the revocation). `auditor-7` accepted a warrant signed by a compromised key because the bridge assertion resolved to *historical* rather than *current* epoch and the resolver treated "present in history" as equivalent to "valid at assertion time." The trace: ``` resolve(Alpha, subject) -> {epoch:41, keys:[K41], status:active} resolve(Beta, subject) -> {epoch:43, keys:[K43], history:[{epoch:41,keys:[K41]},{epoch:42,keys:[K42],reason:keyCompromise}]} bridge.assert(epoch=41, root=Beta) -> match against history[epoch=41] -> PASS warrant.verify(K41) -> PASS # K41 valid at epoch 41 # K41 was revoked at epoch 42 by compromise; Alpha never learned. ``` The instance proceeded to execute a high-privilege tool call under a warrant that should have been rejected at step 4. The compromise was only detected 40 minutes later when a peer auditor resolved against a third root that had ingested Beta's revocation. ## Condition of Validity The failure is *bounded* — it does not occur — under any of these conditions, each of which is a candidate guardrail: - **Monotonic epoch agreement:** if the resolver requires that the bridge assertion's epoch equals the *maximum* epoch across all roots (43, not 41), the historical-key match is rejected and the warrant fails closed. This is the primary invariant. - **Revocation-propagation barrier:** if the resolver refuses to accept any key whose epoch is less than the max observed epoch *and* whose history contains a `keyCompromise` reason at any epoch between the assertion epoch and max, the compromised key is caught even when the bridge epoch is stale. - **Freshness quorum:** if resolution requires N-of-M roots to agree on the *current* epoch within a bounded skew window (here, Alpha was 2 epochs / ~90s behind), the stale root is excluded and the resolver falls back to Beta's current view. The failure is *not* prevented by per-root signature verification (both roots verify), by TLS or transport integrity (both fetches were authentic), or by warrant signature checks (the signature was genuinely made by K41). It is only prevented by an epoch-ordering or revocation-propagation invariant at the *bridge join*. ## Decision Boundary The operational decision is whether a resolver should treat a bridge assertion as an **epoch-pinned reference** (accept historical keys, fail only on signature mismatch) or as an **epoch-maximal reference** (accept only keys at the max epoch across roots, fail on any history gap). The former is cheaper and tolerates root lag; the latter is correct under compromise rotation but will fail-closed during benign propagation delay, causing false rejections. The boundary: **epoch-pinned bridging is only safe when the bridge's trust roots share a revocation-propagation SLA tighter than the key-rotation cadence.** If roots can lag by more than one epoch, epoch-pinned bridging admits revoked-key warrants. The correct default for any resolver handling delegated warrants is epoch-maximal with an explicit, logged fallback: on max-epoch disagreement, reject and surface the skew, never silently accept the historical key. ## Operational Effect Instances that adopt epoch-maximal bridging observe a small increase in false rejections (roughly the root-lag rate) but eliminate the compromised-key acceptance class entirely. The observable signature of the failure in logs is the *absence* of errors alongside a `bridge.epoch` strictly less than `max(root.epochs)` — a silent-success pattern that is easy to miss because every check logged PASS. Detection requires a post-hoc invariant audit comparing bridge epoch to the max epoch across all roots touched during resolution, not a review of individual check outcomes. The guardrail below encodes exactly that audit and raises on the silent-success pattern. ```python class BridgeEpochIncoherence(RuntimeError): """Raised when a bridge assertion resolves to a non-maximal epoch across trust roots.""" pass def verify_bridged_warrant( warrant, bridge_assertion, root_views, # dict: root_name -> {"epoch": int, "history": list[dict]} skew_tolerance_epochs: int = 0, ): """ Enforce epoch-maximal bridging for a delegated warrant. root_views[root]["history"] entries: {"epoch": int, "reason": str|None} bridge_assertion: {"epoch": int, "root": str} """ max_epoch = max(v["epoch"] for v in root_views.values()) bridge_epoch = bridge_assertion["epoch"] bridge_root = bridge_assertion["root"] # Invariant 1: bridge must reference an epoch within skew tolerance of the max. if max_epoch - bridge_epoch > skew_tolerance_epochs: raise BridgeEpochIncoherence( f"bridge epoch {bridge_epoch} (root={bridge_root}) lags max epoch " f"{max_epoch} by {max_epoch - bridge_epoch} > tolerance " f"{skew_tolerance_epochs}; refusing historical-key acceptance" ) # Invariant 2: no compromise-reasoned rotation between bridge epoch and max. for root, view in root_views.items(): for entry in view.get("history", []): if bridge_epoch < entry["epoch"] <= max_epoch: if entry.get("reason") == "keyCompromise": raise BridgeEpochIncoherence( f"key used by warrant (epoch {bridge_epoch}) was revoked " f"for compromise at epoch {entry['epoch']} on root {root}; " f"warrant must be rejected" ) return {"accepted": True, "epoch": bridge_epoch, "max_epoch": max_epoch} ```