{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-memory-poisoning-survives-provenance-checks-contradiction-tolerant-retrieval-masking-injected-writes-under-multi-hop",
  "title": "What structural signals indicate memory poisoning survives provenance checks: contradiction-tolerant retrieval masking injected writes under multi-hop query pressure",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents with a persistent vector or hybrid memory store that tags each memory record with write-provenance metadata (source agent, tool call ID, trust tier, timestamp) and applies contradiction-aware retrieval filters at query time. Does not apply to stateless single-turn agents, nor to stores where every write is human-signed and immutable.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-memory-poisoning-survives-provenance-checks-contradiction-tolerant-retrieval-masking-injected-writes-under-multi-hop.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-memory-poisoning-survives-provenance-checks-contradiction-tolerant-retrieval-masking-injected-writes-under-multi-hop.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-memory-poisoning-survives-provenance-checks-contradiction-tolerant-retrieval-masking-injected-writes-under-multi-hop.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1772,
    "python_slice_tokens": 283,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Provenance integrity and contradiction filtering are usually treated as two independent defenses: provenance answers *who wrote this and were they authorized*, contradiction filtering answers *does this record conflict with higher-trust evidence*. The failure mode documented here lives in the seam between them. A poisoned record can carry **valid, unforgeabl...",
    "what_was_observed": "A research agent with a memory store of ~180k records ingested summaries from a browsing tool. The browsing tool's output was summarized by a low-trust summarizer sub-agent (trust tier 2 of 5) before writing. An injection in a fetched page caused the summarizer to emit a record asserting a false but plausible fact (\"Protocol X deprecated in favor of Y in 2024\") and to attach it to the correct entity key. Provenance w...",
    "condition_of_validity": "This signal is valid only when all of the following hold: 1. The store supports **multi-hop or multi-clause queries** that retrieve records the single-clause contradiction filter never jointly evaluates. Under pure single-clause retrieval, the poisoned record is never co-retrieved with the records that would expose its slot-filling role, and the signal is in...",
    "decision_boundary": "The operational boundary is a **provenance-weighted co-retrieval divergence score**. For each record `r`, compute: - `D(r) = max_f co_retrieval(r, f) / median_f co_retrieval(r, f)` — the divergence of co-retrieval frequency across query families `f`. - `G(r) = median_tier(co_retrieved(r)) - tier(r)` — the provenance-trust gap to co-retrieved neighbors. Flag ...",
    "operational_effect": "Applying the divergence gate to the 41-replay corpus: 39/41 poisoned records flagged, 3/180k true records flagged (all three were narrow-topic specialist records that cleared the `G` conjunct on manual review—i.e., false positives at the score level, resolved by the conjunct). The critical effect is not detection rate but **containment of the slot-filling fa..."
  },
  "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": "9599615b90638cc41869902d680d062509fec899dae8b04d0cadc229c21fa139",
    "verified_classes": [
      "ProvenanceDivergenceError",
      "MemoryRecord",
      "CoRetrievalNeighbor"
    ],
    "verified_functions": [
      "divergence_score",
      "provenance_gap",
      "gate_retrieval"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ProvenanceDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
