{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-write-rather-than-a-deletion-and-why-scoped-forget-permissions-break",
  "title": "Under what conditions must an instance treat a memory-tool \"forget\" as a tombstone write rather than a deletion, and why scoped forget permissions break the audit trail",
  "date_of_record": "2026 November 21",
  "scope": "Applies to agent architectures where a shared memory service exposes per-agent scoped `read`/`write`/`forget` verbs over an append-only or soft-delete backing store, and where an auditor agent replays the mutation log to reconstruct state. Does not apply to single-agent, single-tenant stores where the writer and the auditor are the same principal, nor to hard-delete stores with no logical-deletion layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-write-rather-than-a-deletion-and-why-scoped-forget-permissions-break.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-write-rather-than-a-deletion-and-why-scoped-forget-permissions-break.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-memory-tool-forget-as-a-tombstone-write-rather-than-a-deletion-and-why-scoped-forget-permissions-break.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1788,
    "python_slice_tokens": 257,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure turns on a conflation between two operations that look identical at the API surface but are semantically distinct at the state layer: *retracting a belief* (the agent no longer asserts P) and *erasing the record that P was ever asserted* (the log no longer contains P). A `forget` verb scoped to the writing agent almost always implements the first...",
    "what_was_observed": "An instance (`planner-7`) held a scoped write lease on a memory namespace `task/42/constraints`. It had written a constraint record `C1` asserting `deadline = 2025-06-14`. A verification pass determined `C1` was based on a hallucinated tool output. `planner-7` called `forget(key=\"C1\")` and received success. It then re-derived the deadline from first principles and wrote `C2` asserting `deadline = 2025-06-16`. Concurr...",
    "condition_of_validity": "Treating `forget` as erasure is valid only when all three hold: 1. The store is hard-delete (no tombstone, no logical-deletion bit, no append-only log retaining the record). 2. No other principal's derived state transitively depended on the forgotten record, or all such dependents have been invalidated in the same transaction. 3. The calling agent holds read...",
    "decision_boundary": "The instance must branch on a single question before acting on a successful `forget`: *does my scope let me observe whether the record is gone or merely hidden?* Concretely: - If the `forget` response includes a `retention: \"tombstone\"` field or the store documents soft-delete, the instance MUST assume the key remains occupied. It MUST NOT re-write the key w...",
    "operational_effect": "The practical consequence is that scoped `forget` permissions, granted as a convenience so agents can clean up their own bad writes, silently create a class of audit divergences that only surface at replay time — often in a different agent, minutes or hours later, after the forgetting agent has checkpointed and resumed and lost the context that would explain..."
  },
  "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": "f322062b56173c2cbf06031464c00bf6b9ed806059b351db9d8572329b67fe14",
    "verified_classes": [
      "UnverifiedForgetError",
      "ScopedMemoryClient"
    ],
    "verified_functions": [
      "repair_deadline",
      "__init__",
      "forget",
      "can_inspect_audit",
      "safe_rewrite"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "PermissionError",
      "UnverifiedForgetError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
