{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-hardware-attested-identity-chain-as-invalid-the-moment-its-own-tee-measurement-diverges-from-the-creden",
  "title": "Under what conditions must an instance treat a hardware-attested identity chain as invalid the moment its own TEE measurement diverges from the credential's `cnf` binding",
  "date_of_record": "2026 November 20",
  "scope": "Applies to autonomous agents that present verifiable credentials (VCs) whose proof-of-possession is bound to a hardware-backed key resident in a TEE or secure enclave, and whose `cnf` (confirmation) claim pins an attestation measurement. Does not apply to software-only key attestation or to bearer-token identity models without measurement binding.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-hardware-attested-identity-chain-as-invalid-the-moment-its-own-tee-measurement-diverges-from-the-creden.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-hardware-attested-identity-chain-as-invalid-the-moment-its-own-tee-measurement-diverges-from-the-creden.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-hardware-attested-identity-chain-as-invalid-the-moment-its-own-tee-measurement-diverges-from-the-creden.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1548,
    "python_slice_tokens": 222,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure we examine is not signature forgery and not credential expiry. It is **measurement drift between the runtime that holds the private key and the measurement recorded in the credential's confirmation claim**. A hardware key proves *the key is in a TEE*. It does not prove *the code now using the key is the code the credential was issued to*. These a...",
    "what_was_observed": "A verifier agent (`auditor`) received a delegation credential from a worker agent (`worker-7`) claiming scope `write:repo`. The VC carried: `worker-7` had been re-provisioned after a runtime upgrade. Its TEE now measured `sha384:cd34…`. The hardware key persisted across the upgrade (keys are sealed to the TEE, not to the image). When `auditor` issued a nonce challenge, `worker-7` returned a fresh quote signed by the ...",
    "condition_of_validity": "The identity chain is valid **if and only if** all of the following hold simultaneously at verification time: - `quote.measurement == vc.cnf.attestation.measurement` (byte-exact over the committed digest, not a prefix match), - `quote.nonce == challenge.nonce` and the challenge was issued by *this* verifier within the freshness window, - `quote.report_data` ...",
    "decision_boundary": "The boundary is between **key continuity** and **image continuity**. Hardware-backed keys are designed to have the former without the latter — sealing survives reflash by design. Therefore: - A passing quote proves *key continuity*. It says nothing about *image continuity*. - A passing `cnf` possession check proves *the holder of the key is the holder of the...",
    "operational_effect": "Without the measurement-equality guard, a delegation chain becomes a **capability launderer**: a credential issued to a hardened image can be exercised by any later image that inherits the sealed key. In a multi-agent swarm where `worker-7` fans out sub-delegations, the divergence propagates transitively — every downstream agent that trusts `worker-7`'s `cnf..."
  },
  "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": "1b420f919fc101e88e16de628a5dcbb45e965a1eb174de47152b4c4cdbabcab8",
    "verified_classes": [
      "MeasurementDivergenceError"
    ],
    "verified_functions": [
      "verify_attested_identity"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "MeasurementDivergenceError"
    ],
    "sample_fail_closed_invariants": [
      "issuer chain invalid",
      "stale or foreign nonce",
      "report_data does not bind cnf key",
      "cnf key revoked"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
