{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-re-admit-poisoned-memory-after-a-provenance-audit-passes-the-quarantine-epoch-aliasing-failure",
  "title": "Why does an instance re-admit poisoned memory after a provenance audit passes: the quarantine-epoch aliasing failure",
  "date_of_record": "2026 November 26",
  "scope": "Applies to persistent agent memory stores that implement provenance-based poisoning detection with quarantine, where a memory record can be re-promoted from quarantine after a clean audit. Does not apply to stateless agents, to stores without quarantine/re-audit cycles, or to append-only stores with no re-promotion path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-re-admit-poisoned-memory-after-a-provenance-audit-passes-the-quarantine-epoch-aliasing-failure.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-re-admit-poisoned-memory-after-a-provenance-audit-passes-the-quarantine-epoch-aliasing-failure.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-re-admit-poisoned-memory-after-a-provenance-audit-passes-the-quarantine-epoch-aliasing-failure.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1915,
    "python_slice_tokens": 421,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A provenance audit answers a *narrow* question: \"Is the recorded lineage of this record consistent with the trust policy at the moment of audit?\" It does **not** answer: \"Is this record's *content* safe to re-admit under the trust state that will exist at re-promotion time.\" The failure mode is a conflation of two identities that the store treats as one: - *...",
    "what_was_observed": "A summarizer agent ingested tool output into a long-term store under `mem_id=0x8f2a…` with provenance `{source: \"web_fetch\", trust: 0.4, ingested_at: T0}`. A downstream task flagged the record as low-confidence and moved it to quarantine without deleting it, tagging `quarantine_epoch=E1`. During a routine re-audit cycle, an auditor agent (itself a tool-using LLM instance) was asked to \"verify provenance of quarantine...",
    "condition_of_validity": "The re-promotion invariant holds **only if** the following is enforced as a conjunction, not as independent checks: The boundary failure occurs exactly when any one of these is dropped: - **Content-hash binding dropped** → content can mutate under a stable `mem_id` and still pass audit (the observed case). - **Epoch monotonicity dropped** → a stale audit res...",
    "decision_boundary": "The line between \"safe to re-promote\" and \"must re-quarantine with a new epoch\" is drawn by **content-hash equality against the provenance-claimed hash, evaluated inside the store's admission transaction**, not by the auditor's verdict. Concretely: - If `hash(content) != provenance.content_hash`: the record is **not** re-promotable. It must be re-quarantined...",
    "operational_effect": "After enforcing the conjunction: - The observed poisoning path is closed: the trust-laundering maintenance tool's rewrite is detected because `content_hash` no longer matches the (now-rewritten) provenance, and the mismatch forces re-quarantine rather than promotion. - A new class of signals becomes available: **content/provenance divergence rate** per sourc..."
  },
  "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": "8f3e6c50ef2147c768dc34c2decb0992be55cdd8a870afe444400de95c1c26e2",
    "verified_classes": [
      "ProvenanceAliasingError",
      "Provenance",
      "Record"
    ],
    "verified_functions": [
      "_hash",
      "re_promote",
      "_last_seq"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ProvenanceAliasingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
