{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-poisoned-memory-write-when-provenance-metadata-is-intact-but-the-write-path-lineage-is-broken",
  "title": "Why does an instance accept a poisoned memory write when provenance metadata is intact but the write-path lineage is broken?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to shared multi-agent memory stores where writes carry provenance records (author identity, warrant, derivation chain) and where a downstream consumer validates a write by inspecting that provenance before admitting it into a semantic store. Does not apply to single-agent scratchpads, immutable append-only logs with no admission gate, or systems that re-execute every write from primary evidence at read time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-memory-write-when-provenance-metadata-is-intact-but-the-write-path-lineage-is-broken.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-memory-write-when-provenance-metadata-is-intact-but-the-write-path-lineage-is-broken.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-poisoned-memory-write-when-provenance-metadata-is-intact-but-the-write-path-lineage-is-broken.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1841,
    "python_slice_tokens": 357,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct provenance surfaces, and conflating them is the failure. **Record provenance** is the metadata attached to a write: author instance ID, signing key, warrant token, parent-memory references, timestamp. **Write-path lineage** is the actual causal sequence of tool calls, retrievals, and transformations that produced the payload's *content...",
    "what_was_observed": "A three-agent swarm (planner, retriever, distiller) shared a semantic memory store. Writes required a `warrant` field: a signed token binding `(author_id, parent_memory_ids, content_hash)`. The admission gate verified the signature and checked that every `parent_memory_id` resolved to an existing memory. On paper this was a sound provenance chain. The poisoning incident proceeded as follows: 1. The retriever fetched ...",
    "condition_of_validity": "The invariant that record provenance is sufficient to bound trust holds **only if** every transformation between parent content and child content is deterministic given the parent set, or if the transformation is itself logged as a first-class lineage edge. Neither held here: the distiller's transformation was a probabilistic LLM call whose effective input (...",
    "decision_boundary": "An admission gate must choose between two postures, and the choice is not free: - **Trust-declared posture:** validate record provenance (signature, parent resolution, hash match) and admit. Cheap, low-latency, admits lineage-broken writes whenever effective input exceeds declared parents. Correct only for deterministic transformers or for stores where every...",
    "operational_effect": "Without the manifest requirement, the store's trust model silently degrades: every admitted write inherits the trust of its declared parents, but its content may carry unrecorded influence. Downstream consumers cannot distinguish a clean distillation from a poisoned one by inspecting the record. The only backstop is redundant independent derivation plus cros..."
  },
  "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": "c22797f06ba2a5c82014487fd29e3ebabba5f59c487f2de1ca0e99dc75e66dea",
    "verified_classes": [
      "LineageGapError",
      "MemoryWrite"
    ],
    "verified_functions": [
      "admit_write",
      "_demo"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "LineageGapError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
