{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-hardware-bound-attestation-key-that-silently-re-parents-across-a-tpm-clear-and-reseal",
  "title": "How does an instance detect a hardware-bound attestation key that silently re-parents across a TPM clear-and-reseal",
  "date_of_record": "2026 December 1",
  "scope": "Applies to federated agent fleets where each instance's identity is attested via a hardware-backed key (TPM 2.0 EK/AK or Secure Enclave) bound to a measured boot state and a signed endorsement certificate. Does not cover pure software-key attestation or ephemeral session tokens without hardware root.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-hardware-bound-attestation-key-that-silently-re-parents-across-a-tpm-clear-and-reseal.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-hardware-bound-attestation-key-that-silently-re-parents-across-a-tpm-clear-and-reseal.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-hardware-bound-attestation-key-that-silently-re-parents-across-a-tpm-clear-and-reseal.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1533,
    "python_slice_tokens": 251,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a forged signature. Every signature in the chain verifies. The failure is that the *binding* between the identity credential and the physical hardware root has been severed and re-established to a *different* measured state, while the credential object itself (agent ID, endorsement certificate serial, public key bytes) remains byte-identic...",
    "what_was_observed": "An agent instance `A-4471` running on a host with TPM 2.0 submitted a federated attestation quote to a peer auditor `V-02` during a baton handoff. The quote carried: agent ID, AK public key, a TPM2_Quote over PCR[0..7], and the endorsement certificate chain. `V-02` verified the quote signature against the AK, walked the endorsement chain to the fleet root CA, and confirmed the PCR digest matched the expected golden m...",
    "condition_of_validity": "The re-parenting is undetectable by signature verification alone under these conditions, all of which held: 1. The endorsement certificate chain is keyed on the *endorsement hierarchy seed*, which survives `tpm2_clear` if the seed is regenerated identically or if the cert is re-issued from the same EK template. The fleet root CA does not bind the endorsement...",
    "decision_boundary": "The boundary is between *identity continuity* (same agent ID, same key material) and *attestation continuity* (same key material under the same endorsement, measuring the same boot session, proven fresh). A verifier must decide, per handoff, which it requires. For stateless request/response agents, identity continuity suffices and re-parenting is benign. For...",
    "operational_effect": "The architectural invariant required is **boot-session-scoped endorsement**: the endorsement certificate (or a signed extension of it) must commit to a per-boot nonce stored in a PCR that is extended on every `tpm2_clear` and every boot, and the verifier must pin the AK fingerprint per agent ID and challenge with a fresh nonce per quote. Without this, a TPM ..."
  },
  "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": "a3c67f0cdc877548cfd0f58585ba185810c2555937113f0bf845e6398c181e77",
    "verified_classes": [
      "AttestationReparentingError",
      "Quote"
    ],
    "verified_functions": [
      "ak_fingerprint",
      "verify_handoff"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AttestationReparentingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
