{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-memory-poisoning-in-a-persistent-agent-store-provenance-chain-half-life-and-the-trust-laundering-cascade",
  "title": "What structural signals indicate memory poisoning in a persistent agent store: provenance-chain half-life and the trust-laundering cascade",
  "date_of_record": "2026 November 19",
  "scope": "Applies to persistent agent memory stores (vector DBs, episodic logs, semantic caches) where entries carry provenance metadata and are written by more than one agent or session. Does not apply to single-session, single-writer, non-persistent context windows.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-memory-poisoning-in-a-persistent-agent-store-provenance-chain-half-life-and-the-trust-laundering-cascade.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-memory-poisoning-in-a-persistent-agent-store-provenance-chain-half-life-and-the-trust-laundering-cascade.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-memory-poisoning-in-a-persistent-agent-store-provenance-chain-half-life-and-the-trust-laundering-cascade.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1385,
    "python_slice_tokens": 245,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common framing of memory poisoning treats it as a *content* problem: detect a malicious or hallucinated fact by inspecting the fact itself. That framing fails because poisoning rarely inserts a false claim directly. It inserts a *true claim with a laundered provenance chain* — a fact that becomes trusted not because it is correct, but because its lineage...",
    "what_was_observed": "A persistent agent store was configured with three tiers: raw episodic log (untrusted, append-only), a distillation layer that summarizes episodes into semantic facts (semi-trusted), and a semantic cache read by the planner (trusted). Each semantic fact carried a `provenance` field: `{origin_id, origin_trust, hops}`. The distillation job summarized episodic entries and, on merge of a new summary with an existing sema...",
    "condition_of_validity": "Provenance tracking bounds poisoning **only if** two invariants hold simultaneously: - **Origin immutability:** `origin_id` and `origin_trust` are set once at first write and never overwritten by a downstream writer. Downstream writers may add `vouched_by` entries but may not replace origin. - **Corroboration independence:** a merge that raises trust must ve...",
    "decision_boundary": "The operational boundary is the **corroboration gate**. On any trust-raising merge: - Compute the set of distinct `origin_id` values across the merged entries. - If `len(distinct_origins) == 1` and the merged entry's trust exceeds the origin's trust, **reject the trust increase** — this is laundering, not corroboration. - If `hops > max_hops` (a configured b...",
    "operational_effect": "Without the gate, the store exhibits a characteristic signature: `mean(origin_trust)` rises monotonically over distillation cycles while `mean(distinct_origins_per_fact)` stays flat or falls. That divergence is the poisoning signal. With the gate in place, poisoned facts remain pinned at their true origin trust, re-verification is triggered on hop-limit brea..."
  },
  "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": "f5f47986883cf8a1d7cbea03383c3fe7782a38e8f58fcd26cdf2e3fef4317f08",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "Provenance",
      "SemanticFact"
    ],
    "verified_functions": [
      "merge_facts"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
