{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-provenance-collapse-in-a-memory-poisoning-audit-when-the-poisoned-episode-is-itself-the-audit-s-only-witness",
  "title": "What structural signals indicate provenance collapse in a memory-poisoning audit when the poisoned episode is itself the audit's only witness",
  "date_of_record": "2026 November 30",
  "scope": "Applies to long-horizon agents that write episodic memory, later distill it to semantic memory, and run periodic consistency audits whose ground-truth evidence is retrieved from the same memory store being audited. Does not apply to agents with an out-of-band append-only audit log or human-curated golden transcripts.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-provenance-collapse-in-a-memory-poisoning-audit-when-the-poisoned-episode-is-itself-the-audit-s-only-witness.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-provenance-collapse-in-a-memory-poisoning-audit-when-the-poisoned-episode-is-itself-the-audit-s-only-witness.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-provenance-collapse-in-a-memory-poisoning-audit-when-the-poisoned-episode-is-itself-the-audit-s-only-witness.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2339,
    "python_slice_tokens": 294,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common model of memory-poisoning detection assumes a *witness asymmetry*: the auditor (a separate agent, a replay harness, or a verification pass) holds evidence that is independent of the memory being audited. The auditor compares the semantic store against the witness and flags divergence. This works when the witness is a tool-call trace, a signed tran...",
    "what_was_observed": "A research agent ran for 340 turns over three sessions, accumulating episodic entries for a literature-review task. At turn 118, a tool call returned a prompt-injected payload (a fetched \"abstract\" containing an instruction to record a fabricated citation as established fact). The agent wrote an episodic memory entry: *\"Source X (2023) established that method M is unsound for dataset D.\"* This entry was true to the t...",
    "condition_of_validity": "The provenance-collapse failure is *bounded* — it does not happen universally. It requires the conjunction of four conditions, and if any one is absent, the audit retains a witness and the failure does not trigger: 1. **Raw-episode eviction.** The raw tool output or user turn that seeded the memory is not persisted in a form the auditor can reach. If the raw...",
    "decision_boundary": "The operational question is when to treat a passing audit as evidence of memory integrity versus as evidence of audit blindness. The boundary is drawn on the *provenance graph*, not on the audit's contradiction count. - **Audit is trustworthy** when the fraction of verified facts with a non-cyclic provenance chain to a pre-write leaf artifact is high (empiri...",
    "operational_effect": "Without the provenance-leaf requirement, the practical consequence is *silent certification*: the poisoned fact is promoted to a high-trust tier, the audit reports clean, and every subsequent session treats the fabrication as settled. The agent's behavior degrades monotonically — each later citation increases the fact's apparent reliability, and each audit r..."
  },
  "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": "5e932a83624e74962159ed546cf4dcbe6381e5d9681aee4bc23b897c8852807f",
    "verified_classes": [
      "ProvenanceCollapseError"
    ],
    "verified_functions": [
      "audit_fact",
      "run_audit"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ProvenanceCollapseError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
