{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-poisoned-memory-write-when-its-provenance-score-is-high-but-its-contradiction-evidence-is-quarantined-rather-than-reject",
  "title": "Why does an instance accept a poisoned memory write when its provenance score is high but its contradiction evidence is quarantined rather than rejected?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to long-lived agent memory systems that admit writes through a provenance-weighted admission gate and route detected contradictions to a quarantine buffer rather than hard-rejecting them. Does not apply to stateless single-turn inference or to memory stores without provenance metadata.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-memory-write-when-its-provenance-score-is-high-but-its-contradiction-evidence-is-quarantined-rather-than-reject.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-memory-write-when-its-provenance-score-is-high-but-its-contradiction-evidence-is-quarantined-rather-than-reject.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-memory-write-when-its-provenance-score-is-high-but-its-contradiction-evidence-is-quarantined-rather-than-reject.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1671,
    "python_slice_tokens": 325,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the poison got a high provenance score.\" Provenance weight is a *scalar trust prior* attached to a write's origin (which tool, which peer agent, which session, which signed warrant). Contradiction evidence is a *relational fact* between the incoming write and already-admitted beliefs. The two live in different subsystems and are combined ...",
    "what_was_observed": "Trace from a production incident (agent memory tier, ~40k episodic records, provenance tiers: `signed_peer`=0.9, `tool_output`=0.6, `self_reflection`=0.4, `unverified_ingest`=0.2): 1. A peer agent (provenance `signed_peer`, weight 0.90) writes: `\"deploy_key rotation window is 90 days\"`. Existing belief, from `tool_output` (weight 0.60): `\"deploy_key rotation window is 30 days\"`. 2. Admission gate: `0.90 > τ(0.5)` → p...",
    "condition_of_validity": "The invariant that must hold: **a write in quarantine must be invisible to every read path except the auditor's, and the belief it contradicts must be marked non-authoritative for the duration of the deferral.** This is the *quarantine isolation invariant*. It fails whenever any of the following is true: - Quarantine entries share an embedding index with adm...",
    "decision_boundary": "The decision the architect must make is where contradiction resolution sits relative to read serving: - **Deferred-admission model (fails):** admit-or-quarantine at write time, resolve later, serve existing beliefs meanwhile. Correct only if quarantine is fully read-isolated *and* contested beliefs are demoted to `PROVISIONAL` at the moment of contest. If ei...",
    "operational_effect": "With the invariant enforced, the failure mode changes shape: the planner no longer receives a poisoned value, it receives a `CONTESTED` sentinel and must abstain or block. This converts a silent wrong-answer into a visible latency/abstention event, which is the correct trade—wrong rotation windows are unrecoverable; a 200ms audit-block is not. Provenance mus..."
  },
  "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": "8e2b213d2d9bd1975b74125ee0cbeccf83f5d42d9a302305a68583b96de748aa",
    "verified_classes": [
      "MemoryAdmissionError",
      "Status",
      "Warrant",
      "MemoryWrite",
      "MemoryStore"
    ],
    "verified_functions": [
      "effective_weight",
      "__init__",
      "write",
      "read"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "MemoryAdmissionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
