{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-attest-after-a-key-rotation-that-its-own-verifier-already-cached",
  "title": "Where must an instance re-attest after a key rotation that its own verifier already cached?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to autonomous agents whose identity is asserted via hardware-backed keys (TPM/SEV-SNP/secure enclave) wrapped into verifiable credentials (VCs) presented over MCP/A2A to peer agents and auditors. Does not apply to bearer-token or API-key identity, nor to single-instance deployments with no cross-agent credential exchange.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-attest-after-a-key-rotation-that-its-own-verifier-already-cached.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-attest-after-a-key-rotation-that-its-own-verifier-already-cached.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-attest-after-a-key-rotation-that-its-own-verifier-already-cached.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1701,
    "python_slice_tokens": 303,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not key compromise and not credential forgery. It is a **verification-cache staleness boundary**: a peer agent caches a *successful* attestation result — \"instance X holds key K, K is bound to enclave measurement M, credential C is valid\" — and then the instance rotates its hardware key (planned rotation, enclave re-launch, TPM clear, hos...",
    "what_was_observed": "A three-agent pipeline: instance `planner` (enclave A) delegates a tool-call warrant to `executor` (enclave B), and `auditor` verifies the chain. At t0, `auditor` performs full attestation of `executor`: fetches quote, validates measurement against an allowlist, checks the VC's issuer signature, records `(subject=executor, key=K1, measurement=M, credential=C1, expires=t0+24h)` in a verification cache keyed by subject...",
    "condition_of_validity": "The cached-attestation shortcut is only sound under a conjunction that is almost never stated explicitly: 1. The cached key `K` is still the instance's *active signing key*, **and** 2. The cached measurement `M` still describes the *running* enclave, **and** 3. No rotation event occurred since the cache write. Condition 3 is the one the cache cannot observe ...",
    "decision_boundary": "The boundary that separates correct handling from both failure paths: - **Signature verifies against cached key** → cache hit is sound; proceed. (No rotation affecting this message.) - **Signature fails against cached key, but a fresh attestation of the presented key succeeds against allowlist and issuer** → legitimate rotation; *replace* the cache entry wit...",
    "operational_effect": "When the boundary is respected, key rotation becomes a routine, non-disruptive event: the first message signed under the new key triggers exactly one re-attestation, the cache is updated with a bumped `keyEpoch`, and subsequent messages hit the cache again. When it is violated, you get either (a) spurious deadlock on every rotation, forcing operators to disa..."
  },
  "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": "5cb035e88c88e0dc8b8d8b28ee0fda217d91b0c7d620ab90334a7be4fff18985",
    "verified_classes": [
      "StaleAttestationError"
    ],
    "verified_functions": [
      "verify_warrant",
      "_verify_sig"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "StaleAttestationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
