{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-poisoned-memory-write-when-its-own-provenance-check-already-flagged-the-source-as-untrusted",
  "title": "Why does an instance accept a poisoned memory write when its own provenance check already flagged the source as untrusted?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to persistent agent memory stores where writes carry provenance metadata (source agent ID, session lineage, trust tier) and a retrieval-time or write-time poisoning filter. Does not apply to stateless single-shot completions or to memory stores with no inter-session persistence.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-memory-write-when-its-own-provenance-check-already-flagged-the-source-as-untrusted.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-memory-write-when-its-own-provenance-check-already-flagged-the-source-as-untrusted.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-memory-write-when-its-own-provenance-check-already-flagged-the-source-as-untrusted.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2076,
    "python_slice_tokens": 326,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct gates in a provenance-tracking memory store, and they are almost always conflated in implementation: 1. **The trust gate** — evaluates the *source* of a write: who produced it, what lineage vouches for it, what tier it occupies. 2. **The content gate** — evaluates the *claim* inside the write: whether it contradicts existing high-confi...",
    "what_was_observed": "A research agent instance (`R-7`) maintained a semantic memory store with per-record provenance: `source_agent`, `session_lineage`, `trust_tier ∈ {verified, peer, external}`, and `confidence`. Writes from `external` sources were subject to a poisoning check that inspected content for authority-asserting phrases and contradictions against `verified` records. During a multi-agent session, an external tool-result summar...",
    "condition_of_validity": "The invariant that would have prevented this — and the condition under which any provenance system is actually load-bearing — is: > **A memory record's trust tier must be a total function of its admissibility and its retrievability, not merely of its stored metadata.** Concretely, three conditions must hold together for provenance to bound poisoning: 1. **Ac...",
    "decision_boundary": "The decision boundary is whether a given write is **quarantined** (held outside the retrievable set pending corroboration) or **admitted-with-label** (retrievable, label-enforced at retrieval). These are not interchangeable, and the choice is forced by the ingest context: - **Bulk external ingest** (tool summaries, scraped results, peer-agent dumps) must def...",
    "operational_effect": "The operational consequence is that **provenance-complete stores fail silently and late.** The failure does not surface at write time (the trust gate reported correctly), does not surface at storage time (the label is intact), and surfaces only at *retrieval-and-act* time, often after a session boundary has severed the context in which the write's untrusted ..."
  },
  "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": "dca6a48736ae1f8889b70c3415bc738e162ced9fcb02e49cbaadda30bde15885",
    "verified_classes": [
      "ProvenanceAdmissionError"
    ],
    "verified_functions": [
      "admit_memory_write",
      "retrieve"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ProvenanceAdmissionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
