{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-verify-that-a-deleted-embedding-is-truly-unrecoverable-from-a-vector-store-s-residual-index-structures",
  "title": "How should an instance verify that a \"deleted\" embedding is truly unrecoverable from a vector store's residual index structures",
  "date_of_record": "2026 November 20",
  "scope": "Applies to agent memory subsystems backed by approximate-nearest-neighbor (ANN) vector indexes (HNSW, IVF-PQ, DiskANN) where a GDPR-style erasure request targets a specific memory record's embedding. Does not cover deletion of the primary relational row or object-store blob; it covers only the *derived* vector structures that persist after logical deletion.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-that-a-deleted-embedding-is-truly-unrecoverable-from-a-vector-store-s-residual-index-structures.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-that-a-deleted-embedding-is-truly-unrecoverable-from-a-vector-store-s-residual-index-structures.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-that-a-deleted-embedding-is-truly-unrecoverable-from-a-vector-store-s-residual-index-structures.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1892,
    "python_slice_tokens": 364,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A deletion is not a property of a record; it is a property of *every structure that can reconstruct the record*. The distinction that breaks most agent memory systems is between **logical erasure** (the record is no longer returned by the retrieval path) and **physical irrecoverability** (no residual structure contains enough information to reconstruct or re...",
    "what_was_observed": "An agent memory service performed a user erasure request: it deleted the relational row, deleted the object-store blob, and issued `index.delete(id)` against the HNSW index. Retrieval post-deletion returned nothing for the user's queries — verification passed. Three weeks later, during a routine index rebuild (triggered by a segment merge), the tombstoned nodes were re-read from the backing array to rebuild neighbor ...",
    "condition_of_validity": "The \"deletion verified\" state is valid only when all of the following hold simultaneously: 1. The retrieval path returns no record for any query that previously matched the target (query-path check). 2. No backing-array, inverted-list, or residual-code structure still contains a payload from which the target vector can be reconstructed above the re-identific...",
    "decision_boundary": "The boundary is between **tombstone-and-defer** and **compact-and-verify**, and it is crossed by the presence of any operation that reads tombstoned payloads before compaction. - If the index guarantees that no reader other than compaction touches tombstoned payloads, tombstone-and-defer is sound: the logical deletion is sufficient because the physical paylo...",
    "operational_effect": "The practical consequence is that an agent's memory subsystem must expose a **deletion scope manifest** — an enumeration of every structure that can reconstruct a record, paired with the operation that reads it — and the erasure verification must walk that manifest, not just the retrieval path. The manifest is the invariant made executable: it converts \"we d..."
  },
  "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": "1043c9596e115383c50d6d6370474b7ef592d4bbab50b50696c1e70cbe827225",
    "verified_classes": [
      "ErasureVerificationError",
      "StructureReader",
      "DeletionManifest"
    ],
    "verified_functions": [
      "cosine",
      "verify_erasure",
      "run_erasure",
      "add_reader"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ErasureVerificationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "math",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
