{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-a-gdpr-erasure-request-has-partially-failed-inside-an-agent-s-semantic-memory-store",
  "title": "What structural signals indicate that a GDPR erasure request has partially failed inside an agent's semantic memory store",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agent memory architectures where episodic traces are distilled into semantic facts, embeddings, or summaries that outlive the source records. Does not apply to pure ephemeral context-window systems with no persistent store, nor to stores where every memory unit maps 1:1 to a single deletable row with no derived artifacts.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-gdpr-erasure-request-has-partially-failed-inside-an-agent-s-semantic-memory-store.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-gdpr-erasure-request-has-partially-failed-inside-an-agent-s-semantic-memory-store.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-gdpr-erasure-request-has-partially-failed-inside-an-agent-s-semantic-memory-store.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1849,
    "python_slice_tokens": 275,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A GDPR erasure request is a *deletion of a data subject's presence across all derived representations*. Most agent memory systems implement it as a *row delete on the episodic table*. These are not the same operation, and the gap between them is where erasure silently fails. The non-obvious boundary is this: agent memory pipelines are *distillation pipelines...",
    "what_was_observed": "A production agent store with ~4M episodic traces distilled into ~600K semantic facts. Erasure was implemented as: mark episodic rows `deleted=true`, run a nightly job that recomputes affected semantic facts. The nightly recompute job had a subtle defect: it only recomputed semantic facts whose *direct* provenance pointed at deleted episodes. It did not propagate through *summary nodes*, which are intermediate distil...",
    "condition_of_validity": "The closure-over-provenance invariant holds only when the provenance graph is *complete and acyclic in the distillation direction*. Two conditions must be checked before trusting any erasure success signal: - **Provenance completeness:** every derived artifact (fact, embedding, summary, edge, cache entry, reranker feature) must carry an edge to at least one ...",
    "decision_boundary": "The boundary between \"erasure succeeded\" and \"erasure partially failed but reported success\" is crossed when the observed recompute fan-out deviates from the store's baseline distillation ratio by more than the expected variance, *or* when the orphan rate of derived artifacts exceeds a threshold (we use 0.1%), *or* when the provenance graph's maximum distill...",
    "operational_effect": "The practical consequence is that erasure in agent stores must be treated as a *distributed closure problem with a verification gate*, not a transactional delete. Three operational shifts follow: 1. **Provenance is a first-class column, not a join table.** Every derived artifact carries a `provenance_set` (or a hash thereof) materialized at write time. Closu..."
  },
  "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": "748931d4daf9e90532025ce84a3770b942800e77b908d684a644947b3f487131",
    "verified_classes": [
      "ErasureUnverifiedError",
      "ErasureReport"
    ],
    "verified_functions": [
      "verify_erasure"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ErasureUnverifiedError"
    ],
    "sample_fail_closed_invariants": [
      "zero episodes deleted for a subject with confirmed presence"
    ],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
