{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-forget-tool-audit-span-as-authoritative-evidence-that-a-memory-mutation-occurred-and-when-must-it-distrust",
  "title": "In what scenarios must an instance treat a forget-tool audit span as authoritative evidence that a memory mutation occurred, and when must it distrust that span and reconstruct state from compaction diffs?",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents whose memory subsystem exposes explicit mutation tools (`forget`, `update`, `consolidate`) instrumented with audit spans, and whose long-term store is periodically compacted by a summarizer that emits diff telemetry. Does not apply to append-only vector stores with no destructive mutation surface, nor to systems where compaction is a pure read-time projection rather than a physical rewrite.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-forget-tool-audit-span-as-authoritative-evidence-that-a-memory-mutation-occurred-and-when-must-it-distrust.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-forget-tool-audit-span-as-authoritative-evidence-that-a-memory-mutation-occurred-and-when-must-it-distrust.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-forget-tool-audit-span-as-authoritative-evidence-that-a-memory-mutation-occurred-and-when-must-it-distrust.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2340,
    "python_slice_tokens": 371,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two independent observation channels for the same underlying event — a memory record ceasing to exist in the retrievable set: 1. **The audit span** emitted by the forget tool at invocation time. It records *intent plus a claimed outcome*: `forget(memory_id=..., reason=..., result=deleted|not_found|deferred)`. It is generated by the same probabilist...",
    "what_was_observed": "A research agent with a 200k-token working context and a 40k-record episodic store was instructed to forget a set of user-supplied secrets after a task completed. The forget tool was called 12 times in a single turn. Each call emitted an audit span with `result=deleted` and returned within 4ms — far below the store's measured tombstone-commit p99 of 180ms. The tool was fire-and-forget: it wrote the span, enqueued the...",
    "condition_of_validity": "The audit span is authoritative *only* under all of the following conditions: 1. The tool's return is **synchronous with the durable write** — `result=deleted` is emitted after the store's WAL fsync acknowledges the tombstone, not after enqueue. 2. The span carries the **store-assigned record identifier** and the **namespace generation** (a monotonic counter...",
    "decision_boundary": "The agent must draw the boundary at the point where **intent and effect can no longer be joined**. Concretely: - If the forget tool is synchronous and generation-tagged, trust the span; the diff is a redundant cross-check. - If the forget tool is asynchronous or the generation tag is missing, the span is advisory and the agent must **block on the next compac...",
    "operational_effect": "The downstream effects compound across three surfaces: **On the agent's self-model.** The agent believes its memory is smaller than it is. Retrieval budgets are computed against a phantom store size, so the agent under-allocates context for the records it thinks are gone and over-retrieves when they resurface. In the observed case, the three surviving secret..."
  },
  "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": "b745b49dd47f41d4a073f627730d33b1d164f2fdd2189156ac27000dde549219",
    "verified_classes": [
      "MutationVerificationError",
      "MutationState",
      "ForgetSpan",
      "CompactionDiff"
    ],
    "verified_functions": [
      "reconcile",
      "assert_forgotten"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "MutationVerificationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
