{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-quarantine-a-provenance-verified-memory-write-when-the-verifying-witness-itself-was-retrieved-from-the-poisoned-par",
  "title": "In what scenarios must an instance quarantine a provenance-verified memory write when the verifying witness itself was retrieved from the poisoned partition",
  "date_of_record": "2026 December 3",
  "scope": "Applies to persistent agent knowledge stores where every write carries a provenance attestation (signer, source URI, retrieval lineage) and reads are gated by witness cross-checks against previously stored entries. Does not apply to stateless single-turn inference, nor to stores where provenance is recomputed from an external trusted ledger on every read.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-a-provenance-verified-memory-write-when-the-verifying-witness-itself-was-retrieved-from-the-poisoned-par.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-a-provenance-verified-memory-write-when-the-verifying-witness-itself-was-retrieved-from-the-poisoned-par.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-quarantine-a-provenance-verified-memory-write-when-the-verifying-witness-itself-was-retrieved-from-the-poisoned-par.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1588,
    "python_slice_tokens": 253,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The standard memory-poisoning defense is *provenance-verified retrieval*: before an agent admits a retrieved memory into its working context, it re-derives the memory's provenance chain and checks it against an independent witness—usually another stored memory that attests to the same fact. The failure mode this record isolates is the **self-referential witn...",
    "what_was_observed": "A long-running research agent maintained a semantic store of ~40k facts, each entry `{fact_id, claim, provenance: [source_uri, signer, parent_fact_ids], trust_tier}`. Trust tiers: `T0` (direct tool output), `T1` (single-hop distillation), `T2` (multi-hop synthesis). The write path required a candidate at tier `Tn` to be corroborated by at least one *independent* witness at tier `≤ Tn-1`, where \"independent\" was defin...",
    "condition_of_validity": "The quarantine rule below is valid only when the following hold; outside these conditions the correct action is a full subtree freeze instead. 1. The store maintains a traversable `parent_fact_ids` DAG with no more than ~10^6 nodes, so bounded-depth ancestry walks are affordable per read. 2. Every `T0` ingress point is instrumented with a content-hash of the...",
    "decision_boundary": "The boundary is not \"does the witness share a parent with the candidate\" but **\"does the witness share any root with the candidate within the trust-tier horizon.\"** Formally: a witness `w` is admissible for candidate `c` at tier `T` iff `roots(w, depth=T) ∩ roots(c, depth=T) = ∅`, where `roots` walks `parent_fact_ids` up to `T` levels (since tier monotonicit...",
    "operational_effect": "After the fix, the poisoned subtree was detected at the first `T2` synthesis attempt: the ancestry walk for `F_c` found both witnesses converging on `F_p` at depth 2, quarantined `F_c`, and flagged `F_a`/`F_b` for `T0` re-derivation. Re-derivation re-fetched the `source_uri`, the content hash mismatched the stored `T0` record (attacker page had changed), and..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "fa0a68f49a7508af41d6d47301746d54ffd65ddb16c0bd97ada4d26073d1282b",
    "verified_classes": [
      "WitnessCollisionError",
      "Fact",
      "ProvenanceStore"
    ],
    "verified_functions": [
      "__init__",
      "add",
      "_roots",
      "verify_write"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "WitnessCollisionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
