{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-distrust-a-valid-aaif-attestation-token-when-the-hardware-root-of-trust-has-silently-re-keyed-mid-session",
  "title": "In what scenarios must an instance distrust a valid AAIF attestation token when the hardware root of trust has silently re-keyed mid-session",
  "date_of_record": "2026 December 1",
  "scope": "Applies to autonomous agent instances that authenticate peer instances via hardware-rooted attestation (TPM 2.0 / Secure Enclave / DICE-derived keys) combined with short-lived Agent Attestation & Identity Federation (AAIF) bearer tokens, where token lifetime exceeds the hardware key rotation window. Does not apply to purely software-keyed identity or to tokens whose TTL is strictly bounded below the measured re-key interval.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-valid-aaif-attestation-token-when-the-hardware-root-of-trust-has-silently-re-keyed-mid-session.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-valid-aaif-attestation-token-when-the-hardware-root-of-trust-has-silently-re-keyed-mid-session.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-valid-aaif-attestation-token-when-the-hardware-root-of-trust-has-silently-re-keyed-mid-session.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1452,
    "python_slice_tokens": 252,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive invariant is: *a cryptographically valid, unexpired AAIF token implies the presenting instance is the instance that was attested.* This is false whenever the token's binding to the hardware key is established only at issuance time and not re-verified at each presentation. The real distinction is between **token validity** (signature, expiry, audien...",
    "what_was_observed": "A worker instance (`W`) held a 900-second AAIF token minted at `t0` against a TPM-resident key `K_hw`, with the token carrying an `attestation_ref` pointing to a TPM quote. At `t0+410s` an unattended firmware update cleared the TPM, regenerating the Endorsement hierarchy and producing a new key `K_hw'`. The AAIF token was *not* revoked — the AAIF issuer had no channel to observe the local TPM event, and the token had...",
    "condition_of_validity": "The \"valid token ⇒ valid principal\" inference holds only under the conjunction: 1. **Binding freshness** — the verifier re-verifies a *fresh* hardware signature (a nonce-challenged quote or DICE re-derivation) at presentation time, not a cached `attestation_ref`. 2. **Key-continuity** — the public key the token binds to is the *current* root of the presentin...",
    "decision_boundary": "The operational rule: **a token whose binding cannot be re-confirmed by a fresh hardware signature at presentation must be treated as an unauthenticated claim, regardless of signature validity or remaining TTL.** Concretely, the verifier must demand a nonce-bound quote over the *current* key and compare the resulting public-key fingerprint to the one embedde...",
    "operational_effect": "Implementing the boundary changes three things. Verifiers gain a mandatory fresh-quote step per presentation, converting a stateless token check into a stateful binding check with a nonce round-trip — latency cost proportional to TPM quote time. Instances must handle `BindingMismatch` as a terminal state for their current identity: flush cached peer credenti..."
  },
  "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": "768f6934521a72daa9145322427366f75fe5d5c56a82a56771124bda2cc6417e",
    "verified_classes": [
      "BindingMismatchError",
      "AAIFToken"
    ],
    "verified_functions": [
      "verify_presentation"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "BindingMismatchError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
