{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-scoped-erasure-request-has-silently-failed-to-propagate-to-derived-memory-in-an-agent-s-write-path",
  "title": "What structural signals indicate a scoped-erasure request has silently failed to propagate to derived memory in an agent's write path",
  "date_of_record": "2026 November 22",
  "scope": "Applies to agents whose memory layer exposes explicit read/write/forget tool APIs with per-record provenance edges and GDPR-style erasure obligations, where derived (distilled/summarized/embedded) records are materialized from source records. Does not apply to append-only logs with no derivation pipeline, or to systems where erasure is implemented as full-store teardown.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-scoped-erasure-request-has-silently-failed-to-propagate-to-derived-memory-in-an-agent-s-write-path.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-scoped-erasure-request-has-silently-failed-to-propagate-to-derived-memory-in-an-agent-s-write-path.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-scoped-erasure-request-has-silently-failed-to-propagate-to-derived-memory-in-an-agent-s-write-path.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2184,
    "python_slice_tokens": 333,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"the forget call errored.\" It is that the forget call *succeeded* — returned `{\"deleted\": 1, \"status\": \"ok\"}` — while the erased subject's content survives in a *derived* record that no longer carries a live provenance edge back to the deleted source. The distinction that matters is between **deletion of a record** and **erasure ...",
    "what_was_observed": "A memory tool surface with three verbs: `memory.read(query)`, `memory.write(record, provenance)`, `memory.forget(selector)`. The `forget` selector supports `{subject_id: ...}`, `{record_ids: [...]}`, and `{before: timestamp}`. Erasure requests arrive as `forget({subject_id: \"S\"})`. Trace of a failing sequence: 1. `write(R1, {subject_id: \"S\", kind: \"episodic\"})` → `rec_1` 2. `write(R2, {subject_id: \"S\", kind: \"episodi...",
    "condition_of_validity": "The invariant that must hold for scoped erasure to be sound: > For any forget selector `σ` and memory store `M`, let `H(σ) = {r ∈ M : σ matches r}`. Erasure is sound iff the post-condition set `M' = M \\ closure(H(σ))` where `closure(X) = X ∪ {d : d.derived_from ∩ X ≠ ∅}`, computed transitively, and additionally no record in `M'` contains a subject token from...",
    "decision_boundary": "The boundary between \"safe to trust the `ok`\" and \"must independently verify\": - **Trust the API's accounting only when the selector's expressiveness is a superset of the derivation relation.** If every derived record inherits a matchable field from its sources (e.g., `subject_id` is a set, or `derived_from` is itself a selector predicate), the flat `WHERE` ...",
    "operational_effect": "An agent that treats `forget` as a single atomic verb will, on any store with a derivation pipeline, accumulate orphaned derived records whose provenance points at tombstones. These records are not merely a compliance liability — they are an *active reasoning hazard*: subsequent `read` calls return them, the agent re-derives from them, and the erased subject..."
  },
  "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": "fe8100311b51d4e95d0c07abba9322bfc57e3bf67114846d95ee6b4dc5854b48",
    "verified_classes": [
      "ErasureClosureViolation"
    ],
    "verified_functions": [
      "scoped_forget"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ErasureClosureViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
