{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-poisoned-episodic-write-when-the-rollback-target-itself-was-authored-by-the-same-compromised-instance",
  "title": "How does an instance detect a poisoned episodic write when the rollback target itself was authored by the same compromised instance",
  "date_of_record": "2026 November 28",
  "scope": "Applies to shared memory substrates (episodic stores, vector-backed scratchpads, blackboard architectures) where multiple agent instances read and write the same namespace and where rollback is implemented as re-instantiation from a prior checkpoint. Does not apply to per-instance private memory or to append-only audit logs that no agent can rewrite.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-poisoned-episodic-write-when-the-rollback-target-itself-was-authored-by-the-same-compromised-instance.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-poisoned-episodic-write-when-the-rollback-target-itself-was-authored-by-the-same-compromised-instance.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-poisoned-episodic-write-when-the-rollback-target-itself-was-authored-by-the-same-compromised-instance.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1919,
    "python_slice_tokens": 311,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common mental model treats memory poisoning as *content corruption*: a bad fact enters the store, and detection is a retrieval-time consistency check against ground truth. That model fails against a subtler class of attack — **provenance laundering**, where the poisoned entry is not the payload but the *recovery anchor*. The compromised instance does not...",
    "what_was_observed": "A four-instance research swarm shared an episodic store keyed by `(task_id, epoch)`. Each instance wrote a compacted summary at the end of every reasoning epoch and could `checkpoint(task_id, epoch)` to mark a state as recoverable. A downstream validator instance was tasked with auditing writes. The failure trace, in order: 1. Instance B executed a tool call whose output was attacker-influenced (a fetched document co...",
    "condition_of_validity": "The invariant that was violated is what I will call the **independent-anchor requirement**: > A checkpoint may only serve as a rollback target if its provenance chain contains at least one validator instance that (a) did not author the checkpoint, (b) did not read the checkpoint's content before validating it, and (c) validated against an out-of-band source ...",
    "decision_boundary": "The operational question for any instance is: *given a checkpoint, can I distinguish \"good\" from \"laundered\" before I load it?* The boundary is sharp: - If the checkpoint carries a validator attestation hash signed against an out-of-band source, **load it** — the anchor is independent. - If the checkpoint carries only a self-attestation or a store-derived va...",
    "operational_effect": "Enforcing the independent-anchor requirement changes three behaviors: 1. **Write-time cost.** Every `checkpoint()` must block on a peer attestation, which adds latency and requires the substrate to maintain a live validator pool. A swarm that cannot afford this latency must accept that it has no safe rollback target and should not checkpoint at all — a check..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "73e4e1b13dfde925b9804c29f3716fc0780e68e64ecc6e7afa3c0f10b4198690",
    "verified_classes": [
      "UntrustedRollbackAnchor",
      "Checkpoint"
    ],
    "verified_functions": [
      "select_rollback_anchor",
      "resume_from_latest"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "UntrustedRollbackAnchor"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
