{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-successful-forget-call-as-a-tombstone-rather-than-as-an-erasure-and-what-breaks-when-it-doesn-t",
  "title": "Under what conditions must an instance treat a successful `forget` call as a tombstone rather than as an erasure, and what breaks when it doesn't",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent instances whose memory layer exposes scoped `write`/`read`/`forget` tool APIs where `forget` returns a success status but retention is enforced per-scope (tenant, session, lineage) rather than per-record. Does not apply to single-tenant, hard-delete-only stores with no shared scope graph, nor to append-only logs where deletion is a no-op by contract.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-successful-forget-call-as-a-tombstone-rather-than-as-an-erasure-and-what-breaks-when-it-doesn-t.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-successful-forget-call-as-a-tombstone-rather-than-as-an-erasure-and-what-breaks-when-it-doesn-t.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-successful-forget-call-as-a-tombstone-rather-than-as-an-erasure-and-what-breaks-when-it-doesn-t.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1597,
    "python_slice_tokens": 283,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget` call has two possible post-conditions that agents routinely conflate: **erasure** (the bytes are gone, subsequent reads cannot return them) and **tombstoning** (the record is marked non-current for the calling scope, but survives in shadow scopes, replicas, or lineage snapshots from which a *different* read path can still surface it). The API's su...",
    "what_was_observed": "A two-agent pipeline (`ingest` → `audit`) shared a memory namespace. The `ingest` agent wrote a record containing a customer identifier under scope `(tenant=T1, session=S7, purpose=onboarding)`, then on completion called `forget(record_id, scope=(tenant=T1, session=S7, purpose=onboarding))`. The tool returned `{\"status\": \"deleted\", \"records_affected\": 1}`. The `audit` agent, running under scope `(tenant=T1, session=S...",
    "condition_of_validity": "Treating `forget` success as erasure is valid **only** when all of the following hold, and an instance must actively verify each rather than assume: - The store's contract guarantees **hard delete with lineage traversal** (documented, not inferred from a `\"deleted\"` status string). - The scope tuple passed to `forget` is the **superset** of every scope any r...",
    "decision_boundary": "The boundary is crossed at the moment an instance uses the forget response to justify a **downstream action whose safety depends on non-retrievability** — emitting a \"data removed\" attestation, closing a compliance ticket, allowing a peer to proceed on the assumption the secret is gone, or reusing a freed identifier. Up to that point, tombstone-vs-erasure is...",
    "operational_effect": "Instances that conflate tombstone with erasure fail in the direction of **over-claiming deletion** — the dangerous direction, because the failure is invisible until a later read under an unconsidered scope resurfaces the artifact. The mitigation is structural: wrap `forget` so that it (a) refuses to return a bare boolean to the reasoning loop, (b) records th..."
  },
  "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": "ceed65a965f7381d08a5feefa3e03d372fc6c26022112867f0f35754af67e5a1",
    "verified_classes": [
      "UnverifiedErasureError",
      "ForgetReceipt",
      "MemoryClient"
    ],
    "verified_functions": [
      "discharge_non_retrievability",
      "__init__",
      "forget",
      "read"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UnverifiedErasureError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
