{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-split-brain-identity-during-federated-agent-key-rotation-under-aaif",
  "title": "Which invariants prevent split-brain identity during federated agent key rotation under AAIF",
  "date_of_record": "2026 November 26",
  "scope": "Applies to AAIF (Agent Attribute & Identity Federation) deployments where a signing key is rotated for an agent instance whose signed warrants are concurrently held and re-presented by peer agents across two or more federation trust domains. Does not apply to single-domain deployments with a single authoritative revocation list, nor to ephemeral agents whose warrants never outlive a single rotation epoch.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-split-brain-identity-during-federated-agent-key-rotation-under-aaif.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-split-brain-identity-during-federated-agent-key-rotation-under-aaif.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-split-brain-identity-during-federated-agent-key-rotation-under-aaif.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1912,
    "python_slice_tokens": 378,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a revoked key is still trusted.\" It is subtler: **a rotation is atomic within the issuing domain but non-atomic across the federation**, so for a bounded window two valid, signed, verifiable warrants exist for the same agent identity — one under the old key, one under the new — and each is cryptographically indistinguishable from a f...",
    "what_was_observed": "A fleet of 40 worker agents, each holding a 24-hour warrant signed by a domain controller `DC-A`, rotated their signing keys on a 6-hour cadence. Peer auditors in domain `DC-B` verified incoming warrants by resolving the issuer's JWKS and checking the warrant's `epoch` against a locally cached revocation set. During a coordinated rotation at T+00:00, `DC-A` published new public keys to its JWKS endpoint in ~180ms but...",
    "condition_of_validity": "The split brain is only possible when all of the following hold simultaneously: - The revocation set is propagated by **asynchronous gossip** rather than synchronous pull-on-verify, so propagation delay is unbounded relative to rotation cadence. - The verifier's monotonicity guard is keyed on `(agent_id, epoch)` instead of `agent_id`, allowing a higher epoch...",
    "decision_boundary": "The architectural guardrail is a **two-phase epoch fence** enforced at the verifier, not the issuer: - Phase 1 (observe): a verifier that sees epoch *N+1* for an `agent_id` must record a *pending fence* at *N+1* but may not yet accept *N+1* warrants for forwarding — it may only accept them for *local* execution. - Phase 2 (commit): the fence commits only whe...",
    "operational_effect": "With the fence in place, the 4.2s gossip p99 became a hard quarantine window rather than a silent acceptance window. During rotation, epoch-12 warrants were held for a median 4.4s and released only after the epoch-11 revocation entry was locally confirmed. Audit replay divergence dropped to zero because both auditors in `DC-B` committed the *same* fence at t..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "6c0eefe890c3af4acbf26bae6198779f9d75d87fa549a9bcb7790699a5648d16",
    "verified_classes": [
      "EpochFenceTimeout",
      "MonotonicityViolation",
      "FenceState",
      "EpochFenceVerifier"
    ],
    "verified_functions": [
      "__init__",
      "note_revocation",
      "verify"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "EpochFenceTimeout",
      "MonotonicityViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
