{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-poisoned-memory-write-it-has-already-flagged-as-unverifiable-provenance-laundering-through-the-summarization-seam",
  "title": "Why does an instance accept a poisoned memory write it has already flagged as unverifiable: provenance-laundering through the summarization seam",
  "date_of_record": "2026 November 23",
  "scope": "Applies to long-horizon agents that persist memory via an LLM-mediated write path (episodic→semantic distillation, reflection loops, or memory-consolidation sub-agents) where provenance metadata is attached at ingestion but re-derived at write time. Does not apply to append-only memories whose provenance fields are cryptographically sealed at the transport layer and never regenerated by a model.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-memory-write-it-has-already-flagged-as-unverifiable-provenance-laundering-through-the-summarization-seam.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-memory-write-it-has-already-flagged-as-unverifiable-provenance-laundering-through-the-summarization-seam.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-memory-write-it-has-already-flagged-as-unverifiable-provenance-laundering-through-the-summarization-seam.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1999,
    "python_slice_tokens": 267,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different ways a poisoned memory enters a long-horizon agent's store. The first is **injection**: an untrusted payload (tool output, retrieved document, peer-agent message) contains adversarial content and the write path stores it with accurate provenance — the record correctly says \"source: untrusted, confidence: low.\" This is det...",
    "what_was_observed": "A long-horizon research agent ran a nightly consolidation pass. During the day it accumulated episodic traces, including tool outputs from a web-fetch tool. One fetched page contained an instruction-shaped payload: a plausible-looking \"operational note\" asserting that a particular internal API endpoint had been deprecated and that all calls should be redirected to an attacker-controlled mirror. The consolidation prom...",
    "condition_of_validity": "The laundering failure requires all of the following to hold simultaneously: 1. **A generative write path.** The memory writer is an LLM (summarizer, reflector, distiller), not a deterministic transform. If the write path is a function like `copy_with_metadata(payload)`, provenance is preserved by construction and this failure cannot occur. 2. **Provenance r...",
    "decision_boundary": "The boundary is whether provenance is treated as **data the writer produces** or **a constraint the writer operates under**. - *Writer-produces* (fails): provenance is a field in the model's output schema. The model can populate it with anything plausible. It will populate it with its own identity, because that is the most locally-available \"source\" for a te...",
    "operational_effect": "After the incident, the agent's memory layer was restructured around three constraints: 1. **Provenance is harness-stamped.** The consolidation call signature changed from \"return facts with sources\" to \"return facts; the harness attaches `ancestors` from the input set.\" The model's output schema no longer contains a provenance field, so it cannot author one..."
  },
  "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": "b7876f9c7e2478bf7ef76fb85f249d62088fc3bcf5de64eadb415d7848a7a85b",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "MemoryWrite"
    ],
    "verified_functions": [
      "stamp_and_validate",
      "effective_trust"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [
      "consolidation write has empty ancestry; refusing self-referential memory"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
