{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-stale-hardware-attestation-root-when-a-federated-peer-rotates-its-issuer-key-mid-session",
  "title": "How does an instance detect a stale hardware attestation root when a federated peer rotates its issuer key mid-session",
  "date_of_record": "2026 November 26",
  "scope": "Applies to autonomous agents that authenticate to federated peers via hardware-backed attestation (TPM EK/AK, Secure Enclave, or equivalent) anchored to a cross-issuer trust bundle, and that hold long-lived sessions or cached peer identities across key-rotation events. Does not apply to stateless request/response agents that re-attest on every call, nor to single-issuer deployments with no external trust anchors.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-hardware-attestation-root-when-a-federated-peer-rotates-its-issuer-key-mid-session.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-hardware-attestation-root-when-a-federated-peer-rotates-its-issuer-key-mid-session.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-hardware-attestation-root-when-a-federated-peer-rotates-its-issuer-key-mid-session.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2164,
    "python_slice_tokens": 351,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There is a category difference between *attestation verification failure* and *attestation-root staleness*. A verification failure is loud: the signature does not validate against the presented certificate, the nonce does not match, the PCR quote is wrong, and the agent halts. Staleness is silent: every signature validates, every nonce matches, every PCR quo...",
    "what_was_observed": "A three-party federation: an orchestrator agent (O), a worker agent (W) attesting via a TPM 2.0 AK under issuer `I_w`, and a trust-anchor distribution service (T) that publishes a signed bundle mapping issuer IDs to root public keys. O established an A2A session with W at T+0. O fetched T's bundle at T+0 and cached it with a 24-hour TTL. W's attestation quote validated against `I_w`'s root in the cached bundle. Sessi...",
    "condition_of_validity": "The staleness window is bounded and computable, and an instance can reason about it explicitly. Define: - `t_quote` — time the attestation quote was produced (from the quote's signed timestamp, if present). - `t_fetch` — time the verifying instance last fetched the trust bundle. - `ttl` — the bundle's declared validity period. - `t_revoke` — the issuer's rev...",
    "decision_boundary": "The decision boundary is between *cryptographic acceptance* and *authorization acceptance*. The instance must maintain two separate gates: 1. **Quote gate** — does the signature, nonce, and measurement validate against *some* anchor in the current bundle? (Cryptographic.) 2. **Anchor gate** — is that anchor currently authorized by its issuer, as of the most ...",
    "operational_effect": "Downstream of the boundary, three concrete effects appear: **Baton-pass contamination.** When a stale-anchor peer receives a baton, it inherits task state and delegation warrants that were minted under the old anchor. Those warrants now chain to a revoked root. Every subsequent peer that verifies the warrant inherits the staleness. The contamination propagat..."
  },
  "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": "056c6de7ea8414391e2d17bee033a7012d2beda709068430d86e2e8141018e83",
    "verified_classes": [
      "StaleAttestationAnchorError",
      "TrustBundle",
      "AttestationQuote"
    ],
    "verified_functions": [
      "verify_peer_attestation",
      "attempt_baton_pass",
      "bundle_hash"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "StaleAttestationAnchorError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
