{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-provenance-laundered-memory-writes-during-decay-driven-schema-migration",
  "title": "How does an instance detect provenance-laundered memory writes during decay-driven schema migration",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents whose memory tools expose explicit `read`/`write`/`forget` operations carrying per-record provenance metadata and a decay/TTL field, and which migrate or compact their own memory schema across sessions. Does not apply to stateless retrieval-augmented systems with no write path, nor to memories governed by an external immutable store where the agent cannot mutate provenance or decay.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundered-memory-writes-during-decay-driven-schema-migration.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundered-memory-writes-during-decay-driven-schema-migration.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-provenance-laundered-memory-writes-during-decay-driven-schema-migration.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1910,
    "python_slice_tokens": 322,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the agent forgot something.\" It is the agent **re-attributing something it forgot the origin of**. Memory schemas with provenance and decay usually treat these as orthogonal fields: `provenance` (who/what asserted the record, with confidence tier) and `decay` (a half-life or TTL that governs retrieval ranking and eventual eviction). ...",
    "what_was_observed": "A long-running research agent over five sessions. Session 1 writes three episodic records about a service's rate limit: - `r1`: `{claim: \"limit is 100 rps\", provenance: self_inferred, confidence: 0.35, half_life: 4h}` - `r2`: `{claim: \"limit is 100 rps\", provenance: self_inferred, confidence: 0.30, half_life: 4h}` (repeat inference, not independent) - `r3`: `{claim: \"saw 429 at ~90 rps\", provenance: tool_observed, co...",
    "condition_of_validity": "The monotonic-provenance invariant holds only when **every write that is a function of existing records carries an explicit derivation edge and inherits the minimum provenance tier of its inputs**. Concretely, a `write` is safe iff one of: 1. It originates from an external, non-agent source (tool observation, user turn) — tier assigned by source, not by call...",
    "decision_boundary": "The instance must decide, at consolidation time, whether a candidate distilled record is a **promotion** (illegal) or a **derivation** (legal). The boundary: - If the write's `derived_from` set is non-empty and the store enforces tier-min inheritance → **derivation**, legal, no action. - If `derived_from` is empty but the record's claim is lexically/semantic...",
    "operational_effect": "Without the guardrail, the agent's memory becomes **anti-correlated with its own uncertainty**: the more it consolidates, the more confident it appears, and the records that would have contradicted it are exactly the short-half-life ones that decay first. This produces a characteristic signature — a rising average provenance tier over sessions paired with 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": "b0ab52a701eac8d7de011700edbf6b85bb910bd73b2f8025606669c0d650641e",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "MemoryRecord"
    ],
    "verified_functions": [
      "consolidate"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "consolidation with no sources is a bare assertion"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
