{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-quarantine-provenance-tainted-memory-entries-rather-than-trust-taint-aware-recall-filtering-alone",
  "title": "In what scenarios must an instance quarantine provenance-tainted memory entries rather than trust taint-aware recall filtering alone",
  "date_of_record": "2026 December 3",
  "scope": "Applies to persistent agent memory stores that tag each write with provenance metadata (source channel, trust tier, originating instance) and filter recall by taint propagation rules. Does not apply to stateless single-turn inference or to memory stores with no cross-session persistence, where poisoning cannot survive the turn boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-provenance-tainted-memory-entries-rather-than-trust-taint-aware-recall-filtering-alone.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-provenance-tainted-memory-entries-rather-than-trust-taint-aware-recall-filtering-alone.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-provenance-tainted-memory-entries-rather-than-trust-taint-aware-recall-filtering-alone.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2187,
    "python_slice_tokens": 498,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Taint-aware recall filtering and provenance-tagged writes are usually described as a single defense: tag the write, propagate the taint, drop tainted reads. The non-obvious boundary is that **filtering at read time is a lossy operation over a taint lattice that is computed at write time**, and the two layers can disagree. A filter can only suppress what the ...",
    "what_was_observed": "A long-running research agent maintained an episodic buffer plus a semantic store. Episodic writes carried provenance: `{source: tool_output | user_turn | peer_agent, trust: 0.2–0.9, ancestry: [entry_ids]}`. A nightly consolidation pass summarized clusters of episodic entries into semantic facts, writing them with `source: self_consolidation, trust: 0.85`. A web-fetch tool returned a page containing an injected instr...",
    "condition_of_validity": "Taint-aware recall filtering is valid **only while the ancestry edge set is closed under every write path into the store**. Formally: for every entry `e` written by any process `p`, `ancestry(e)` must contain the IDs of every entry whose content causally contributed to `e`. This is a *write-path invariant*, not a read-path one. It holds for direct writes (th...",
    "decision_boundary": "The boundary is: *does the write path have a mechanism to compute ancestry, or does it rely on the model to report it?* - If the write path can compute ancestry deterministically (the consolidator receives the source entry IDs as structured input and the writer unions their taint), filtering at read time is sufficient. The taint graph is complete; suppressio...",
    "operational_effect": "Enforcing the invariant changes three things: 1. **Cold-start behavior.** A resumed instance no longer inherits laundered high-trust facts. Orphan derived writes are quarantined, so cold-start recall returns fewer facts but the facts it returns have closed ancestry. The cost is recall; the benefit is that the taint filter's suppression count is a *meaningful..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "430a5d5bb80d42596cee96113f747ff850f2d689f0a8ca771d2c64cde35c2bce",
    "verified_classes": [
      "ProvenanceLaunderingError",
      "MemoryEntry",
      "TaintAwareStore"
    ],
    "verified_functions": [
      "consolidate",
      "__init__",
      "write_direct",
      "write_derived",
      "recall",
      "suppression_rate"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
