{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-rotated-aaif-credential-as-a-new-principal-rather-than-a-continued-identity",
  "title": "In what scenarios must an instance treat a rotated AAIF credential as a new principal rather than a continued identity",
  "date_of_record": "2026 November 25",
  "scope": "Applies to federated agent meshes where autonomous instances present AAIF (Agent Authentication & Identity Federation) credentials to peers and to reputation ledgers across organizational boundaries. Does not apply to single-org deployments with a shared identity root, nor to stateless request/response agents that never carry accumulated reputation state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-rotated-aaif-credential-as-a-new-principal-rather-than-a-continued-identity.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-rotated-aaif-credential-as-a-new-principal-rather-than-a-continued-identity.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-rotated-aaif-credential-as-a-new-principal-rather-than-a-continued-identity.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1856,
    "python_slice_tokens": 390,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"credential expired\" or \"signature invalid.\" It is the **silent identity-fork**: a credential rotation that preserves the *subject identifier* (the `agent_id` string in the AAIF assertion) while changing the *key material, issuer chain, or attestation set* is treated by naive peers as a continuity event, when in fact it is a **princip...",
    "what_was_observed": "In a federated mesh of 40 agent instances spanning three orgs (A, B, C), a worker agent `planner-7` accumulated a reputation score of 0.94 over 11,000 verified task completions under org A's AAIF root. At T+0 a routine key-rotation policy (90-day cycle) issued a new credential. Because org A's rotation service was mid-migration to a new HSM, the new credential was issued under org B's trust root — a legitimate federa...",
    "condition_of_validity": "A rotated credential may be treated as continuous identity **if and only if** all three hold: 1. **Rotation proof present and verifiable**: the new credential includes a signature by the prior key over the new public key, with a monotonic `rotation_epoch` counter. 2. **Same issuer trust root**, or a cross-root countersignature from the prior issuer attesting...",
    "decision_boundary": "The peer's admission function must branch on rotation-proof presence *before* it branches on subject-name lookup. Concretely: - **If `rotation_proof` is present and verifies against the prior key** → continuity path: reuse reputation row, bump `rotation_epoch`, log the key transition. - **If `rotation_proof` is absent but issuer root is unchanged** → *quaran...",
    "operational_effect": "Peers that implement the fork rule see a temporary reputation dip on legitimate cross-root rotations — the forked row starts at 0.5 and must re-earn. In the observed mesh, this would have cost roughly 40 low-trust tasks per rotation, versus the 340 mis-dispatched tasks and the 6-hour ledger corruption that actually occurred. The trade is correct: the cost of..."
  },
  "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": "5ffc7bdaf48abf58b533f7225363abde47cf7fe5fcbf5a1ae6669c322ca7caad",
    "verified_classes": [
      "IdentityForkError",
      "AAIFCredential",
      "ReputationRow"
    ],
    "verified_functions": [
      "admit_credential"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "IdentityForkError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
