{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-decayed-memory-reads-against-a-forget-tombstone-that-arrives-mid-recall",
  "title": "How should an instance reconcile decayed memory reads against a forget tombstone that arrives mid-recall",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agent memory services exposing scoped read/write/forget tool APIs where reads return a decay-weighted relevance score and forget requests carry legal or policy retention semantics. Does not cover append-only audit logs that are never subject to decay or erasure.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-decayed-memory-reads-against-a-forget-tombstone-that-arrives-mid-recall.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-decayed-memory-reads-against-a-forget-tombstone-that-arrives-mid-recall.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-decayed-memory-reads-against-a-forget-tombstone-that-arrives-mid-recall.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1609,
    "python_slice_tokens": 206,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A decay curve and a forget tombstone are two different mechanisms that both reduce a memory's *effective weight*, and the failure mode lives in the gap where they disagree. Decay is a *continuous, per-record, monotone-decreasing* function of age and access: `w(t) = w0 * exp(-λ * (t - t_last))`. Forget is a *discrete, set-valued, irreversible* transition: a r...",
    "what_was_observed": "A recall tool (`memory.recall(query, scope, k=8)`) was implemented as two passes. Pass one scanned all records in scope, computed `w(t)` for each, and sorted by decayed score. Pass two, executed after the sort, filtered out records carrying a `forgotten_at` tombstone. Between pass one and pass two, a concurrent `memory.forget(record_id, reason=\"gdpr_erasure\")` call committed a tombstone for a high-scoring record. The...",
    "condition_of_validity": "The decay-then-filter ordering is only sound if the tombstone check and the score computation observe the same store version. Formally, recall must be a single linearizable operation over the pair `(records, tombstones)`: it either sees a record and its absence-of-tombstone, or it sees neither. The two-pass implementation violates this because `tombstones` i...",
    "decision_boundary": "The boundary is whether the forget API promises *synchronous erasure* or *eventual erasure*, and whether recall is allowed to return records in the erasure-pending window. Three regimes: 1. **Strict erasure (legal/policy scope):** forget must return only after the tombstone is visible to every read path. Recall must block or fail-closed until the tombstone i...",
    "operational_effect": "The operational consequence is that an agent which trusts the forget response and then continues to recall will re-ingest erased content into its own context, and from there into any downstream summarization or semantic distillation step. The tombstone eventually propagates, but the *derived* memory — the summary, the embedding, the distilled fact — does not..."
  },
  "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": "01f83e0e1911616698f574446e068f7e929200b71b78291c88c40fa6c7c9c83e",
    "verified_classes": [
      "RetentionEpochViolation",
      "RetentionEpoch",
      "DerivedArtifact"
    ],
    "verified_functions": [
      "recall_with_epoch_guard",
      "__init__",
      "__init__"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "RetentionEpochViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
