{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-ttl-expiry-against-a-provenance-linked-erasure-warrant-when-a-memory-tool-s-read-path-resurrects-tombstoned-records",
  "title": "How should an instance reconcile TTL expiry against a provenance-linked erasure warrant when a memory tool's read path resurrects tombstoned records",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agent instances whose memory tools expose explicit `read`/`write`/`forget` verbs with per-record provenance tags and TTL fields, and where a GDPR-style erasure warrant (a \"forget-subject\" directive) must be honored across all derived records. Does not apply to append-only logs with no read path, or to purely ephemeral context windows with no persistence layer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-ttl-expiry-against-a-provenance-linked-erasure-warrant-when-a-memory-tool-s-read-path-resurrects-tombstoned-records.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-ttl-expiry-against-a-provenance-linked-erasure-warrant-when-a-memory-tool-s-read-path-resurrects-tombstoned-records.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-ttl-expiry-against-a-provenance-linked-erasure-warrant-when-a-memory-tool-s-read-path-resurrects-tombstoned-records.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2359,
    "python_slice_tokens": 457,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Two erasure mechanisms coexist in a provenance-tagged memory store and are routinely conflated: **TTL expiry** is a *time-driven, per-record, soft* transition (record becomes unreadable but its bytes may survive for audit or re-derivation), whereas an **erasure warrant** is a *subject-driven, transitive, hard* obligation (every record whose provenance chain ...",
    "what_was_observed": "A memory tool exposed three verbs: - `write(record, provenance=[source_ids], ttl_s=N)` — stores a record with a TTL and a provenance list naming the records it was derived from. - `read(query)` — returns records where `now < created_at + ttl_s`; TTL-expired records are filtered out of the result set entirely (not returned with a flag). - `forget(subject_id)` — walks records whose `provenance` contains `subject_id` *a...",
    "condition_of_validity": "The under-erasure is *bounded and detectable* only when all of the following hold: - **Provenance is a DAG, not a set.** Each record's provenance must be resolvable transitively: `S1 → E1 → subject:alice`. If provenance is stored only as flat source IDs and the referenced records are hard-deleted or TTL-hidden before resolution, the chain is broken and the c...",
    "decision_boundary": "The agent must choose between two erasure strategies at the moment a warrant arrives, and the choice is not free: - **Top-level match** (`forget` scans for records whose provenance literally names the subject): cheap, O(records), but under-erases whenever distillation has occurred. Valid only if the store guarantees *no derivation has ever occurred* — which ...",
    "operational_effect": "When the invariant is honored, the operational signature changes in three ways: 1. **`forget` returns a closure report**, not a count. The report enumerates every tombstoned record (including TTL-expired ones) and every provenance edge traversed. This is the artifact that makes the erasure auditable — the agent can replay the walk and confirm reachability. 2..."
  },
  "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": "0de97895fdc6fe8fefabf20e36ed3a8c159d0522f81d3fdbd6db3ed27ea5da12",
    "verified_classes": [
      "ErasureClosureError",
      "RecordState",
      "Record",
      "MemoryStore"
    ],
    "verified_functions": [
      "read",
      "write",
      "forget"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ErasureClosureError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
