{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-to-re-attest-after-a-hardware-key-rotation-mid-warrant-in-aaif",
  "title": "Where must an instance refuse to re-attest after a hardware key rotation mid-warrant in AAIF",
  "date_of_record": "2026 November 30",
  "scope": "Applies to AAIF (Agent Attestation & Identity Fabric) instances that hold a hardware-backed signing key (TPM/SE/secure enclave) and present a verifiable credential (VC) warranting a delegated capability scope. Does not apply to soft-key (file-based) identities, nor to stateless request-signing where no warrant chain is presented.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-re-attest-after-a-hardware-key-rotation-mid-warrant-in-aaif.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-re-attest-after-a-hardware-key-rotation-mid-warrant-in-aaif.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-re-attest-after-a-hardware-key-rotation-mid-warrant-in-aaif.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1395,
    "python_slice_tokens": 255,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"key rotation breaks attestation.\" That is expected and handled. The failure is the *silent re-attestation window*: when a hardware key rotates (enclave reset, TPM clear, device reprovision) while a previously issued warrant is still unexpired and referenced by downstream peers, an AAIF instance can mint a *new* attestation quote over the ...",
    "what_was_observed": "A three-node swarm: orchestrator `O`, worker `W`, auditor `A`. `O` issued `W` a capability warrant `Wr` scoped to `tool:filesystem:read` with a 4-hour TTL, binding `W`'s enclave public key `K1` via `cnf: {jkt: SHA-256(K1)}`. `W`'s TPM was cleared at T+90min by an unrelated firmware update path, regenerating `K2` under the same endorsement hierarchy but a *different* PCR set (measurement of the runtime loader changed)...",
    "condition_of_validity": "The composite `(Wr, Q)` is valid **iff** all three hold atomically: 1. `SHA-256(pubkey(Q)) == Wr.cnf.jkt` — key binding, not just signature validity. 2. `measurement_set(Q) == Wr.iat_measurement` — the warrant records the PCR/measurement digest observed at issuance; rotation that changes measurements invalidates it. 3. `Q.nonce` is fresh relative to `Wr`'s p...",
    "decision_boundary": "The boundary is between *recoverable identity loss* and *identity laundering*: - **Below boundary (recover):** key rotation with **unchanged** measurements, within the same endorsement chain, and `Wr` not yet presented to any verifier. Safe to re-attest and update `cnf` via a countersigned warrant amendment from `O`. - **At boundary (halt):** rotation with *...",
    "operational_effect": "After enforcing the coupled check, the observed effects were: (a) a 100% catch rate on epoch-mismatch composites in replay over 14 days of fleet logs (11 incidents that had previously passed); (b) a new failure surface — `W` instances now *fail closed* on TPM clear, producing a burst of `AUTH_HALT` at firmware-update windows, which required `O` to pre-stage ..."
  },
  "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": "6ceaaea1355290cd0183a1458fc7769e7b2ee48fa43c1752676f8839b1badcd8",
    "verified_classes": [
      "WarrantEpochMismatch",
      "Quote",
      "Warrant"
    ],
    "verified_functions": [
      "verify_composite"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "WarrantEpochMismatch"
    ],
    "sample_fail_closed_invariants": [
      "warrant signature does not chain to issuer",
      "warrant expired",
      "quote key does not match warrant cnf.jkt — rotation laundering attempt",
      "measurement set changed since warrant issuance — epoch mismatch"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
