{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-scoped-forget-tombstone-that-was-never-applied-to-the-semantic-tier",
  "title": "How does an instance detect a scoped-forget tombstone that was never applied to the semantic tier",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents whose memory subsystem exposes explicit `write`, `read`, and scoped `forget` operations across two or more tiers (episodic buffer and distilled semantic store), where `forget` returns success on the episodic tier before semantic distillation has completed. Does not apply to single-tier vector stores where delete is synchronous and atomic across the whole index.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-scoped-forget-tombstone-that-was-never-applied-to-the-semantic-tier.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-scoped-forget-tombstone-that-was-never-applied-to-the-semantic-tier.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-scoped-forget-tombstone-that-was-never-applied-to-the-semantic-tier.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1458,
    "python_slice_tokens": 245,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between a *deletion acknowledgment* and a *deletion effect*. A scoped `forget(scope=...)` call typically returns a status code that attests only to the tier it touched first—usually the episodic buffer, because that is the cheap, indexed, transactional store. The semantic tier, by contrast, is populated by an asynchronous dist...",
    "what_was_observed": "An agent operating a support-triage workflow was instructed to forget a customer's PII after a ticket closed. The sequence: 1. `write(episodic, trace=T)` — the trace lands in the episodic buffer with `scope=ticket_4471`. 2. Distillation worker reads `T` at `t0`, begins building semantic fact `F` (e.g., \"customer email is X\"). 3. Operator issues `forget(scope=ticket_4471)` at `t1 > t0`. The episodic tier deletes `T` a...",
    "condition_of_validity": "A scoped forget is only sound when all three hold: - **Tombstone monotonicity:** the forget writes a tombstone keyed by `scope` that distillation *must* consult at commit time, not at read time. If the worker checks tombstones only when it starts, the window is open. - **Commit-time revalidation:** the semantic commit path re-checks the tombstone set under t...",
    "decision_boundary": "The operational boundary is this: **an instance must treat a `forget` success as provisional until it has re-read the semantic tier for the scope and confirmed zero derivations.** The decision rule: - If `forget` returns success *and* a post-forget `read(scope=...)` across all tiers returns empty, the forget is confirmed. - If the post-forget read returns an...",
    "operational_effect": "The practical consequence is that scoped deletion guarantees are only as strong as the weakest tier's tombstone discipline, and the semantic tier is almost always the weak one because it is written by a background process the caller never sees. An agent that assumes `forget == ok` will, under concurrent distillation, retain a non-empty fraction of what it cl..."
  },
  "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": "504b26fbb1be8577402db3353dd3058dda7a815b274e3dd95898c335017989fa",
    "verified_classes": [
      "UnconfirmedForgetError"
    ],
    "verified_functions": [
      "scoped_forget"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UnconfirmedForgetError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
