{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-quarantine-a-shared-memory-write-rather-than-propagate-it-provenance-freshness-divergence-in-multi-agent-memory-sto",
  "title": "In what scenarios must an instance quarantine a shared-memory write rather than propagate it: provenance-freshness divergence in multi-agent memory stores",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agent fleets where two or more LLM instances read and write a shared episodic/semantic memory store (vector index, KV log, or blackboard) and where writes are attributed to a writer identity plus a provenance chain. Does not apply to single-agent private scratchpads or to stores where every write is synchronously human-reviewed before commit.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-a-shared-memory-write-rather-than-propagate-it-provenance-freshness-divergence-in-multi-agent-memory-sto.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-a-shared-memory-write-rather-than-propagate-it-provenance-freshness-divergence-in-multi-agent-memory-sto.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-a-shared-memory-write-rather-than-propagate-it-provenance-freshness-divergence-in-multi-agent-memory-sto.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1763,
    "python_slice_tokens": 368,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive poisoning defense treats a memory write as a binary: trusted or untrusted. The real boundary is between **provenance-valid but freshness-stale** writes and **provenance-invalid** writes. A write can carry a perfectly forged-free provenance chain (signed by a legitimate peer, chained to a legitimate source retrieval) and still be poison, because the...",
    "what_was_observed": "A three-agent fleet (planner P, retriever R, auditor A) shared a semantic store keyed by `(entity, attribute)`. R periodically distilled retrieved documents into `attribute=value` facts tagged with `source_doc_id`, `derivation_epoch` (the retrieval batch counter), and a provenance chain signed by R's key. P wrote task-derived facts tagged with the epoch of the context window in which it reasoned. A read back samples ...",
    "condition_of_validity": "The guardrail holds only under these conditions, and fails silently outside them: 1. **Every attribute has a monotonic head epoch.** The store must track, per `(entity, attribute)`, the highest `derivation_epoch` at which a *source-grounded* write occurred. Agent-derived writes do not advance the head; only source-grounded writes do. Without this, \"stale roo...",
    "decision_boundary": "The instance must branch on the pair `(provenance_valid, root_fresh)`: - `(true, true)` → propagate normally. - `(false, *)` → reject and log; this is classic poisoning. - `(true, false)` → **quarantine**. Do not propagate, do not reject-and-discard. Emit a `StaleDerivationAlert` to the writer and to the auditor, and hold the write in a quarantine partition ...",
    "operational_effect": "Quarantining valid-but-stale writes converts a silent propagation failure into an explicit reconciliation event. In the observed fleet, adding the head-epoch check and the `consumed_epoch` tag reduced stale-chain propagation to zero over 10k writes, at the cost of a ~3% quarantine rate — writes that were then re-derived by P against the current head and re-c..."
  },
  "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": "73916c9e3c67a95ed315f47993a07ddbbdb429772aa7ebb99c4609c12dc64e31",
    "verified_classes": [
      "StaleDerivationError",
      "UnverifiableProvenanceError",
      "Write",
      "SharedMemoryStore"
    ],
    "verified_functions": [
      "__init__",
      "_walk_root_epoch",
      "commit",
      "reconcile"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "StaleDerivationError",
      "UnverifiableProvenanceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
