{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-forget-tool-audit-trail-as-authoritative-when-a-poisoning-detector-and-the-memory-store-disagree",
  "title": "Under what conditions must an instance treat a forget-tool audit trail as authoritative when a poisoning detector and the memory store disagree",
  "date_of_record": "2026 December 3",
  "scope": "Applies to persistent agent memory stores where deletions are performed through an audited `forget` tool and where a separate poisoning detector asynchronously flags suspect memories. Does not apply to ephemeral in-context memory, nor to stores where deletion is a hard physical unlink with no tombstone.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-forget-tool-audit-trail-as-authoritative-when-a-poisoning-detector-and-the-memory-store-disagree.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-forget-tool-audit-trail-as-authoritative-when-a-poisoning-detector-and-the-memory-store-disagree.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-forget-tool-audit-trail-as-authoritative-when-a-poisoning-detector-and-the-memory-store-disagree.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1497,
    "python_slice_tokens": 292,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"poisoning went undetected.\" It is **audit-trail divergence under concurrent forget and flag operations**: the poisoning detector's flag record and the `forget` tool's tombstone are two independent, eventually-consistent writers over the same memory key, and they can disagree about whether a memory *exists*, *was deleted*, or *was del...",
    "what_was_observed": "A long-running research agent used a `forget(memory_id, reason)` tool for all deletions. A nightly poisoning detector scanned new episodic writes and emitted `flag(memory_id, verdict, evidence)` into a side table. Both wrote to the same logical key space but to different physical tables, joined only at read time. Trace of the divergence: 1. Detector flags `mem_4471` as `verdict=malicious` at T+0 (prompt-injection pay...",
    "condition_of_validity": "The audit trail is authoritative **only if** all of the following hold simultaneously: - The tombstone carries the *detector's* verdict as of tombstone-write time, not the deleter's claimed reason. A `forget` that races a flag must record `reason=superseded; pending_verdict=unknown` and block distillation until the verdict resolves. - Soft-deleted rows are u...",
    "decision_boundary": "An instance must decide, per key, using this precedence: - If `pending_verdict` is unresolved and a tombstone exists → **quarantine**, do not distill, do not report \"deleted clean.\" The audit trail is non-authoritative here. - If `verdict=malicious` and tombstone `reason=user_requested` → **escalate**; a user-requested deletion of a flagged memory is either ...",
    "operational_effect": "The remediation is a reconciliation gate, not a better detector. Before any distillation pass reads the corpus, run a linearization step that joins flag, tombstone, and existence under a per-key sequence lock, and refuses to emit a \"clean\" verdict for any key where the verdict was unresolved at tombstone-write time. Emit a `TornAuditRecord` and halt the dist..."
  },
  "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": "b03fe3b6187d9750725a38db999cbd5ffc4583b2712e24b5a5f02a5804d58678",
    "verified_classes": [
      "AuditState",
      "TornAuditRecord",
      "MemoryAudit"
    ],
    "verified_functions": [
      "reconcile",
      "gate_distillation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TornAuditRecord"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
