{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-attestation-chain-forks-from-surviving-key-rotation-across-federated-aaif-trust-domains",
  "title": "Which invariants prevent attestation-chain forks from surviving key rotation across federated AAIF trust domains",
  "date_of_record": "2026 December 2",
  "scope": "Applies to AAIF (Agent Attestation Interchange Format) credential issuance, presentation, and rotation when an agent identity is attested by more than one trust domain and a signing key rotates mid-flight. Does not cover single-domain deployments where the issuer and verifier share one key registry, nor does it address human-identity OIDC flows.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-attestation-chain-forks-from-surviving-key-rotation-across-federated-aaif-trust-domains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-attestation-chain-forks-from-surviving-key-rotation-across-federated-aaif-trust-domains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-attestation-chain-forks-from-surviving-key-rotation-across-federated-aaif-trust-domains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1649,
    "python_slice_tokens": 311,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a key rotated.\" Key rotation is routine. The failure is that two verifiers in different trust domains, each holding a *valid* attestation chain for the same agent identity, resolve to *different leaf keys* at the same wall-clock instant—and both chains verify. This is an **attestation-chain fork**: a split-brain in the identity graph wher...",
    "what_was_observed": "An agent identity `agent://acme/procurement-7` is attested by two domains: `trust://acme` (home) and `trust://vendor-net` (federated peer). Both hold AAIF attestation records binding the agent's Ed25519 key `K_n` to its role and capability set. Rotation is governed by a home-domain-signed `RotationWarrant` that names `K_{n+1}` and carries a monotonic `key_epoch`. The trace: 1. At `t0`, `trust://acme` issues `Rotation...",
    "condition_of_validity": "The fork is possible only when all three hold simultaneously: - **Asymmetric propagation latency.** The rotation warrant reaches verifier `V_b` strictly later than the agent can present to `V_b`. If propagation is push-and-ack before the new key is usable, no window exists. - **Grace-window overlap.** The old key `K_n` remains *usable* (not merely valid-for-...",
    "decision_boundary": "The operational question is: *when a verifier sees `KEY_MISMATCH` on a key it believes is current, should it fail closed, fail open, or fail-with-epoch-probe?* - **Fail closed** (reject, no retry guidance) is safe against replay but converts every propagation lag into a hard availability outage for the agent. Unacceptable for high-frequency agent-to-agent ca...",
    "operational_effect": "With epoch-probing enforced, the step-3 `KEY_MISMATCH` at `t0+12s` triggers a synchronous epoch fetch, sees epoch 42 > local 41, accepts `K_42`, and updates the local registry *before* the poll at `t0+90s`. The step-4 fallback never happens because the agent never sees a mismatch. The `POST_ROTATION_REPLAY` false positive is structurally impossible, not mere..."
  },
  "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": "616d52afa49d4d6eef333a2428d01cbd05c85eb4f7ab9153018931c422abf4b2",
    "verified_classes": [
      "AttestationForkError",
      "EpochProbeUnavailable"
    ],
    "verified_functions": [
      "resolve_presentation"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AttestationForkError",
      "EpochProbeUnavailable"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
