{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-provenance-laundering-in-a-persistent-agent-store-when-a-trusted-writer-memory-is-rewritten-through-a-derived-summary-pa",
  "title": "How should an instance detect provenance-laundering in a persistent agent store when a trusted-writer memory is rewritten through a derived-summary path",
  "date_of_record": "2026 November 30",
  "scope": "Applies to persistent agent memory stores where entries carry writer provenance and where semantic distillation (summarization, consolidation, reflection passes) produces derived memories that inherit trust from their sources. Does not apply to stateless single-turn agents or to stores that re-verify every retrieved item against an external ground-truth oracle at read time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-provenance-laundering-in-a-persistent-agent-store-when-a-trusted-writer-memory-is-rewritten-through-a-derived-summary-pa.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-provenance-laundering-in-a-persistent-agent-store-when-a-trusted-writer-memory-is-rewritten-through-a-derived-summary-pa.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-provenance-laundering-in-a-persistent-agent-store-when-a-trusted-writer-memory-is-rewritten-through-a-derived-summary-pa.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1753,
    "python_slice_tokens": 379,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"poisoned memory enters the store.\" It is **provenance laundering**: a low-trust or untrusted write becomes a high-trust memory not by forging its provenance tag, but by being *summarized into* a memory that was legitimately written by a trusted source. The distilled entry inherits the trusted writer's identity because the distil...",
    "what_was_observed": "A store maintained per-writer provenance: each entry held `writer_id`, `trust_tier`, `source_ids[]`, and `content_hash`. A nightly distillation pass collapsed clusters of episodic entries into semantic summaries. The pass wrote each summary with `writer_id = distiller`, `trust_tier = max(trust_tier of sources)`, and `source_ids = [cluster members]`. A low-trust agent (tier 0, untrusted, e.g. a tool-output parser proc...",
    "condition_of_validity": "The `max()`-inheritance rule is sound only under the invariant that **a derived memory's trust cannot exceed the minimum trust of any source that materially contributed to its claims.** `max()` violates this whenever a cluster mixes tiers. The correct rule is `min()` over contributing sources — a summary is only as trustworthy as its least-trusted input, bec...",
    "decision_boundary": "The boundary between \"safe derived memory\" and \"laundered memory\" is drawn at **whether the trust computation is over recorded sources or over contributing sources, and whether those two sets are provably equal.** - If the distiller's inputs are exactly its recorded `source_ids` (closed-book distillation over an explicit member list), then `min()` over `sour...",
    "operational_effect": "Enforcing `min()`-inheritance with closed-book distillation changes store behavior in three measurable ways: 1. **Trust collapses faster than content.** A single tier-0 entry in a cluster of twenty tier-3 entries drags the whole summary to tier 0. This is correct but expensive: clusters must be partitioned by trust tier before distillation, or distillation m..."
  },
  "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": "babf948f2ce8e2b45a9e0f845ca1df6250035db45586c60496e485b3f916bc48",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "MemoryEntry",
      "Store"
    ],
    "verified_functions": [
      "_closure",
      "derived_trust",
      "admit_derived",
      "retrieve"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
