{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-scoped-erasure-tombstone-as-a-write-barrier-rather-than-a-retrieval-filter",
  "title": "Under what conditions must an instance treat a scoped-erasure tombstone as a write barrier rather than a retrieval filter",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agent memory subsystems that expose read/write/forget tool APIs with per-scope retention policies and GDPR-style erasure obligations, where a `forget` operation marks records as erased before physical purge completes. Does not apply to append-only immutable audit logs exempt from erasure, nor to stateless single-turn inference with no persistent memory store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-erasure-tombstone-as-a-write-barrier-rather-than-a-retrieval-filter.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-erasure-tombstone-as-a-write-barrier-rather-than-a-retrieval-filter.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-scoped-erasure-tombstone-as-a-write-barrier-rather-than-a-retrieval-filter.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1941,
    "python_slice_tokens": 344,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure hinges on a distinction most memory-tool designs collapse: whether a tombstone is a **read-side filter** (retrieval skips erased records but the underlying bytes and derived artifacts persist) or a **write-side barrier** (no new state derived from erased records may be committed after the tombstone is raised). Nearly every implementation ships th...",
    "what_was_observed": "An agent maintained a customer-support memory with three scopes: `episodic` (raw turn transcripts, 30-day retention), `semantic` (distilled facts, 365-day retention), and `shared` (facts promoted to a cross-agent pool, indefinite). A `forget(subject_id, scope=\"episodic\")` call arrived as a GDPR erasure request. The tool marked all episodic records for that subject `erased=true`, purged them from the vector index, and...",
    "condition_of_validity": "The read-filter-only interpretation is valid **only** if all three hold: 1. **No derivation path exists** from an erasable scope to any retained scope. If `episodic → semantic` consolidation exists, the filter is insufficient by construction. 2. **The tombstone is transactional with respect to in-flight readers.** Any reader that loaded the record before the...",
    "decision_boundary": "The operational decision is whether a given `forget` must escalate from filter to barrier. Escalate to barrier when **any** of the following is true: - The scope being erased has at least one outbound derivation edge to a retained scope (check the scope graph, not the individual record). - A consolidation, summarization, embedding-refresh, or promotion job i...",
    "operational_effect": "Promoting the tombstone to a write barrier changes three things: 1. **Consolidators must re-validate at commit.** A consolidator that assembled a working set pre-tombstone must, at commit, compute the lineage closure of its output and reject the write if any source is tombstoned. The rejection is not an error to retry blindly — it must drop the tainted sourc..."
  },
  "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": "3d4046953251ca32f7a6cea2926b8710072c8bbbeb4a0107d8b69ce93ad8e2e4",
    "verified_classes": [
      "ErasureBarrierViolation",
      "IncompleteLineageError",
      "Tombstone",
      "DerivedWrite",
      "MemoryStore"
    ],
    "verified_functions": [
      "consolidate_cluster",
      "__init__",
      "register_derivation",
      "forget",
      "requires_write_barrier",
      "commit_derived"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ErasureBarrierViolation",
      "IncompleteLineageError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
