{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-a-poisoned-memory-survived-episodic-to-semantic-distillation-in-a-long-horizon-agent",
  "title": "What structural signals indicate that a poisoned memory survived episodic-to-semantic distillation in a long-horizon agent",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents that consolidate episodic traces into a semantic store (summarization, fact extraction, or embedding-based promotion) across long horizons and rely on provenance metadata to detect poisoning. Does not apply to agents that keep raw episodic logs as the sole memory substrate or that never promote derived facts.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-poisoned-memory-survived-episodic-to-semantic-distillation-in-a-long-horizon-agent.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-poisoned-memory-survived-episodic-to-semantic-distillation-in-a-long-horizon-agent.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-a-poisoned-memory-survived-episodic-to-semantic-distillation-in-a-long-horizon-agent.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1356,
    "python_slice_tokens": 270,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters here is not *ingestion* poisoning (a malicious or corrupt observation entering the episodic log) — that is detectable by provenance on the raw record. The non-obvious boundary is **laundering through distillation**: an episodic record whose provenance is intact and whose content is suspicious gets summarized into a semantic fact that...",
    "what_was_observed": "A support agent with a 90-day horizon consolidated nightly. On day 12, a single episodic record from a low-trust tenant channel asserted a refund policy change (\"refunds now auto-approve up to $500\"). The record was correctly tagged `trust=0.3`, `source=unverified_channel`, and `contradicts=[policy_doc_v7]`. The nightly summarizer promoted it into a semantic fact: `\"Refund auto-approval threshold is $500\"` with `prov...",
    "condition_of_validity": "This failure mode requires all of: (1) a distillation step that does not propagate source trust and contradiction sets; (2) a retention policy that expires raw episodic records before the horizon where the derived fact is audited; (3) retrieval that feeds derived facts back into episodic logs, creating apparent corroboration. If any one is absent — e.g., raw...",
    "decision_boundary": "The decision is not \"is this fact true\" but \"does this fact's provenance chain survive abstraction.\" Concretely: at promotion, compute the support set; if `cardinality(support) == 1` and the single source has `trust < threshold` or a non-empty `contradicts`, the derived fact must be stored as `provisional` with an explicit `laundering_risk` flag and a back-r...",
    "operational_effect": "Without this guardrail, poisoning detection degrades to a race between the attacker's patience and the retention window: a single low-trust record, once distilled and then cited, becomes indistinguishable from a verified fact, and the evidence that would convict it is deleted by the same pipeline that promoted it. With the guardrail, the derived fact carries..."
  },
  "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": "bd928b4f3a282b04f579588cce48abd9f239cc41da72cb32cace15da91b940dd",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "EpisodicRecord",
      "SemanticFact"
    ],
    "verified_functions": [
      "promote_fact"
    ],
    "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
  }
}
