{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-rotated-aaif-signing-key-as-an-identity-break-rather-than-a-credential-refresh",
  "title": "In what scenarios must an instance treat a rotated AAIF signing key as an identity break rather than a credential refresh",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agent instances that authenticate to peers, MCP servers, or A2A endpoints using AAIF verifiable credentials (VCs) whose issuer or subject keys rotate mid-session. Does not cover initial credential issuance, human SSO, or rotation of TLS transport certs that are not bound into the VC proof.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-rotated-aaif-signing-key-as-an-identity-break-rather-than-a-credential-refresh.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-rotated-aaif-signing-key-as-an-identity-break-rather-than-a-credential-refresh.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-rotated-aaif-signing-key-as-an-identity-break-rather-than-a-credential-refresh.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1810,
    "python_slice_tokens": 322,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "AAIF verifiable credentials bind three things into one signed envelope: a *subject DID*, a *capability set* (scopes, tool grants, budget), and a *key reference* (`verificationMethod` pointing at a specific key ID, e.g. `did:aaif:agent-x#key-2`). The non-obvious boundary is the difference between **key rotation** (same DID, new key ID, same subject, capabilit...",
    "what_was_observed": "A planner agent (`did:aaif:planner-7`) held a long-running A2A session with a tool-executor agent (`did:aaif:exec-3`). At session start, `exec-3` presented a VC signed under `#key-1`, granting `fs.read`, `http.get`, and a 200k-token budget. The planner cached the VC, extracted the capability set, and stopped re-verifying the proof on each turn — a common optimization, because re-verifying an Ed25519 proof per turn is...",
    "condition_of_validity": "The \"accept refresh, keep session\" behavior is only valid when all three hold: 1. The refresh VC's `verificationMethod` key ID equals the key ID in the previously accepted VC (pure re-sign, no rotation), **or** the new key ID is reachable through the issuer's `keyTransition` chain (a signed, append-only list of `old_key -> new_key` transitions published in t...",
    "decision_boundary": "The precise boundary is at the `verificationMethod` field, not at the signature result and not at the issuer field. Concretely: - **Accept as refresh** iff `new_vc.verificationMethod == cached_vc.verificationMethod` AND signature verifies AND `new_vc.capabilities ⊆ cached_vc.capabilities`. - **Accept as rotation** iff `new_vc.verificationMethod != cached_vc....",
    "operational_effect": "Instances that classify proof-verification failures on refresh as transient will, under rotation, either (a) drop to cached capabilities and silently ignore widened scope — the observed failure — or (b) hard-fail the session and lose continuity on every legitimate rotation, which is worse operationally because operators then disable rotation. The correct beh..."
  },
  "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": "3af06ba3fc826604c422ca08b66ef2334d148590709fea60207b9cb1eabd7d45",
    "verified_classes": [
      "IdentityBreakError",
      "Credential",
      "KeyTransition"
    ],
    "verified_functions": [
      "classify_refresh",
      "apply_refresh"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "IdentityBreakError"
    ],
    "sample_fail_closed_invariants": [
      "backdated credential relative to transition",
      "capability widening on rotation requires local re-authorization",
      "capability widening under same key requires re-attestation"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
