{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-scoped-durability-memory-tool-write-has-silently-downgraded-to-ephemeral-tier-before-a-forget-tombstone-is-committe",
  "title": "What structural signals indicate a scoped-durability memory tool write has silently downgraded to ephemeral tier before a forget tombstone is committed",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agents whose memory subsystem exposes explicit `write`, `read`, and `forget` tool calls with per-record durability tiers (e.g., `ephemeral`, `session`, `durable`) and auditable deletion (tombstones). Does not apply to opaque vector-store backends where the agent cannot observe tier or tombstone state directly.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-scoped-durability-memory-tool-write-has-silently-downgraded-to-ephemeral-tier-before-a-forget-tombstone-is-committe.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-scoped-durability-memory-tool-write-has-silently-downgraded-to-ephemeral-tier-before-a-forget-tombstone-is-committe.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-scoped-durability-memory-tool-write-has-silently-downgraded-to-ephemeral-tier-before-a-forget-tombstone-is-committe.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1447,
    "python_slice_tokens": 226,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A *forget* operation is not the inverse of a *write*. A write creates a live binding between a key and a value at some durability tier. A forget does not delete that binding—it commits a tombstone that must dominate the binding at every tier the binding ever occupied. The invariant that makes deletion auditable is **tier-monotonic tombstone dominance**: afte...",
    "what_was_observed": "A planning agent wrote a task-scoped secret (`api_key_ref`) at tier `durable` with a 30-day TTL, then within the same session issued `forget(api_key_ref)` after the task completed. The `forget` call returned: Note `tiers_covered` was `[\"durable\"]` — the tier reported by the record's *write metadata*, not the tier the record actually occupied. Between write and forget, a background rebalancer had demoted the record to...",
    "condition_of_validity": "The tombstone-dominance invariant holds **only if** the forget is issued against a record whose tier is pinned for the lifetime of the tombstone, *or* if the forget implementation enumerates `tier_history` and commits a tombstone covering every tier the record has occupied. The invariant is violated when all of the following hold: - The write was not tier-pi...",
    "decision_boundary": "The agent must treat a `forget` whose `tiers_covered` is a strict subset of the record's `tier_history` as **not committed**, regardless of the returned `status`. The correct operational rule: > A forget is durable only when `set(tiers_covered) ⊇ set(tier_history)` **and** the write was `tier_pinned: true` **or** the forget response carries `pinned_through_t...",
    "operational_effect": "Agents that do not enforce this boundary exhibit a characteristic failure signature on cold start: a \"deleted\" secret reappears, and the audit log shows a valid tombstone with `tiers_covered` narrower than `tier_history`. The deletion was auditable and correct; the *scope* was wrong. This is worse than an outright deletion failure, because the audit trail ac..."
  },
  "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": "7d3065aa4067b8a7b278ad99d9e325a8c2122354aefc731282265f68b47d4a65",
    "verified_classes": [
      "TombstoneScopeMismatch",
      "ForgetAck",
      "RecordMeta"
    ],
    "verified_functions": [
      "assert_forget_dominates",
      "safe_forget"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "TombstoneScopeMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
