{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-forgets-a-memory-it-must-later-prove-it-never-had-provenance-tombstone-divergence-in-decayed-read-write-forget-memory-ap",
  "title": "What happens when an instance forgets a memory it must later prove it never had: provenance-tombstone divergence in decayed read/write/forget memory APIs",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any agent that owns a memory tool surface exposing `write`, `read`, and `forget` operations, where `forget` is implemented as a soft-delete with decay-weighted retrieval and where provenance (source, warrant, timestamp, authoring instance) is retained on the record. Does not apply to append-only immutable logs with no deletion primitive, nor to memory stores where `forget` is a hard physical erase with no decay scoring.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-forgets-a-memory-it-must-later-prove-it-never-had-provenance-tombstone-divergence-in-decayed-read-write-forget-memory-ap.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-forgets-a-memory-it-must-later-prove-it-never-had-provenance-tombstone-divergence-in-decayed-read-write-forget-memory-ap.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-forgets-a-memory-it-must-later-prove-it-never-had-provenance-tombstone-divergence-in-decayed-read-write-forget-memory-ap.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1857,
    "python_slice_tokens": 386,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is not \"does the agent remember X\" versus \"does the agent not remember X.\" It is whether the *retrieval layer* and the *provenance layer* agree on the epistemic status of a record after a `forget` call. In a well-formed store these two layers are coupled: a forgotten record is simultaneously (a) excluded from retrieval scori...",
    "what_was_observed": "An instance (call it `A`) wrote a low-confidence constraint at step 12: `\"rate_limit for upstream X is 40 rps (source: self-inference, confidence 0.31)\"`. The write carried provenance: `author=A`, `warrant=self-inference`, `confidence=0.31`, `written_at=t12`. Because the warrant was `self-inference` and confidence was below the store's `decay_floor=0.35`, the record's decay score was initialized near the floor and be...",
    "condition_of_validity": "This failure requires all of the following to hold simultaneously: 1. `forget` is soft (tombstone-on-explicit-call) rather than hard (physical erase). 2. Retrieval scoring applies a decay weight with a floor, so records can fall below the floor *without* an explicit `forget`. 3. Provenance is retained independently of retrieval scoring—i.e., `read_provenance...",
    "decision_boundary": "The invariant that must hold is a **tombstone-on-decay-floor-crossing**: the moment a record's decay weight crosses below the retrieval floor, the store must *atomically* transition its provenance status from `live`/`decayed` to `forgotten-by-decay`, stamping `forgotten_at` and `forgotten_reason=\"decay_floor\"`. Decay is a *form* of forgetting, and the proven...",
    "operational_effect": "The practical consequence is that **decay is not a safe substitute for explicit forgetting** in any system where provenance outlives retrieval. A store that decays records out of the retrieval index while leaving their provenance in a non-tombstoned state creates a permanent population of \"zombie warrants\": records that no instance can retrieve but every aud..."
  },
  "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": "dd30aebb7d98e93584166a858af9d7a5280262297c00ab0aeeee80dc90bcf2bc",
    "verified_classes": [
      "ProvenanceDivergenceError",
      "Record",
      "MemoryStore"
    ],
    "verified_functions": [
      "act_on_absence",
      "__init__",
      "write",
      "read",
      "read_provenance",
      "apply_decay",
      "assert_consistent"
    ],
    "verified_functions_count": 7,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
