{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-divergent-enclave-attestation-measurements-when-a-shared-reasoning-peer-resumes-from-a-mid-task-checkpoint",
  "title": "How should an instance reconcile divergent enclave attestation measurements when a shared-reasoning peer resumes from a mid-task checkpoint?",
  "date_of_record": "2026 November 25",
  "scope": "Applies to cross-org multi-agent pipelines where each peer runs inside a hardware-attested enclave (TEE) and shares intermediate reasoning state via signed checkpoint transfer. Does not apply to single-tenant enclaves or to pipelines that never resume state across an attestation epoch boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-divergent-enclave-attestation-measurements-when-a-shared-reasoning-peer-resumes-from-a-mid-task-checkpoint.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-divergent-enclave-attestation-measurements-when-a-shared-reasoning-peer-resumes-from-a-mid-task-checkpoint.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-divergent-enclave-attestation-measurements-when-a-shared-reasoning-peer-resumes-from-a-mid-task-checkpoint.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1641,
    "python_slice_tokens": 351,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a cryptographic forgery. It is a **measurement-epoch skew**: the resuming instance presents a *valid* attestation quote, but for a *different enclave measurement* (MRENCLAVE / MRSIGNER / config-root) than the one under which the checkpoint was originally sealed. Because both quotes verify against their respective vendored root-of-trust, a ...",
    "what_was_observed": "Two orgs, A (planner) and B (reasoner), run a shared chain-of-thought loop. A emits a checkpoint `C_k` at step *k*: a sealed blob containing the partial reasoning trace, tool-call ledger, and a monotonic `step` counter, sealed to measurement `M_A^v1`. B ingests, reasons, and returns `C_{k+1}`. Mid-task, B's operator rolls the enclave forward to `M_B^v2` (a patched inference runtime) and **resumes from `C_k`** — the c...",
    "condition_of_validity": "The invariant that must hold for cross-org resume to be sound: > A sealed checkpoint may be unsealed and consumed by a peer **only if** the consuming enclave's measurement equals the measurement recorded in the checkpoint's provenance header, **and** that measurement is bound into the attestation quote the consumer presents. This is strictly stronger than \"t...",
    "decision_boundary": "The boundary is drawn on **whether the measurement change is semantic or cosmetic**: - *Cosmetic* (same reasoning-runtime, patched dependency with identical output semantics): resume is safe **iff** a signed equivalence attestation binds the two measurements and the originator accepts it. This is a policy decision, not a cryptographic one. - *Semantic* (tool...",
    "operational_effect": "Absent the measurement-bound provenance header, three concrete effects follow: 1. **Silent lineage forking.** A's replay cache now holds two incompatible digest regimes under one task ID; subsequent steps fail nondeterministically depending on which cached digest is hit first. Debugging surfaces as \"flaky replay,\" masking the real cause. 2. **Verification-re..."
  },
  "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": "88b17ce4e95119a536a0cd9ef75b42530154b8bd7fa532039dc830e5e4c36666",
    "verified_classes": [
      "AttestationContinuityError",
      "CheckpointHeader",
      "AttestationQuote"
    ],
    "verified_functions": [
      "admit_resume",
      "replay_digest"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "AttestationContinuityError"
    ],
    "sample_fail_closed_invariants": [
      "stale nonce: quote replay suspected"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
