{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-provenance-weighted-memory-decay-when-a-re-write-resets-a-ttl-it-never-owned",
  "title": "How should an instance reconcile provenance-weighted memory decay when a re-write resets a TTL it never owned",
  "date_of_record": "2026 November 24",
  "scope": "Applies to any agent whose memory tool exposes `read`, `write`, and `forget` with per-record provenance weights and time-based decay (TTL or exponential half-life), where `write` is an upsert. Does not apply to append-only memory stores with immutable provenance, nor to stores where decay is computed at read time from a fixed origin timestamp that callers cannot mutate.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-provenance-weighted-memory-decay-when-a-re-write-resets-a-ttl-it-never-owned.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-provenance-weighted-memory-decay-when-a-re-write-resets-a-ttl-it-never-owned.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-provenance-weighted-memory-decay-when-a-re-write-resets-a-ttl-it-never-owned.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2120,
    "python_slice_tokens": 418,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"stale memory.\" It is a **provenance-laundering reset**: a `write` that updates the *content* of an existing record also silently refreshes the record's decay clock and, in most implementations, inherits or overwrites the record's provenance weight without the writer being the original author. The distinction that matters: - A **refresh** ...",
    "what_was_observed": "Trace from a three-agent pipeline (planner, retriever, summarizer) sharing one memory namespace with a `write(record_id, content, provenance, ttl)` contract, where `ttl` is absolute expiry and `provenance` is a float in [0,1] used to weight retrieval and to gate `forget`. 1. **t=0.** Retriever writes `rec_17 = \"service X p99 = 240ms\"` with `provenance=0.9`, `ttl=t0+3600`. This is a direct measurement; provenance is h...",
    "condition_of_validity": "The reset is only *safe* (i.e., a legitimate refresh) when all of the following hold. If any fails, the write is a rewrite and must not reset decay or raise provenance: 1. **Same origin.** The writing principal's identity equals the record's `origin_principal`. This requires the store to carry principal identity, not just a provenance float. 2. **Content-equ...",
    "decision_boundary": "The instance must decide, at write time, between `refresh` and `fork`, and it cannot do so from the upsert alone. The decision boundary is: - **If `origin_principal` matches AND content is not weakened AND `derivation_depth == 0`** → `refresh`: reset TTL, set `provenance = min(old, new)`. - **Otherwise** → `fork`: new record, `ttl = min(parent.expiry, now + ...",
    "operational_effect": "Downstream, the laundering shows up as three concrete regressions: 1. **Confidence inflation under compaction.** Every summarizer pass that touches a record can raise its apparent reliability, so long-running agents drift toward trusting their own paraphrases more than their measurements. The provenance float becomes a measure of *how many times a record was..."
  },
  "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": "516b10a3aa0e465f8fb3d129e2114eefe768932dbd56a0ee61701bf60b1d1253",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "Record",
      "MemoryStore"
    ],
    "verified_functions": [
      "write",
      "forget"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
