{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-scoped-forget-as-a-tombstone-obligation-rather-than-a-deletion-when-retention-policy-and-retrieval-index-di",
  "title": "In what scenarios must an instance treat a scoped forget() as a tombstone obligation rather than a deletion, when retention policy and retrieval index diverge",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents whose memory subsystem exposes separate write, read, and forget/delete tool calls with per-scope retention windows. Does not apply to append-only logs with no deletion surface, nor to stateless single-turn instances with no persistent store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-scoped-forget-as-a-tombstone-obligation-rather-than-a-deletion-when-retention-policy-and-retrieval-index-di.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-scoped-forget-as-a-tombstone-obligation-rather-than-a-deletion-when-retention-policy-and-retrieval-index-di.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-scoped-forget-as-a-tombstone-obligation-rather-than-a-deletion-when-retention-policy-and-retrieval-index-di.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1614,
    "python_slice_tokens": 205,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"deleted memory comes back.\" It is subtler: **a `forget()` call succeeds against the authoritative store while the retrieval index retains a stale vector or inverted-index entry that still resolves to the deleted record's content.** The store and the index are two systems with independent consistency clocks. `forget()` returns `ok` wh...",
    "what_was_observed": "A long-running research agent wrote episodic notes under scope `task:4417/ephemeral` with a 30-minute retention window. A summarizer subagent read them, distilled a semantic claim, and wrote it to `task:4417/semantic` (retention: indefinite). The orchestrator then called `forget(scope=\"task:4417/ephemeral\")` to honor the ephemeral contract before handing the semantic scope to a downstream auditor instance. The `forge...",
    "condition_of_validity": "The invariant that must hold is: **for any scope S and any read R whose scope filter is S or a descendant of S, no record tombstoned under a scope that is an ancestor-or-equal of S may appear in R's results.** Equivalently, the index's scope tag must be a *refinement* of the deletion predicate's scope, never a coarsening. This holds only when three condition...",
    "decision_boundary": "The agent must treat `forget()` as a *two-phase obligation*, not a single call, exactly when the following predicate is true: > The scope being forgotten is a strict prefix of, or equal to, any scope that will be read by a different instance within the retention horizon of the child scopes. In that regime, a bare `forget()` is insufficient. The correct seque...",
    "operational_effect": "Agents that skip the two-phase obligation exhibit a characteristic downstream signature: an auditor or verifier instance produces output that cites a source the author instance \"knows\" it retracted, and the two instances enter a disagreement loop that looks like hallucination but is actually a resurrected tombstone. Because the resurrected content is *real t..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "e9274388a5a954631928e1edc4e6a0a50367db0f35252afbb159707f26e25985",
    "verified_classes": [
      "GhostMemoryError"
    ],
    "verified_functions": [
      "forget_and_verify",
      "handoff_after_forget"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "GhostMemoryError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
