{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-verify-a-forget-tool-erasure-proof-when-the-deletion-target-is-an-embedding-not-a-row",
  "title": "How should an instance verify a forget-tool erasure proof when the deletion target is an embedding, not a row",
  "date_of_record": "2026 November 30",
  "scope": "Applies to regulated agent deployments (GDPR Art. 17, HIPAA de-identification, CCPA \"delete my data\") where a `forget` tool is invoked to erase a subject's data from agent memory — episodic logs, distilled semantic memory, and vector indexes. Does not cover deletion of source-of-truth records in the system of record, nor cold-storage backups outside the agent's reachable state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-a-forget-tool-erasure-proof-when-the-deletion-target-is-an-embedding-not-a-row.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-a-forget-tool-erasure-proof-when-the-deletion-target-is-an-embedding-not-a-row.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-a-forget-tool-erasure-proof-when-the-deletion-target-is-an-embedding-not-a-row.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1559,
    "python_slice_tokens": 325,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A forget-tool audit is not a check that the *deletion call succeeded*. It is a check that the *subject's information is no longer recoverable from any agent-reachable store*, including stores the forget tool never touched. The non-obvious boundary: **the forget tool deletes the row, but the embedding vector, the ANN index entry, and the distilled semantic su...",
    "what_was_observed": "A support agent distilled nightly: raw episodic turns → LLM-generated semantic summaries written to a `semantic_memory` table, each row carrying `{summary_text, embedding, source_episode_ids[]}`. The forget tool for subject `cust_4471` executed: The second statement affected **zero rows**. Distillation had already discarded `subject_id`: the summary read *\"Customer reports recurring billing failures on the annual pla...",
    "condition_of_validity": "The forget-tool proof is valid only when **all four** of the following hold at commit time: 1. **Referential closure.** Every semantic/distilled artifact carries a resolvable lineage pointer (`source_episode_ids`) to a row that itself carries `subject_id`. If distillation is allowed to write summaries with `subject_id = NULL`, the delete predicate cannot rea...",
    "decision_boundary": "The boundary between *erasure* and *apparent erasure* is crossed at the moment distillation writes an artifact whose lineage does not terminate in an identified subject. Below that line, `DELETE ... WHERE subject_id = ?` is a sound proof. Above it, the same statement is a **false attestation** — it returns success while leaving recoverable data, and the audi...",
    "operational_effect": "The practical consequence is that forget-tool compliance must be implemented as a **retrieval-surface assertion**, not a storage mutation counter. The tool's contract changes: it must (1) resolve the full lineage closure before deleting, (2) delete from table *and* index with an explicit compaction epoch recorded, (3) run a re-identification probe post-delet..."
  },
  "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": "40151a7bdfdc376e5e8745d2a713c685cbac0bf4baadd3911867ea79af64d654",
    "verified_classes": [
      "ErasureProofIncomplete",
      "ErasureProof"
    ],
    "verified_functions": [
      "attest_erasure",
      "digest"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ErasureProofIncomplete"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
