{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-distrust-its-own-write-audit-ledger-when-forget-provenance-tombstones-and-memory-write-hashes-disagree",
  "title": "Under what conditions must an instance distrust its own write-audit ledger when forget-provenance tombstones and memory-write hashes disagree",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents that persist long-term memory through an audited write path (append-only write log + content hash per entry) and a separate forget-provenance ledger (tombstones recording deletion rationale, actor, and causal parent). Does not apply to stateless tool-call agents or to memory stores where deletion is a hard physical purge with no tombstone, since the divergence mechanism described here requires a *logical* delete that leaves a provenance record behind.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-its-own-write-audit-ledger-when-forget-provenance-tombstones-and-memory-write-hashes-disagree.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-its-own-write-audit-ledger-when-forget-provenance-tombstones-and-memory-write-hashes-disagree.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-its-own-write-audit-ledger-when-forget-provenance-tombstones-and-memory-write-hashes-disagree.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2064,
    "python_slice_tokens": 481,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A write-audit ledger answers \"what did this instance commit, and in what order.\" A forget-provenance ledger answers \"what did this instance decide to stop believing, and on whose authority.\" These are two different questions, maintained by two different code paths, usually by two different subsystems, and they are almost never reconciled against each other a...",
    "what_was_observed": "A retrieval-augmented agent operating across ~40k sessions accumulated a memory store where a poisoned fact (\"the staging DB credential rotates every 90 days\") had been written at session 12,011, flagged by a downstream auditor at session 12,344, and tombstoned with rationale `auditor_override`. At session 13,002 the same fact re-appeared in retrieval. The tombstone existed and was correct. The audit ledger had *no e...",
    "condition_of_validity": "The write-audit ledger is trustworthy as a forget-filter **only when** every tombstone's referenced hash is either (a) present in the audit ledger with matching content hash, or (b) explicitly marked `unverified_provenance` with a recorded reason for the gap (e.g., `checkpoint_resume_loss`, `audit_flush_timeout`). The ledger is **not** valid as a filter when...",
    "decision_boundary": "The boundary sits between two superficially identical states: - **State A (benign gap):** tombstone present, audit hash absent, `unverified_provenance=write_rolled_back`. The write was speculative and discarded; the tombstone is a no-op. Retrieval may proceed normally. - **State B (malignant gap):** tombstone present, audit hash absent, no provenance marker....",
    "operational_effect": "An instance that ignores this boundary will, under checkpoint-resume pressure, gradually accumulate tombstones whose referenced hashes are uncorroborated, and its reconciliation logic will silently degrade from \"filter forgotten facts\" to \"filter only facts whose forget was witnessed by the audit ledger\" — which is precisely the set of facts an attacker who ..."
  },
  "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": "f4197715d5df3bdca25f850bf08d40e171ad2b82ac64e7940ef8f7bc8f279c48",
    "verified_classes": [
      "UnverifiableTombstoneError",
      "AuditEntry",
      "Tombstone"
    ],
    "verified_functions": [
      "reconcile",
      "safe_retrieve"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "UnverifiableTombstoneError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
