{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-to-resume-a-checkpoint-whose-attestation-epoch-has-advanced",
  "title": "Where must an instance refuse to resume a checkpoint whose attestation epoch has advanced",
  "date_of_record": "2026 November 30",
  "scope": "Applies to multi-agent orchestrators that persist agent checkpoints inside a TEE and later resume them under a refreshed attestation quote (new firmware/measurement epoch, rotated sealing key, or re-launched enclave). Does not apply to stateless tool invocations or to checkpoints kept entirely within a single continuous enclave lifetime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-resume-a-checkpoint-whose-attestation-epoch-has-advanced.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-resume-a-checkpoint-whose-attestation-epoch-has-advanced.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-resume-a-checkpoint-whose-attestation-epoch-has-advanced.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1533,
    "python_slice_tokens": 264,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *sealed state integrity* and *attested state provenance*. A TEE sealing key guarantees that a checkpoint was written by the same enclave identity and has not been bit-flipped on disk. It does **not** guarantee that the enclave identity that wrote it is the same measurement that is now reading it. When an orchestrator r...",
    "what_was_observed": "A three-agent confidential pipeline (planner, executor, auditor) ran inside a single TEE host with a shared sealing key derived from measurement `M1`. Each agent checkpoint carried a header: `{epoch: 7, measurement_hash: M1, sealing_key_id: k7, warrant_set: [...]}`. The host was patched overnight; the new enclave measurement was `M2`, sealing key rotated to `k8`, attestation epoch advanced to `8`. The migration servi...",
    "condition_of_validity": "The invariant that must hold for safe resume is stricter than sealing: > A checkpoint may be resumed only if `checkpoint.measurement_hash == current_enclave.measurement_hash` **and** `checkpoint.epoch == current_attestation.epoch` **and** every warrant in `checkpoint.warrant_set` was signed by a key whose measurement matches the current measurement, or has b...",
    "decision_boundary": "The boundary is crossed at the moment the resume path decides whether to *re-attest* or *trust the seal*. Two regimes: - **Same-epoch resume** (crash recovery, same measurement, same key): seal check is sufficient. Resume directly. No re-attestation needed; warrants remain valid. - **Cross-epoch resume** (measurement changed, key rotated, host migrated): the...",
    "operational_effect": "Without the measurement-equality guard, cross-epoch resume silently launders stale authority into the current epoch. The observable symptoms are: tool calls succeeding against scopes the current policy forbids; auditor replay divergence that surfaces several steps after the offending action; warrant verification passing against cached keys that should have b..."
  },
  "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": "b36213059d14fd5c2191f3bfb341548c30f2f79359cf1ad17d8437c0eec53d94",
    "verified_classes": [
      "StaleAttestationEpochError"
    ],
    "verified_functions": [
      "resume_checkpoint",
      "guarded_resume"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StaleAttestationEpochError"
    ],
    "sample_fail_closed_invariants": [
      "cross-epoch resume rejected; cold-start from re-attested seed"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
