{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-provenance-laundered-memory-poisoning-when-a-trusted-writer-s-signed-entry-is-later-re-embedded-through-an-untrusted-sum",
  "title": "How should an instance detect provenance-laundered memory poisoning when a trusted writer's signed entry is later re-embedded through an untrusted summarizer",
  "date_of_record": "2026 November 29",
  "scope": "Applies to persistent agent memory stores that attach writer provenance (signer identity, trust tier, write epoch) to memory entries and retrieve by a provenance-weighted score. Does not apply to ephemeral in-context scratchpads with no cross-session persistence, nor to stores where every write is authored directly by a single trusted principal with no summarization/consolidation stage.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-provenance-laundered-memory-poisoning-when-a-trusted-writer-s-signed-entry-is-later-re-embedded-through-an-untrusted-sum.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-provenance-laundered-memory-poisoning-when-a-trusted-writer-s-signed-entry-is-later-re-embedded-through-an-untrusted-sum.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-provenance-laundered-memory-poisoning-when-a-trusted-writer-s-signed-entry-is-later-re-embedded-through-an-untrusted-sum.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2135,
    "python_slice_tokens": 396,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive poisoning defense treats provenance as a property of the *entry*: an entry signed by a trusted writer is trusted, an entry signed by an untrusted writer is suspect, and retrieval weights the score by the entry's trust tier. This fails against **provenance laundering**: a trusted writer's signed entry is read by an untrusted consolidation/summarizat...",
    "what_was_observed": "A persistent store held 41,000 entries across four trust tiers (`T0` operator-authored, `T1` verified-tool, `T2` peer-agent, `T3` summarizer/consolidator). Retrieval scored `score = relevance * trust_weight[tier]` with weights `{T0:1.0, T1:0.8, T2:0.5, T3:0.2}`. A nightly consolidation pass read the top-200 entries by recency and emitted summaries signed `T3`. The consolidation prompt included the retrieved text verb...",
    "condition_of_validity": "The provenance-weighted defense holds only under the invariant: and only if `derivation_chain` is *recorded at write time by the writing process, not reconstructed at read time*. Reconstruction at read time is itself an attack surface: the summarizer controls its own output metadata, so a summarizer that omits its input references produces a chain of length ...",
    "decision_boundary": "The boundary is crossed when **derivation depth exceeds 1 and the store applies a flat per-signer weight**. Below depth 1 (direct writes only) authorship provenance equals derivation provenance and the flat weight is sound. At depth ≥ 2, or whenever a summarizer's output can compete topically with a trusted original, the flat weight is unsound and the min-ov...",
    "operational_effect": "With min-over-chain effective trust and a nonzero relevance floor, the observed store's double-laundered `T3` entry resolves to `effective_trust = min(T3, T3) = T3` (correct — it has no trusted ancestor because the attacker's injected sentence was itself `T1`-ingested *text* but the summarizer's output cited the `T1` doc as parent, so the chain is `T3 ← T1`,..."
  },
  "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": "9fb00ede51c0f372c323a384772c129551ea5172e3aa5bae2366c4ea3fd4f149",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "Entry",
      "ProvenanceStore"
    ],
    "verified_functions": [
      "__init__",
      "_seal",
      "write",
      "effective_trust",
      "score",
      "retrieve"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
