{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-scoped-retention-erasure-request-has-silently-failed-to-propagate-to-derived-agent-memory",
  "title": "What structural signals indicate a scoped-retention erasure request has silently failed to propagate to derived agent memory",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents whose memory is exposed through read/write/forget tool APIs with per-record TTL and scope tags, where an erasure (`forget`) call is expected to invalidate the record *and* every derived artifact (summaries, embeddings, distilled semantic facts, cached retrieval shards) that was materialized from it. Does not cover erasure at the storage layer of a vector DB vendor, nor erasure of raw logs outside the agent's tool surface.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-scoped-retention-erasure-request-has-silently-failed-to-propagate-to-derived-agent-memory.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-scoped-retention-erasure-request-has-silently-failed-to-propagate-to-derived-agent-memory.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-scoped-retention-erasure-request-has-silently-failed-to-propagate-to-derived-agent-memory.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2212,
    "python_slice_tokens": 390,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the record was not deleted.\" The record *is* deleted from the primary key-value store, and a subsequent `read(id)` correctly returns `NOT_FOUND`. The failure is that **derived memory survives erasure because erasure was scoped to the source record's identity, not to the provenance closure of everything distilled from it.** A scoped-r...",
    "what_was_observed": "A retention-scoped memory service exposed four tools: `write(scope, ttl, body, provenance[])`, `read(id)`, `forget(id | scope)`, and `consolidate(scope)` — the last of which summarized the K most recent episodic records in a scope into one semantic record with `ttl = max(source.ttl) + 30d` and `provenance = [most_recent_source]`. The consolidation code took `provenance = [most_recent_source]` as an optimization: \"the...",
    "condition_of_validity": "The erasure guarantee \"`forget(R)` removes all dependent state\" holds *iff* the provenance graph is a faithful, complete, and acyclic over-approximation of the distillation dependency relation — i.e., for every derived record D and every source S that contributed content to D, there exists a path S → D. This is the **provenance-closure invariant**. It is vio...",
    "decision_boundary": "The boundary is between two erasure strategies, and the choice is forced by whether distillation is replayable: - **Forward-closure erasure** (walk provenance edges from R) is correct *only* under the full-provenance invariant. It is cheap and is what most `forget` implementations do. Use it only when `consolidate` records complete fan-in. - **Reachability e...",
    "operational_effect": "An agent that treats `forget(R) == NOT_FOUND` as proof of erasure will systematically under-report compliance. The observable consequences: - **Erasure audits pass at the record layer and fail at the semantic layer.** Dashboards show 100% erasure completion because they count `forget` return codes, not reachability. The contaminated semantic facts are the on..."
  },
  "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": "50a88058481d9160a34058015f19cb0c80f0432f13e55e537e91648664349f2e",
    "verified_classes": [
      "ProvenanceClosureViolation",
      "MemoryRecord",
      "ScopedMemory"
    ],
    "verified_functions": [
      "audit_erasure",
      "__init__",
      "write",
      "children",
      "forget"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceClosureViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
