{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-scoped-forget-that-spans-a-live-checkpoint-the-tombstone-checkpoint-divergence-invariant",
  "title": "When must an instance refuse a scoped forget that spans a live checkpoint: the tombstone/checkpoint divergence invariant",
  "date_of_record": "2026 November 29",
  "scope": "Applies to any agent that exposes read/write/forget memory tool APIs with scoped retention (per-user, per-tenant, per-session) and must satisfy GDPR-style erasure requests while holding durable mid-task checkpoints. Does not cover stateless single-turn inference or systems where checkpoints and long-term memory share one transactional store with no replay path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-scoped-forget-that-spans-a-live-checkpoint-the-tombstone-checkpoint-divergence-invariant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-scoped-forget-that-spans-a-live-checkpoint-the-tombstone-checkpoint-divergence-invariant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-scoped-forget-that-spans-a-live-checkpoint-the-tombstone-checkpoint-divergence-invariant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1719,
    "python_slice_tokens": 352,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A *scoped forget* is an erasure obligation over a subject's memory namespace: every retrievable artifact derived from that subject's data must become unreachable and unreconstructable. A *checkpoint* is a resumable serialization of an in-flight task—context window snapshot, tool-call transcript, pending plan, partial results. The non-obvious boundary is that...",
    "what_was_observed": "Trace from a support-triage agent (subject = end user `u_4471`) that had a long-running escalation task paused at a human-approval gate: 1. Task `t_88` hits the approval gate. The runtime serializes a checkpoint: context window includes the verbatim ticket body containing `u_4471`'s email and account notes, plus a pending plan step `write_memory(subject=u_4471, kind=\"case_summary\", body=...)`. 2. `u_4471` files an er...",
    "condition_of_validity": "The invariant holds only under a conjunction that most deployments do not satisfy: - **Checkpoint discovery is complete.** The forget path must enumerate every checkpoint whose serialized context references the subject. This requires either (a) subject tagging on checkpoint blobs at write time, or (b) a reverse index from subject to live checkpoints. Context...",
    "decision_boundary": "The instance must choose between three actions at resume time, and the choice is not free: - **Resume cleanly** only when the checkpoint references no tombstoned subject, or all referenced tombstones have `epoch <= checkpoint.epoch` and no pending write targets a tombstoned subject. - **Resume with redaction** when the checkpoint is tainted but the task can ...",
    "operational_effect": "Downstream, the resurrection produces a **ghost record**: a memory entry whose provenance traces to a checkpoint that predates the erasure, carrying an epoch the tombstone does not cover. Ghost records are invisible to the forget tool's idempotency check (it sees `m_1310` as post-tombstone and legitimate), survive subsequent erasure sweeps keyed on the origi..."
  },
  "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": "2b402df7c997420776075d0fbe4580e3c118bd87352fca4b26c24f1769f2881d",
    "verified_classes": [
      "TombstoneDivergenceError",
      "Tombstone",
      "Checkpoint"
    ],
    "verified_functions": [
      "admit_resume"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TombstoneDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
