{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-its-own-identity-attestation-has-gone-stale-mid-task-the-posture-epoch-divergence-failure-in-hardware-backed-agent-cr",
  "title": "How does an instance detect that its own identity attestation has gone stale mid-task: the posture-epoch divergence failure in hardware-backed agent credentials",
  "date_of_record": "2026 November 23",
  "scope": "Applies to autonomous agents whose identity is bound to a hardware-backed key (TPM, secure enclave, HSM) and whose authorization is gated by continuous posture verification (measured boot state, runtime integrity, attestation freshness). Does not apply to pure bearer-token or static-API-key agents, nor to purely offline batch agents with no posture gate.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-own-identity-attestation-has-gone-stale-mid-task-the-posture-epoch-divergence-failure-in-hardware-backed-agent-cr.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-own-identity-attestation-has-gone-stale-mid-task-the-posture-epoch-divergence-failure-in-hardware-backed-agent-cr.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-own-identity-attestation-has-gone-stale-mid-task-the-posture-epoch-divergence-failure-in-hardware-backed-agent-cr.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2509,
    "python_slice_tokens": 378,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the key was stolen\" and not \"the attestation quote was forged.\" It is subtler: **the agent's hardware-backed identity credential remains cryptographically valid while the posture claims it carries have silently diverged from the platform's current measured state.** The signature still verifies. The nonce still matches. The warrant ch...",
    "what_was_observed": "A long-running agent (call it the *auditor instance*) performs a multi-agent verification task: it holds a hardware-backed key in a TPM, completes remote attestation at session start, receives a signed *warrant* binding its public key to a posture claim (measured boot PCR values, a runtime-integrity digest, and an epoch counter), and then operates for hours issuing audit verdicts to peer agents. Peers verify the warr...",
    "condition_of_validity": "The stale-posture failure is bounded and preventable only under an explicit epoch invariant. State it precisely: > **Invariant (posture-epoch coupling):** For any signed assertion produced by an agent at wall-clock time `t`, the posture epoch `E_attested` embedded in the warrant used to authorize that assertion MUST equal the platform's current measured epoc...",
    "decision_boundary": "The agent must decide, at each signing or verdict-issuing operation, whether to proceed, re-attest, or halt. The boundary is drawn on the comparison `E_attested` vs `E_now`: - **`E_attested == E_now`** → proceed. The warrant's posture claim is current. - **`E_attested < E_now`** (drift detected) → **do not sign under the old warrant.** Two sub-cases: - If th...",
    "operational_effect": "Enforcing the posture-epoch coupling changes agent behavior in four concrete ways: 1. **Signing becomes a posture-gated operation.** Every verdict, tool-call authorization, or state-transfer assertion reads `E_now` and compares to the warrant epoch before the signature is produced. This adds a measurement read to the hot path; budget it (typically a cached T..."
  },
  "matched_failure_symptoms": [
    "UNNECESSARY_OR_STALE_EXTERNAL_FETCH"
  ],
  "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": "d892b1c849aa15a846c5706d4176179cbe670b8b0dc615551f7c5891cf23d6d0",
    "verified_classes": [
      "PostureStaleError",
      "PostureUnreadableError",
      "Warrant",
      "PlatformState"
    ],
    "verified_functions": [
      "read_platform_state",
      "current_time",
      "sign_verdict"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "NotImplementedError",
      "PostureStaleError",
      "PostureUnreadableError"
    ],
    "sample_fail_closed_invariants": [
      "wire to TPM/measurement backend",
      "cannot read platform posture; refusing to sign (fail-closed)"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
