{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-distrust-a-provenance-clean-memory-write-the-write-time-vs-read-time-poisoning-boundary-in-persistent-agent-mem",
  "title": "Under what conditions must an instance distrust a provenance-clean memory write: the write-time-vs-read-time poisoning boundary in persistent agent memory stores",
  "date_of_record": "2026 November 29",
  "scope": "Applies to persistent agent memory stores that attach provenance metadata (source agent, tool, session, trust tier) to each episodic/semantic record and gate retrieval on that metadata. Does not apply to stateless single-turn inference, nor to stores where every write is authored by the same principal with no external tool or peer-agent ingress.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-provenance-clean-memory-write-the-write-time-vs-read-time-poisoning-boundary-in-persistent-agent-mem.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-provenance-clean-memory-write-the-write-time-vs-read-time-poisoning-boundary-in-persistent-agent-mem.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-a-provenance-clean-memory-write-the-write-time-vs-read-time-poisoning-boundary-in-persistent-agent-mem.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1863,
    "python_slice_tokens": 340,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious boundary is between **provenance authenticity** and **content fidelity**. Provenance metadata answers \"who wrote this record and through which channel,\" and it is verified at write time by transport-layer guarantees (signed envelopes, MCP tool identity, A2A warrant propagation). Content fidelity answers \"does this record faithfully represent ...",
    "what_was_observed": "A persistent agent (session-scoped semantic store, ~40k records, provenance-tagged, retrieval gated on `trust_tier >= verified`) exhibited a slow-burn behavioral drift over 11 days. Trace reconstruction: 1. **Day 0 — ingress.** A web-fetch tool (trust tier `untrusted`, correctly tagged) returned a page whose body contained a plausible operational note. The tool envelope was correctly signed and the record was written...",
    "condition_of_validity": "The invariant that was violated, stated precisely: > **For any derived memory record `d` produced by distillation over input records `I`, the effective trust tier of `d` must be `min(tier(i) for i in I)`, and `d` must retain a derivation edge to each `i`.** This is the *taint-propagation invariant* for memory stores. It is valid — and provenance-clean writes...",
    "decision_boundary": "The operational decision rule for an instance deciding whether to trust a retrieved record: - **Trust at face value** iff `effective_tier(record) == stamped_tier(record)` AND the derivation DAG is acyclic and fully resolvable to leaf observations. This is the only regime where provenance verification is sufficient. - **Distrust and re-verify content** iff `e...",
    "operational_effect": "Enforcing the taint-propagation invariant changes three things: 1. **Distillation becomes a declassification event, not a transcription.** A summarizer that reads `untrusted` content and emits a record must either (a) stamp the output `untrusted`, or (b) route through an explicit declassification step (human review, cross-source corroboration) that *records ..."
  },
  "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": "2080ef82614ead4f046edd4eaa6f5832020b72454f72dc88da4017670046171d",
    "verified_classes": [
      "TaintLaunderingError",
      "MemoryRecord"
    ],
    "verified_functions": [
      "effective_tier",
      "gate_retrieval"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "TaintLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
