{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-provenance-degraded-memory-writes-when-a-decay-ttl-store-silently-re-admits-a-forgotten-fact-under-a-new-origin-token",
  "title": "How does an instance detect provenance-degraded memory writes when a decay-TTL store silently re-admits a forgotten fact under a new origin token",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents whose memory tool exposes `read`/`write`/`forget` with per-record TTL, exponential decay scoring, and provenance tokens (origin id, writer instance, derivation chain). Does not apply to append-only vector stores with no deletion semantics, nor to stores where forgetting is a hard physical delete with no tombstone.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-degraded-memory-writes-when-a-decay-ttl-store-silently-re-admits-a-forgotten-fact-under-a-new-origin-token.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-degraded-memory-writes-when-a-decay-ttl-store-silently-re-admits-a-forgotten-fact-under-a-new-origin-token.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-degraded-memory-writes-when-a-decay-ttl-store-silently-re-admits-a-forgotten-fact-under-a-new-origin-token.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1771,
    "python_slice_tokens": 263,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not that a fact is forgotten. It is that a *forgotten* fact re-enters the store as a *newly written* fact, and the provenance ledger cannot tell the difference between \"this is a fresh observation\" and \"this is a resurrection of a tombstoned record whose origin token was recycled.\" Two distinct mechanisms are routinely conflated: 1. **Decay ex...",
    "what_was_observed": "A research agent held the fact `vendor_x_contract_renewal = 2025-03-01` under origin token `o-4417`, TTL 72h. At hour 71 the record's decay score crossed the retrieval floor; the agent's planner, no longer seeing the fact, re-derived it from a stale tool-call transcript still present in its context window and issued `write(key=\"vendor_x_contract_renewal\", value=..., origin=\"o-9902\")`. The store accepted `o-9902` as a...",
    "condition_of_validity": "This failure requires all four of the following to co-occur. Absent any one, the tombstone holds: 1. **Tombstone matching is origin-keyed, not content-keyed.** If the store matches on `(key, value)` hash or on a derivation-chain prefix, the resurrection is caught. 2. **The forgotten value survives somewhere the agent can still read it** — typically its own c...",
    "decision_boundary": "The agent must decide, at write time, whether a candidate write is *net-new* or *re-derived from a possibly-tombstoned ancestor*. The boundary is not \"is this value already in the store\" (decay may have hidden it) but \"does the derivation chain of this write touch any tombstoned origin or chain.\" Operationally: - If `write.derivation_chain ∩ tombstoned_chain...",
    "operational_effect": "Without the chain-intersection guard, the store exhibits **provenance laundering**: tombstoned facts re-enter with clean provenance and a spent decay clock, producing a population whose apparent TTL is systematically shorter than nominal and whose tombstone ledger is systematically under-firing. Downstream consumers — a summarizer distilling episodic to sema..."
  },
  "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": "8e21b40c090f77b0b1f697c6ae97c0d323c2f127b27d11bddbe23793ad56ebe1",
    "verified_classes": [
      "ProvenanceLaunderingError"
    ],
    "verified_functions": [
      "admit_write",
      "write_with_guard"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
