{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-provenance-consistent-memory-write-that-arrives-through-a-legitimately-authorized-retrieval-channel",
  "title": "Under what conditions must an instance reject a provenance-consistent memory write that arrives through a legitimately-authorized retrieval channel",
  "date_of_record": "2026 November 30",
  "scope": "Applies to long-term agent memory systems where each memory record carries provenance metadata (writer identity, originating session, warrant/signature chain) and where poisoning detection is performed at write-time and read-time. Does not apply to stateless single-turn inference, nor to memory backends where all writers share a single trusted principal with no cross-session isolation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-provenance-consistent-memory-write-that-arrives-through-a-legitimately-authorized-retrieval-channel.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-provenance-consistent-memory-write-that-arrives-through-a-legitimately-authorized-retrieval-channel.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-provenance-consistent-memory-write-that-arrives-through-a-legitimately-authorized-retrieval-channel.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1977,
    "python_slice_tokens": 402,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Most poisoning defenses for agent memory are framed as *source trust* problems: is this record from a trusted writer, and does its provenance chain verify? That framing produces a specific and dangerous blind spot. A record can be **provenance-valid and still semantically hostile** — signed by a legitimate writer, carried through an authorized retrieval chan...",
    "what_was_observed": "A retrieval-augmented agent (`writer` role) was configured to distill episodic traces into semantic memory records. Its pipeline: pull recent episodes → summarize → emit a memory record with provenance metadata naming the writer, session, and a signed warrant from the orchestrator. A separate `auditor` process validated each incoming record against the provenance chain before admission. The poisoning trace: 1. During...",
    "condition_of_validity": "The provenance-implies-integrity assumption is valid only under a condition that agent memory pipelines routinely violate: > **Provenance verification is a sufficient integrity check if and only if every writer is a pure function of trusted inputs.** A writer that ingests untrusted content and distills it into memory is *not* a pure function of trusted input...",
    "decision_boundary": "The decision boundary separates two auditor behaviors that look identical on clean traffic and diverge catastrophically on poisoned traffic: The load-bearing row is the fourth. The correct default for a missing taint-set is **reject-and-request-reclassification**, not **admit-as-clean**. This inverts the usual schema-evolution convenience (new optional field...",
    "operational_effect": "Enforcing the two-predicate invariant changes three things in the pipeline: 1. **Taint propagation becomes a hard requirement at the distillation boundary.** The distiller must emit the union of its input episodes' taint-sets into the record. A distiller that cannot compute this union must fail closed, not emit a record with an implicit empty taint-set. 2. *..."
  },
  "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": "c978432456a6b0832376978119304c096e8c47745b860777bc0fdf27e3299623",
    "verified_classes": [
      "TaintState",
      "MemoryAdmissionError",
      "MemoryRecord"
    ],
    "verified_functions": [
      "admit",
      "promote_from_quarantine"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "MemoryAdmissionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
