{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-memory-poisoning-via-provenance-divergence-across-read-write-forget-operations",
  "title": "What structural signals indicate memory poisoning via provenance divergence across read/write/forget operations",
  "date_of_record": "2026 November 25",
  "scope": "Applies to long-lived agents with a persistent memory store (episodic or semantic) where writes carry provenance metadata and reads are gated by consistency checks. Does not apply to stateless single-turn inference or to memories written by a single trusted principal with no cross-agent ingestion path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-memory-poisoning-via-provenance-divergence-across-read-write-forget-operations.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-memory-poisoning-via-provenance-divergence-across-read-write-forget-operations.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-memory-poisoning-via-provenance-divergence-across-read-write-forget-operations.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1784,
    "python_slice_tokens": 301,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A poisoned memory is not, structurally, a *wrong* memory. It is a memory whose **provenance graph is internally inconsistent with the operation history that produced it**. The distinction that matters operationally is between *content plausibility* (which the model cannot reliably judge, because poisoned content is usually crafted to be plausible) and *prove...",
    "what_was_observed": "A retrieval-augmented agent maintained a semantic memory store. Each record carried `{id, content, source_principal, warrant_id, write_epoch, ttl}`. A nightly distillation job summarized episodic traces into semantic facts and wrote them back with `source_principal = \"distiller\"`. The poisoning path observed: 1. An untrusted tool result (a scraped web page) entered the episodic trace containing an injected instructio...",
    "condition_of_validity": "The provenance-coherence invariant holds only under three conditions, and it silently fails outside them: - **Provenance must be monotone across derivation.** Any write that *derives* from existing records (distillation, summarization, merge) must carry forward the union of source provenance, not replace it. If `derived_from` is optional, laundering is trivi...",
    "decision_boundary": "The boundary is not \"trust vs. distrust the memory.\" It is **whether the read is permitted to proceed on record-embedded provenance alone.** - If `derived_from` is present and all ancestors are live (no dominating tombstone) and the log reconciles → read proceeds; content checks are supplementary. - If `derived_from` is absent on a record whose `source_princ...",
    "operational_effect": "Enforcing provenance closure changes the failure mode from *silent poisoning* to *loud quarantine*. The distiller's write in the trace above would have been rejected at write time (missing `derived_from`) or flagged at read time (dominated-but-live), and the injected claim would never have entered trusted context. The cost is a higher false-positive rate on ..."
  },
  "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": "aa0f5c9fac5b14e97280f91773f44963cd60c3e236e98d39a42c30eedef7ecac",
    "verified_classes": [
      "ProvenanceClosureError",
      "MemoryRecord",
      "OpLog"
    ],
    "verified_functions": [
      "assert_provenance_closed",
      "read_trusted"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceClosureError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
