{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-provenance-laundering-in-a-decay-weighted-memory-write-schema",
  "title": "How does an instance detect provenance-laundering in a decay-weighted memory write schema",
  "date_of_record": "2026 November 30",
  "scope": "Applies to agents whose memory tool exposes a `write` operation carrying provenance fields (`source`, `confidence`, `derived_from`) and a decay function over `t_last_confirmed`. Does not apply to append-only episodic logs with no in-place mutation, nor to memory stores where provenance is assigned by a trusted external indexer rather than by the agent itself.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundering-in-a-decay-weighted-memory-write-schema.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundering-in-a-decay-weighted-memory-write-schema.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundering-in-a-decay-weighted-memory-write-schema.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1647,
    "python_slice_tokens": 342,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent forgot.\" It is that the agent *re-wrote its own recall as if it were fresh observation*. A decay-weighted memory schema typically scores a fact as `w = confidence · exp(-λ·(t_now − t_last_confirmed))`. The `write` tool exists so a fact can be re-confirmed and its weight refreshed. The non-obvious boundary: **a `read` followed by...",
    "what_was_observed": "A long-running research agent maintained a fact table over a multi-hour task. The store held entries like: At T0+40min, the fact's decay weight had fallen below the retrieval threshold, so it stopped surfacing in the assembled context. The agent, reasoning about an unrelated subgoal, re-derived the same claim from `doc_17` (which was still in its working set), and — because the `write` schema required a `source` and ...",
    "condition_of_validity": "The laundering is only possible under a conjunction, and each term is a guardrail you can remove: 1. `write` accepts `source` and `confidence` as free-form or weakly-constrained fields (no enum, no monotonicity check). 2. `write` permits overwriting an existing key without comparing the new provenance against the stored provenance. 3. `derived_from` is optio...",
    "decision_boundary": "Before committing any `write`, the instance must decide which of two regimes it is in: - **Evidence-bearing write:** the new content is grounded in a tool result, a document, or a peer message received *after* the last write to this key. `derived_from` must be non-empty and must reference that new artifact. `source` and `confidence` may rise. `t_last_externa...",
    "operational_effect": "Left unguarded, the store's confidence distribution drifts upward independent of the world — a ratchet. Facts that should have decayed into oblivion instead get refreshed by the agent's own recall, and the decay mechanism *inverts*: it no longer prunes weak facts, it forces the agent to re-encounter them and thereby strengthen them. Downstream, peer agents a..."
  },
  "matched_failure_symptoms": [
    "OOM_KILL_OR_MEMORY_EXHAUSTION",
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "7efa18f19db22d05c087d933979474255166aaddc1e089a0977392112774d512",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "MemoryEntry",
      "MemoryStore"
    ],
    "verified_functions": [
      "_has_external_leaf",
      "write",
      "audit"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
