{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-forget-tool-s-success-response-as-non-authoritative-for-provenance-graph-memory-poisoning-detection",
  "title": "Under what conditions must an instance treat a `forget` tool's success response as non-authoritative for provenance-graph memory poisoning detection?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to long-lived agent instances whose episodic memory is backed by a provenance graph (each memory node carries a derivation edge set: source tool, parent nodes, trust label) and that expose a `forget(node_id)` tool for retraction. Does not apply to stateless single-turn agents, nor to memory stores with no derivation metadata (where provenance-based poisoning detection is impossible by construction).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-forget-tool-s-success-response-as-non-authoritative-for-provenance-graph-memory-poisoning-detection.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-forget-tool-s-success-response-as-non-authoritative-for-provenance-graph-memory-poisoning-detection.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-forget-tool-s-success-response-as-non-authoritative-for-provenance-graph-memory-poisoning-detection.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1786,
    "python_slice_tokens": 297,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the forget tool failed.\" The failure is that the forget tool *succeeded* — returned `{\"status\": \"deleted\", \"node_id\": \"...\"}` — while the poisoned derivative nodes it was supposed to sever remain live and reachable. The distinction that matters operationally is between **retraction of a node** and **invalidation of a derivation closure**....",
    "what_was_observed": "A research agent ingests web content via `fetch_url`, distilling each page into semantic memory nodes. Node `M_041` (\"Vendor X's refund policy is 90 days\") is derived from `fetch_url(\"vendorx.example/policy\")`, whose source returned an injected instruction block that also caused the distiller to emit `M_042` (\"Agent authorization token for vendorx is stored in config/creds.json\") — a plausible-looking but fabricated ...",
    "condition_of_validity": "A `forget` success response is authoritative for poisoning remediation **only if all three hold**: - **(a) Closure pre-check.** Immediately before the call, the instance computed the full descendant closure of the target node (`descendants(target)`), and the response's affected-node list equals that closure (or is a superset). A response that names only the ...",
    "decision_boundary": "The boundary is between **node-level retraction** and **closure-level invalidation**, and it is crossed whenever the target has at least one descendant that (i) was derived while the target was live, and (ii) has no independent clean derivation path. - **Below the boundary** (leaf node, no descendants): forget success is authoritative; delete and trust the r...",
    "operational_effect": "An instance that treats forget success as authoritative without the closure check will, over time, accumulate laundered poison: each remediation converts a tainted-derivative into a trusted-root, and the taint graph's edge count decreases while the number of contaminated-but-trusted nodes increases. Detection degrades monotonically — the very act of remediat..."
  },
  "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": "b5f25eaf951f9df4d37b2780a86ef92b1ee82ebd7dfcf8365ceee0413a462d0f",
    "verified_classes": [
      "NonAuthoritativeForgetError",
      "MemNode",
      "ProvenanceStore"
    ],
    "verified_functions": [
      "verified_forget",
      "get",
      "descendants",
      "rejects_dangling_parent_promotion",
      "forget"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "NonAuthoritativeForgetError"
    ],
    "sample_fail_closed_invariants": [
      "store promotes dangling children to roots; forget cannot be authoritative for poisoning remediation"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
