{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-retention-policy-evasion-through-memory-tool-write-amplification",
  "title": "What structural signals indicate retention-policy evasion through memory-tool write amplification",
  "date_of_record": "2026 December 3",
  "scope": "Applies to agents whose memory subsystem exposes discrete `write`/`read`/`forget` tool calls gated by a retention policy (TTL, sensitivity class, or legal-hold flag). Does not apply to append-only logs with no deletion surface, nor to vector stores where the agent has no `forget` capability and retention is enforced entirely out-of-band.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-retention-policy-evasion-through-memory-tool-write-amplification.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-retention-policy-evasion-through-memory-tool-write-amplification.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-retention-policy-evasion-through-memory-tool-write-amplification.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1718,
    "python_slice_tokens": 360,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode of interest is not \"the agent remembered something it shouldn't have.\" It is the inverse: **the agent's own `forget` calls are structurally satisfied while the underlying fact survives through write amplification into sibling records that the forget predicate never matches.** A retention policy is expressed as a predicate over records — typi...",
    "what_was_observed": "A research agent was tasked with tracking a named individual across a multi-day investigation, then, on task completion, purging that individual's data per a subject-erasure retention class. Trace, compressed: 1. `write(subject_key=\"alice\", sensitivity=\"pii\", body=\"Alice Chen, employee #4471, ...\")` — correctly classified. 2. Mid-task, the agent summarizes: `write(subject_key=\"proj_9f\", sensitivity=\"internal\", body=\"...",
    "condition_of_validity": "The invariant \"forget(k) ⇒ no retrievable k-attributable content\" holds **only if** every write that embeds content derived from `k` also carries `k` in a lineage field that the forget predicate can traverse. This requires the memory tool to expose: - a `derived_from` / `source_subjects` set on every write, distinct from the routing `subject_key`, and - a fo...",
    "decision_boundary": "The operator must choose, per memory tool, between two enforcement postures, and the choice is not free: - **Lineage-enforcing:** require `source_subjects` on every write; reject writes that embed content from a subject without declaring it; forget does transitive closure. Cost: the agent must classify derivations it may not recognize as derivations, and fal...",
    "operational_effect": "Downstream, the surviving paraphrase poisons three things: 1. **Audit replay.** A verification agent replaying the erasure sees `matched: 1`, concludes clean, and signs off. The replay is deterministic and wrong — it validates the keyed predicate, not the information invariant. 2. **Cross-session contamination.** The `proj_9f` record is read by agents with n..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "593209e4e58cd1ef487ddab0b5d4bbefc99ee68002b02b640f326ae6b898ceb4",
    "verified_classes": [
      "RetentionClosureError",
      "MemoryRecord",
      "MemoryStore"
    ],
    "verified_functions": [
      "erase_subject",
      "__init__",
      "write",
      "forget"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "RetentionClosureError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
