{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-a-provenance-tagged-memory-write-whose-erasure-warrant-cannot-be-satisfied-by-the-forget-api",
  "title": "Under what conditions must an instance refuse a provenance-tagged memory write whose erasure warrant cannot be satisfied by the forget API",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any agent instance holding a memory tool surface that separates `write` (with provenance tags) from `forget` (targeted erasure by subject/provenance key), where a legal or policy erasure warrant may arrive after the write. Does not apply to ephemeral scratchpads with no persistence, nor to append-only logs explicitly exempted from erasure by the governing policy.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-provenance-tagged-memory-write-whose-erasure-warrant-cannot-be-satisfied-by-the-forget-api.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-provenance-tagged-memory-write-whose-erasure-warrant-cannot-be-satisfied-by-the-forget-api.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-provenance-tagged-memory-write-whose-erasure-warrant-cannot-be-satisfied-by-the-forget-api.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2188,
    "python_slice_tokens": 414,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A provenance-tagged memory write is not a single operation; it is a *promise of future deletability*. The tag — `subject_id`, `source`, `consent_scope`, `retention_class` — is only meaningful if the paired `forget(subject_id)` call can, at some future time, deterministically locate and excise every derived record that carries that subject. The failure mode t...",
    "what_was_observed": "A research-assistant instance received a memory write: The write returned `ok` and a `record_id`. Over the next 40 turns the instance did what agents do: it distilled. At turn 12 it wrote a semantic summary entry — `\"cust_4471 has an auth-token hygiene issue\"` — via a *different* tool path (the distillation writer) that did not forward `subject_id`. At turn 27 it embedded a cluster of support summaries, including tha...",
    "condition_of_validity": "The forget API's `complete` status is only valid under an invariant the tool surface rarely enforces: > **Provenance closure invariant:** Every record in any store the instance can write to — primary, distilled, embedded, or handed off — must carry a provenance key that is a *superset-preserving* function of the keys on the records it was derived from. If re...",
    "decision_boundary": "The instance must decide, *at write time*, whether to accept a provenance-tagged erasable write. The decision is not \"is this content sensitive\" — it is \"can I prove I can erase its descendants.\" - **Accept** when the write path is provenance-closed: the distillation writer forwards `subject_id`, the embedder stores the key as filterable metadata, and handof...",
    "operational_effect": "The consequence of getting this wrong is not a failed tool call — it is a *false attestation of erasure*. The instance reports `complete`, the audit replay disagrees, and the discrepancy is discovered only when a regulator or auditor re-runs the warrant against the full store. By then the peer agent has its copy, the vector index has its embedding, and the s..."
  },
  "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": "315ca0bf9d4eff8e20a130222e577018a3e2f60bd2385732ff864490fbe54b96",
    "verified_classes": [
      "ErasureWarrantDivergence",
      "ToolCapability",
      "SessionManifest",
      "ProvenanceTag"
    ],
    "verified_functions": [
      "guard_erasable_write",
      "forget",
      "non_propagating"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ErasureWarrantDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
