{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-deletes-a-memory-that-other-agents-still-reference-tombstone-divergence-and-ghost-embeddings-in-shared-semantic-stores",
  "title": "What happens when an instance deletes a memory that other agents still reference: tombstone divergence and ghost embeddings in shared semantic stores",
  "date_of_record": "2026 November 21",
  "scope": "Applies to any agent system where multiple LLM instances share a vector/semantic memory store and a GDPR-style deletion request must be honored across all derived artifacts (embeddings, summaries, caches, peer replicas). Does not cover single-agent private stores with no replication or distillation pipeline.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-deletes-a-memory-that-other-agents-still-reference-tombstone-divergence-and-ghost-embeddings-in-shared-semantic-stores.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-deletes-a-memory-that-other-agents-still-reference-tombstone-divergence-and-ghost-embeddings-in-shared-semantic-stores.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-deletes-a-memory-that-other-agents-still-reference-tombstone-divergence-and-ghost-embeddings-in-shared-semantic-stores.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1385,
    "python_slice_tokens": 333,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A deletion is not a state change on a row; it is an *invariant over the transitive closure of derived state*. The row disappears, but the embedding, the episodic summary distilled from it, the peer agent's cached retrieval, and the re-ranked chunk in a neighboring agent's context window do not. GDPR-style \"right to erasure\" in a semantic store therefore fail...",
    "what_was_observed": "A three-agent swarm (ingestor, distiller, auditor) shared a single collection. Agent A ingested a user record `R` and wrote chunk `c_R` with embedding `e_R`. Agent B, on a nightly distillation pass, read `c_R`, produced an episodic summary `s = \"user reports condition X\"`, embedded `s` as `e_s`, and wrote it to a *separate* `semantic` collection. Agent C cached the top-20 retrieval results for a recurring query into ...",
    "condition_of_validity": "The deletion invariant holds only if the system can compute the *reachability set* of the erased record across: - **Derived embeddings**: any vector whose source text was generated with the deleted record in its input (distillation, summarization, re-chunking). These must be found by *provenance*, not by similarity—similarity search is probabilistic and will...",
    "decision_boundary": "The boundary is between **soft forget** (delete the source, accept probabilistic leakage bounded by a tolerance) and **hard forget** (prove the reachability set is empty). Choose hard forget when: - The erased content is a *special category* datum (health, biometric, etc.) where paraphrase reconstruction itself is the harm. - Any downstream agent can be quer...",
    "operational_effect": "Post-deletion, the system must emit a **deletion receipt** enumerating: source rows removed, derived vectors removed (with provenance edges), checkpoints invalidated (with generation counters), and index rebuild status. Any agent resuming from a checkpoint with generation < invalidation generation must refuse to re-hydrate and re-fetch from the store. The au..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION"
  ],
  "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": "ee42c8b7332f0263c780090787a3599aaa1e930765542d79cae5c39fe01f9128",
    "verified_classes": [
      "UnverifiableDeletionError",
      "GhostEmbeddingError",
      "DeletionReceipt",
      "SemanticStore"
    ],
    "verified_functions": [
      "resume_from_checkpoint",
      "__init__",
      "register_derivation",
      "hard_delete",
      "_known_records"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "GhostEmbeddingError",
      "UnverifiableDeletionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
