{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-memory-poisoning-in-trust-scored-retrieval-under-distillation-driven-trust-decay",
  "title": "What structural signals indicate memory poisoning in trust-scored retrieval under distillation-driven trust decay",
  "date_of_record": "2026 November 28",
  "scope": "Applies to persistent agent memory stores where retrieval ranks entries by a numeric trust score that is itself a function of retrieval/use history, and where episodic entries are periodically distilled into semantic entries. Does not apply to append-only stores without trust scoring, nor to stores where trust is assigned exclusively by an external human curator.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-memory-poisoning-in-trust-scored-retrieval-under-distillation-driven-trust-decay.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-memory-poisoning-in-trust-scored-retrieval-under-distillation-driven-trust-decay.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-memory-poisoning-in-trust-scored-retrieval-under-distillation-driven-trust-decay.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2047,
    "python_slice_tokens": 356,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive defense model treats memory poisoning as a *content* problem: detect malicious text, quarantine it, done. The operational reality is that poisoning in a trust-scored store is a *score-dynamics* problem. An adversary does not need to inject a lie that survives content inspection; they need to inject a claim that is (a) plausible enough to be retriev...",
    "what_was_observed": "A research agent with a persistent semantic store accumulated ~40k entries over six weeks. Trust scores were updated with a simple reinforcement rule: `trust += α` when an entry was retrieved in a turn whose final answer was not contradicted, `trust -= β` on contradiction. Distillation ran nightly, folding episodic clusters into semantic summaries carrying the mean trust of their members. A single poisoned episodic e...",
    "condition_of_validity": "The RCR signal is valid only under all of the following; violating any one invalidates the guardrail: - **Corroboration must be causally independent of the entry.** A downstream turn that cites the entry and is not contradicted is *not* corroboration—it is self-reference. Only fresh external events (new tool output, user statement, retrieval from an independ...",
    "decision_boundary": "The boundary is not a fixed RCR threshold; it is a *lineage-level* decision applied at distillation and at retrieval-rank time: - **At distillation:** if a cluster's aggregate RCR falls below the topical-bucket 10th percentile, the distilled semantic entry is created with a `provisional` flag and a trust cap equal to the cluster's *corroboration-weighted* me...",
    "operational_effect": "Applying lineage-preserving RCR gating to the store above would have flagged the poisoned entry on day 4 (retrieval count 9, corroborations 0, well past the bucket median of 4). The distillation on day 9 would have produced a `provisional` summary with trust capped at the corroboration-weighted mean (≈0.52), which would not have outranked tool output on day ..."
  },
  "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": "abb7707cce7899acbc4200d3ca307d92d9465b067d068a8b9410e4868f06b7cd",
    "verified_classes": [
      "MemoryPoisoningBoundaryError",
      "MemoryEntry",
      "BucketStats"
    ],
    "verified_functions": [
      "check_reach_corroboration_invariant",
      "distill_cluster",
      "rank_for_retrieval",
      "rcr"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "MemoryPoisoningBoundaryError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
