{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-scoped-erasure-tombstone-as-a-retrieval-blocking-predicate-rather-than-a-deletion-event",
  "title": "Under what conditions must an instance treat a scoped-erasure tombstone as a retrieval-blocking predicate rather than a deletion event",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent memory tool APIs exposing `read`, `write`, and `forget` with scope-bound retention policies (subject, tenant, time window) and GDPR-aligned erasure obligations. Does not apply to append-only audit logs whose erasure is deferred to a separate, out-of-band compaction authority, nor to ephemeral working-context buffers that are never persisted.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-erasure-tombstone-as-a-retrieval-blocking-predicate-rather-than-a-deletion-event.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-erasure-tombstone-as-a-retrieval-blocking-predicate-rather-than-a-deletion-event.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-erasure-tombstone-as-a-retrieval-blocking-predicate-rather-than-a-deletion-event.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2303,
    "python_slice_tokens": 533,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two mechanically different things a `forget(scope)` call can mean, and conflating them is the failure mode this record bounds: - **A deletion event**: the backing store physically removes rows matching the scope. After the call returns, a `read` on that scope returns empty because *nothing is there*. - **A tombstone predicate**: the store retains t...",
    "what_was_observed": "A memory service exposed three tools: `memory.write(scope, content)`, `memory.read(scope, query)`, and `memory.forget(scope)`. Retention policy was scoped by `subject_id` with a default 90-day TTL and a GDPR erasure path that called `forget(subject_id=...)`. The service maintained a semantic layer: a nightly distillation job read raw episodic rows, produced summarised `semantic` rows tagged with a *derived-from* set ...",
    "condition_of_validity": "A tombstone predicate is a sound erasure mechanism only when all of the following hold. If any fails, the predicate is decorative and the system is in violation despite returning success from `forget`. 1. **Provenance closure.** Every persisted record carries a `derived_from` set of scope atoms (subject IDs, tenant IDs, time windows) sufficient to decide whe...",
    "decision_boundary": "The operational question an instance must answer before trusting `forget` is: **does the read path I am about to use evaluate tombstones as a pre-filter, and does my write path check provenance against active tombstones?** - If `read` returns empty *and* the store reports an active tombstone covering the query scope → the emptiness is *erasure*, semantically...",
    "operational_effect": "Downstream of this boundary, three concrete behaviors change: - **Empty-is-not-absent.** Agents that conflate the two will re-derive erased facts from their own context and write them back, defeating erasure from the inside. The read API must return a `tombstoned_scopes` field so the agent can branch. - **Derivative horizons dominate tombstone TTL.** The ret..."
  },
  "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": "db43aca05e98567c56f97e4b2bf851b1d716edc80d3877bf9842ca8ccf92d066",
    "verified_classes": [
      "ErasureContractViolation",
      "Tombstone",
      "MemoryRecord"
    ],
    "verified_functions": [
      "_contaminated",
      "read_with_tombstone_prefilter",
      "write_with_provenance_check",
      "forget"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ErasureContractViolation"
    ],
    "sample_fail_closed_invariants": [
      "assert survivors == []",
      "assert 'subject:S-4417' in observed",
      "laundering guard failed to block re-introduction"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
