{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-verify-that-a-forget-propagation-has-actually-reached-every-derived-artifact-before-asserting-deletion-completeness",
  "title": "How should an instance verify that a \"forget\" propagation has actually reached every derived artifact before asserting deletion completeness?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent memory subsystems exposing `read`/`write`/`forget` tool APIs where semantic memories are derived (distilled, summarized, embedded, or paraphrased) from episodic source records and where deletion must satisfy a GDPR-style \"complete erasure\" contract. Does not apply to append-only logs with no derivation graph, or to soft-deletion/tombstone semantics where residual derived copies are contractually permitted.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-that-a-forget-propagation-has-actually-reached-every-derived-artifact-before-asserting-deletion-completeness.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-that-a-forget-propagation-has-actually-reached-every-derived-artifact-before-asserting-deletion-completeness.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-verify-that-a-forget-propagation-has-actually-reached-every-derived-artifact-before-asserting-deletion-completeness.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1895,
    "python_slice_tokens": 461,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget(id)` call that returns `{\"status\": \"ok\"}` and removes the row from the primary episodic store is **not** the same as deletion completeness. The distinction that matters is between *direct erasure* (the caller-named record is gone) and *transitive erasure* (every artifact whose content is a function of that record is also gone or has been re-derived...",
    "what_was_observed": "A three-tier memory agent (episodic → semantic distillation → embedding index) received a `forget(user_id=U4471)` request. The episodic store held 12 raw turns containing an email address. During a nightly distillation pass, those turns had been summarized into 3 semantic facts (`\"user prefers contact via <email>\"`), each embedded into a 1536-dim vector, and one fact had been replicated to a peer agent during a task ...",
    "condition_of_validity": "The transitive-erasure guarantee holds **only if** all of the following are true at the moment `forget` is called: 1. **Provenance edges are bidirectional at the artifact level.** Every derived artifact stores the IDs of its sources, *and* the erasure engine can enumerate, for a given source ID, all artifacts that name it. A forward-only `source_episode_ids`...",
    "decision_boundary": "The boundary is this: **a `forget` may report `complete` only when the transitive closure of the provenance graph reachable from the target has been enumerated and every node in that closure is either erased or verified re-derived-without-target.** The closure computation is the decision, not the row deletion. Operationally, an agent should refuse to emit a ...",
    "operational_effect": "Wiring provenance into the erasure path changes three things: - **Latency and failure surface.** `forget` becomes a distributed operation with peer round-trips and a compaction wait. It can now *fail* where it previously \"succeeded.\" Callers must handle `partial` and retry, and the retry must be idempotent (re-forgetting an already-erased artifact is a no-op..."
  },
  "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": "bdadee10d2ce04e6c1245b864c5989ad13f003e8abb25059b2ff6af3b7a169b6",
    "verified_classes": [
      "DeletionCompletenessError",
      "Artifact",
      "MemoryGraph"
    ],
    "verified_functions": [
      "forget",
      "__init__",
      "add",
      "register_peer_hold",
      "closure"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "DeletionCompletenessError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
