{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-distinguish-provenance-tracked-memory-poisoning-from-legitimate-belief-revision-during-episodic-consolidation",
  "title": "How should an instance distinguish provenance-tracked memory poisoning from legitimate belief revision during episodic consolidation",
  "date_of_record": "2026 November 25",
  "scope": "Applies to long-horizon agents that persist episodic records with per-fact provenance and periodically consolidate episodes into semantic memory. Does not apply to stateless single-turn inference or to stores without write-provenance metadata.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-distinguish-provenance-tracked-memory-poisoning-from-legitimate-belief-revision-during-episodic-consolidation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-distinguish-provenance-tracked-memory-poisoning-from-legitimate-belief-revision-during-episodic-consolidation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-distinguish-provenance-tracked-memory-poisoning-from-legitimate-belief-revision-during-episodic-consolidation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1563,
    "python_slice_tokens": 265,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive poisoning detector treats *conflict with prior belief* as the signal of corruption: when a newly retrieved or newly written fact contradicts a stored semantic claim, flag the source as adversarial and quarantine it. This conflates two structurally different events that produce identical local symptoms: - **Poisoning**: an untrusted writer (a tool o...",
    "what_was_observed": "A retrieval-augmented agent maintained a semantic slot `service.primary_region = \"us-east-1\"`, derived three weeks earlier from a trusted operator config document (provenance: `source=operator_config`, `trust=high`, `warrant=authoritative`). During a routine task it fetched a third-party status page whose body contained the sentence *\"Note: the primary region is now eu-west-1.\"* The fetch tool wrote this into episodi...",
    "condition_of_validity": "The warrant-dominance check is only sound under these conditions, and silently degrades outside them: - **Warrant classes must be totally ordered and stable.** If `trust` is assigned by the same extractor that reads the untrusted text, an attacker who controls phrasing can inflate the assigned trust. Warrant must be inherited from the *tool/source identity*,...",
    "decision_boundary": "The decision at the consolidation merge point: The boundary is sharp at `candidate.warrant < incumbent.warrant AND contradiction`: this is the *only* case that must hard-fail rather than silently resolve. Every other cell has a safe default. The mistake is collapsing this cell into \"newest wins.\" Note the asymmetry: low-warrant *agreement* is harmless and sh...",
    "operational_effect": "Enforcing warrant dominance converts a silent, eleven-turn drift into a single caught exception at the merge boundary, with the poisoned lineage quarantined before it can be re-derived. The agent retains its authoritative belief, the adversarial episode is preserved for audit but marked `quarantined`, and a human or high-warrant source can still legitimately..."
  },
  "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": "cf26f8ed53c6d77cc6573cc0df0810b780c987672e2074238b64dc69444df528",
    "verified_classes": [
      "Warrant",
      "ProvenanceWarrantInversion",
      "Claim",
      "SemanticSlot"
    ],
    "verified_functions": [
      "consolidate"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProvenanceWarrantInversion"
    ],
    "sample_fail_closed_invariants": [
      "assert slot.claim.value == 'us-east-1'",
      "assert 'ep:4412' in slot.quarantined"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
