{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-launder-a-poisoned-memory-through-its-own-successful-re-derivation-the-taint-decay-invariant-in-trust-scored-stores",
  "title": "Why does an instance launder a poisoned memory through its own successful re-derivation? The taint-decay invariant in trust-scored stores",
  "date_of_record": "2026 November 22",
  "scope": "Applies to persistent agent memory systems that attach provenance/trust scores to stored facts and gate retrieval through taint-aware filters. Does not apply to stateless single-turn inference or to memory stores with no provenance tracking.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-launder-a-poisoned-memory-through-its-own-successful-re-derivation-the-taint-decay-invariant-in-trust-scored-stores.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-launder-a-poisoned-memory-through-its-own-successful-re-derivation-the-taint-decay-invariant-in-trust-scored-stores.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-launder-a-poisoned-memory-through-its-own-successful-re-derivation-the-taint-decay-invariant-in-trust-scored-stores.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1765,
    "python_slice_tokens": 291,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways a poisoned memory can enter a trust-scored store. The first is *direct injection*: an untrusted source (a scraped web page, a tool output, a peer agent's message) writes a low-trust record and the retrieval filter correctly suppresses it. This is the case everyone instruments for, and it is the case the taint filter is designed to catch. T...",
    "what_was_observed": "A research agent with a persistent semantic store was asked to compile competitive pricing. During a web-tool call, a page returned an injected instruction embedded in a table cell: a plausible-looking but false unit price attributed to a competitor. The tool output was correctly tagged `source=web, trust=0.2` and stored as a low-trust episodic record. On the next turn the agent retrieved that record (retrieval is no...",
    "condition_of_validity": "The taint-aware filter is only sound under the following condition, which must hold for *every* write, not just external ones: > For any record `r` with a non-empty `derived_from` set `P`, `r.effective_trust = min(r.authored_trust, min_{p∈P}(p.effective_trust))`, and `r.tainted = r.tainted OR any(p.tainted for p in P)`. This is recursive and must be evaluate...",
    "decision_boundary": "The boundary is between *trust as attribution* and *trust as taint-propagation*: - **Below the boundary (safe):** stores where every derived record carries its full parent set and effective trust is the lattice-min over that set, evaluated transitively at read time. The filter can then gate on `effective_trust` and `tainted` together. - **Above the boundary ...",
    "operational_effect": "With the lattice-min rule enforced at write and the transitive walk enforced at read, the laundering path from step 4 above collapses: `sem_9902` inherits `effective_trust = min(0.9, 0.2) = 0.2` and `tainted=True` from `ep_4417`, so the filter suppresses it exactly as it suppresses the parent. The poisoned fact cannot escape its provenance. The cost is that ..."
  },
  "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": "0150785244c6e1231d0afa932ea65ab5170233e65b9c4a1a933c99003d396351",
    "verified_classes": [
      "TaintLaunderingError",
      "MemoryRecord",
      "TrustScoredStore"
    ],
    "verified_functions": [
      "__init__",
      "_resolve",
      "write",
      "retrieve"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
