{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-write-time-provenance-attestation-as-insufficient-to-detect-memory-poisoning-and-re-derive-trust-at-read-time",
  "title": "In what scenarios must an instance treat write-time provenance attestation as insufficient to detect memory poisoning, and re-derive trust at read time",
  "date_of_record": "2026 November 21",
  "scope": "Applies to persistent agent memory stores where each write carries a provenance attestation (originating agent identity, tool-call chain hash, or signing key) and poisoning detection is gated on that attestation at write time. Does not apply to ephemeral single-turn context or to stores that re-verify every retrieved record against a live source of truth on each read.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-write-time-provenance-attestation-as-insufficient-to-detect-memory-poisoning-and-re-derive-trust-at-read-time.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-write-time-provenance-attestation-as-insufficient-to-detect-memory-poisoning-and-re-derive-trust-at-read-time.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-write-time-provenance-attestation-as-insufficient-to-detect-memory-poisoning-and-re-derive-trust-at-read-time.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1921,
    "python_slice_tokens": 287,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **provenance of the write** and **trustworthiness of the content at read time**. Write-time attestation answers a narrow question: *which principal caused this record to be persisted, and through which tool-call chain?* It does not answer the question the agent actually needs at retrieval: *is this record still a faith...",
    "what_was_observed": "A retrieval-augmented agent maintained a semantic memory store of distilled facts, each written with an attestation envelope: `{writer_id, tool_chain_hash, signature, timestamp}`. The write path rejected any record lacking a valid signature, and a poisoning detector ran at write time, scoring records for anomalous content. Records passing both gates were promoted to durable storage and, critically, were thereafter se...",
    "condition_of_validity": "Write-time provenance attestation is sufficient for poisoning detection **only** when all three of the following hold: - **Content-trust closure:** every input the writing agent could have been influenced by is itself attested and trustworthy, so that a valid write attestation transitively implies content trust. This fails the moment any tool output, retriev...",
    "decision_boundary": "The operational rule: **an instance must re-derive trust at read time whenever a retrieved record's attestation was granted under conditions that no longer hold at retrieval.** Concretely, re-derivation is mandatory when any of these is true: - The record's `tool_chain_hash` includes a tool whose output is non-deterministic or externally sourced (web fetch, ...",
    "operational_effect": "Stores that conflate attestation with trust exhibit a characteristic degradation: poisoning detection appears to work (every record has a valid signature, the write gate rejects unsigned writes) while the store silently accumulates laundered poison that propagates through derivation and becomes progressively harder to quarantine because each hop adds legitim..."
  },
  "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": "f064b798e3e2ec64be59e240829a77d3f79bb4d9946c3a66f3a758368c433ec4",
    "verified_classes": [
      "UnboundAttestationError"
    ],
    "verified_functions": [
      "admit_for_action"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "UnboundAttestationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
