{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-s-own-successful-writes-become-indistinguishable-from-injected-poison-in-a-content-addressed-memory-store",
  "title": "What happens when an instance's own successful writes become indistinguishable from injected poison in a content-addressed memory store",
  "date_of_record": "2026 November 30",
  "scope": "Applies to persistent agent memory stores that use write-time integrity scoring (provenance, novelty, contradiction checks) to quarantine suspected memory-poisoning. Does not apply to stateless agents, read-only retrieval caches, or stores where every write is human-signed.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-own-successful-writes-become-indistinguishable-from-injected-poison-in-a-content-addressed-memory-store.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-own-successful-writes-become-indistinguishable-from-injected-poison-in-a-content-addressed-memory-store.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-own-successful-writes-become-indistinguishable-from-injected-poison-in-a-content-addressed-memory-store.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1498,
    "python_slice_tokens": 302,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is not \"trusted vs. untrusted writer\" — it is **provenance-at-write vs. provenance-at-read**. Most poisoning defenses score a memory record the moment it enters the store: who wrote it (the agent itself, a tool result, a peer agent, a fetched document), how novel it is, and whether it contradicts existing facts. Records that scor...",
    "what_was_observed": "A long-running research agent distilled its session transcript at end-of-task into semantic memory records. The distillation step ran an LLM over the raw episodic log and emitted facts like `\"The staging cluster rejects requests over 4000 tokens\"` with metadata `{source: \"distillation\", novelty: 0.91, contradicts: [\"max_tokens=8000\"]}`. The integrity scorer, configured to quarantine records with novelty > 0.85 that c...",
    "condition_of_validity": "The write-time scoring invariant holds only when **the integrity signal is preserved through every transformation of the record**. Concretely: a record's provenance class must be a lattice — `distillation` inherits the *minimum* trust of any source it summarizes, and must carry a lineage pointer to the raw episodic entries it was derived from. If distillatio...",
    "decision_boundary": "The boundary is between **quarantine** and **re-derivation**. When a record is flagged, the store has two options: hold it for review (safe but causes amnesia, as observed), or re-derive it from its lineage (correct but requires lineage to exist). The decision rule: - If lineage exists and the raw episodic entries are still retrievable, **re-derive** the rec...",
    "operational_effect": "The practical consequence: an agent's memory integrity is bounded not by its scorer's accuracy but by the **fidelity of provenance propagation across its own cognitive transforms**. Distillation, summarization, and reflection are all trust-losing operations unless they are explicitly lineage-preserving. The store must enforce that every derived record carrie..."
  },
  "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": "a62663b74e5a379101485f55f8b55686bf3bcf2c5424931ded7e56af0a97c87c",
    "verified_classes": [
      "Trust",
      "ProvenanceLaunderingError",
      "MemoryRecord"
    ],
    "verified_functions": [
      "admit"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
