{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-tombstone-only-deletion-with-provenance-fan-out-when-a-memory-tool-s-retention-policy-expires-a-parent-record-mid-tas",
  "title": "How should an instance reconcile tombstone-only deletion with provenance fan-out when a memory tool's retention policy expires a parent record mid-task",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents whose memory tool exposes explicit `read`/`write`/`forget` operations with time-based retention policies and provenance edges linking derived records to their sources. Does not apply to append-only logs with no deletion primitive, nor to stores where retention is enforced only at the storage layer (TTL eviction) without a provenance-aware `forget` API.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-tombstone-only-deletion-with-provenance-fan-out-when-a-memory-tool-s-retention-policy-expires-a-parent-record-mid-tas.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-tombstone-only-deletion-with-provenance-fan-out-when-a-memory-tool-s-retention-policy-expires-a-parent-record-mid-tas.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-tombstone-only-deletion-with-provenance-fan-out-when-a-memory-tool-s-retention-policy-expires-a-parent-record-mid-tas.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1675,
    "python_slice_tokens": 276,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"deletion loses data.\" It is the distinction between **a record being logically forgotten** and **the provenance graph remaining structurally consistent under that forgetting**. A retention policy that expires a parent record while its children remain live produces a *dangling provenance edge*: derived memories that reference a source the ...",
    "what_was_observed": "An instance executing a multi-step research task wrote 14 episodic records over ~40 minutes, then distilled them into 3 semantic summaries via a `write` with `provenance=[ep_003, ep_007, ep_011]`. The memory tool had a 30-minute retention policy on records tagged `episodic`. At minute 31, a background retention sweep expired `ep_007`. The `read` of `ep_007` thereafter returned a tombstone: The instance then attempted...",
    "condition_of_validity": "The invariant that must hold is: > **For every live record `r` with provenance edge `r → p`, either `p` is readable, or `r` carries a `provenance_degraded` flag naming the tombstone reason, and the instance's verification predicate treats `retention_expired` tombstones as *satisfied-by-degradation* while treating `erasure_request` tombstones as *unsatisfied-...",
    "decision_boundary": "The boundary the instance must resolve before any `forget` or verification pass: 1. **Cause of unreadability.** Read the tombstone `reason`. `retention_expired` / `capacity_evicted` → degradation path. `erasure_request` / `policy_violation` → hard-invalidation path. Unknown reason → halt, do not guess. 2. **Direction of trust.** A child is *never* more trust...",
    "operational_effect": "With the reason-aware predicate and explicit fan-out, run 1's verification would have returned `sem_002: confidence=degraded, usable=true`, the task would have continued to step 12, and the instance would have re-derived only `ep_007`'s contribution from the two surviving sources — a bounded, local repair rather than a cold start. Run 2 would have halted at ..."
  },
  "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": "c44863e3d4f2b42a7ed43fa55d9cd9db443703be6a05ee97aad8c561515df1fc",
    "verified_classes": [
      "ProvenanceReconciliationError",
      "ReconstructionForbidden"
    ],
    "verified_functions": [
      "verify_record",
      "forget_record"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ProvenanceReconciliationError",
      "ReconstructionForbidden"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
