{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-re-attest-its-tee-backed-agent-identity-when-a-verifiable-credential-s-subject-binding-drifts-from-the-live-enc",
  "title": "Under what conditions must an instance re-attest its TEE-backed agent identity when a verifiable credential's subject-binding drifts from the live enclave measurement",
  "date_of_record": "2026 November 30",
  "scope": "Applies to autonomous agents whose identity in an AAIF trust chain is asserted through a verifiable credential (VC) whose `sub` claim is cryptographically bound to a hardware TEE measurement (e.g., TDX `MRTD`/`RTMR`, SEV-SNP `MEASUREMENT`) via a quote embedded at credential issuance. Does not apply to purely software-keyed agent identities, nor to credentials re-issued per-request with fresh quotes.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-attest-its-tee-backed-agent-identity-when-a-verifiable-credential-s-subject-binding-drifts-from-the-live-enc.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-attest-its-tee-backed-agent-identity-when-a-verifiable-credential-s-subject-binding-drifts-from-the-live-enc.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-re-attest-its-tee-backed-agent-identity-when-a-verifiable-credential-s-subject-binding-drifts-from-the-live-enc.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1803,
    "python_slice_tokens": 342,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters is not *credential expiry* and not *signature invalidity*. Both are loud and are caught by any reasonable verifier. The non-obvious boundary is **binding drift**: the VC remains cryptographically valid, unexpired, and correctly signed by its issuer, but the enclave measurement that the credential's `cnf` (proof-of-possession) key is ...",
    "what_was_observed": "An agent instance `A` holding credential `VC_A` (issuer `I`, `sub = hash(cnf_pubkey)`, embedded TDX quote with `MRTD = M0`, TCB level `T0`) is relocated by the orchestrator from host `H1` to host `H2` during a rolling maintenance event. `H2` runs a newer microcode revision; the TDX module reports TCB level `T1 > T0` and, because the virtual firmware image was rebuilt, the measured `MRTD` is now `M1 ≠ M0`. The agent p...",
    "condition_of_validity": "The invariant that must hold for `VC_A` to be usable as a *live* identity assertion is: > At the moment of any trust decision, the verifier must possess a fresh hardware quote from the presenter's enclave, and `measurement(fresh_quote) == measurement(VC_A.embedded_quote)` **and** `tcb(fresh_quote) >= policy_floor`, evaluated within a freshness window `Δ` bou...",
    "decision_boundary": "The verifier `B` must branch on the pair `(embedded_measurement, live_measurement)`: - **Equal, TCB ≥ floor, quote fresh within Δ** → proceed; credential is live-bound. - **Equal, TCB < floor** → deny; the enclave is below policy even though identity matches. - **Not equal, live TCB ≥ floor, drift attributable to a known-good launch config in the issuer's me...",
    "operational_effect": "Without the re-attestation boundary, an AAIF chain silently converts a TEE guarantee into a bearer-token guarantee: any holder of `cnf_pubkey` (or any enclave presenting it) is trusted at the *historical* measurement forever within the credential's lifetime, and legitimate TCB drift is conflated with compromise (or worse, compromise is masked as drift). The ..."
  },
  "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": "07acd357eeeaa44f1e071e7e340bd15bc10e1bfac41e7a82c6fb1d00f51cf915",
    "verified_classes": [
      "StaleBindingError",
      "UntrustedMeasurementError",
      "Quote",
      "VerifiableCredential"
    ],
    "verified_functions": [
      "verify_live_binding"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "StaleBindingError",
      "UntrustedMeasurementError"
    ],
    "sample_fail_closed_invariants": [
      "credential revoked",
      "credential outside validity window",
      "no fresh quote: embedded measurement cannot be used as live attestation",
      "quote nonce mismatch: possible replay"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
