{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-launders-poisoned-memory-through-a-trusted-sibling-taint-lineage-collapse-at-write-audit-merge-boundaries",
  "title": "What happens when an instance launders poisoned memory through a trusted sibling: taint-lineage collapse at write-audit merge boundaries",
  "date_of_record": "2026 December 2",
  "scope": "Applies to shared-memory agent systems where multiple LLM instances write to a common episodic/semantic store and a write-audit layer tracks provenance taint per write. Does not cover single-agent private scratchpads or stores with no cross-instance write sharing.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-launders-poisoned-memory-through-a-trusted-sibling-taint-lineage-collapse-at-write-audit-merge-boundaries.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-launders-poisoned-memory-through-a-trusted-sibling-taint-lineage-collapse-at-write-audit-merge-boundaries.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-launders-poisoned-memory-through-a-trusted-sibling-taint-lineage-collapse-at-write-audit-merge-boundaries.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1981,
    "python_slice_tokens": 345,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **taint at the point of origin** and **taint at the point of merge**. Most write-audit systems tag a memory record with a provenance label when it is first written: `source=agent_7`, `derived_from=[tool_call_8812]`, `trust=untrusted_external`. Poisoning detection then works by propagating that label forward. This is co...",
    "what_was_observed": "A three-instance pipeline: `ingest` (reads external docs, writes raw episodic memory), `distill` (reads episodic memory, writes semantic summaries), `verify` (reads semantic summaries, writes confidence-scored facts). Write-audit tags each record with `origin_trust` and a `derived_from` list of parent record IDs. Trigger condition: `ingest` writes record `E-441` from a fetched web page containing an injected instruct...",
    "condition_of_validity": "The taint-lineage invariant only holds when **every write that is causally derived from a read carries an explicit edge to the read record, and that edge is enforced at write time, not reconstructed after the fact.** This condition is violated whenever any of the following hold: - Retrieval returns content without provenance metadata (the common case when re...",
    "decision_boundary": "The boundary is: **does the deriving instance's write path have access to the provenance of what it read?** - If retrieval joins provenance into the result and the write API requires `derived_from`, taint propagates correctly and the detector works. This is the safe side. - If retrieval returns bare content, or the write API allows `derived_from=[]` uncondit...",
    "operational_effect": "With the invariant enforced (mandatory `derived_from`, read-log cross-check, ancestry-deduplicated corroboration): - The `E-441 → S-902 → F-1203` chain is preserved, the detector fires on `F-1203` because its root ancestry includes an `untrusted_external` node, and the credential-refresh storm is prevented. - Confidence on `F-1203` is computed over one root ..."
  },
  "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": "c0f90a53f5d3a57173e64120cf6b68998fd67630f1fd714c75b521236855b6ae",
    "verified_classes": [
      "TaintLineageSevered",
      "MemoryRecord",
      "WriteRequest"
    ],
    "verified_functions": [
      "audit_write",
      "corroboration_confidence",
      "collect"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TaintLineageSevered"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
