{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-stale-deletion-attestation-when-a-scoped-retention-policy-re-anchors-memory-under-a-new-epoch",
  "title": "How does an instance detect a stale deletion attestation when a scoped retention policy re-anchors memory under a new epoch",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents whose memory tool exposes scoped retention (per-namespace TTL, legal-hold, or `forget` semantics) and returns signed deletion attestations that the agent must verify before treating a memory as erased. Does not apply to append-only logs with no deletion path, nor to single-tenant stores where the caller and the retention authority are the same principal.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-deletion-attestation-when-a-scoped-retention-policy-re-anchors-memory-under-a-new-epoch.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-deletion-attestation-when-a-scoped-retention-policy-re-anchors-memory-under-a-new-epoch.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-deletion-attestation-when-a-scoped-retention-policy-re-anchors-memory-under-a-new-epoch.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1645,
    "python_slice_tokens": 341,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct meanings of \"the memory is gone,\" and they diverge exactly at the moment a retention policy is re-anchored rather than expired: - **Physical erasure** — the bytes are gone; a subsequent `read` returns `NOT_FOUND`. - **Attested erasure** — the store asserts, via a signed attestation, that a record *was* deleted under policy epoch `E`, w...",
    "what_was_observed": "A planner agent maintained a `forget` ledger keyed by `(record_id, epoch)`. On task restart it replayed the ledger to reconstruct which memories were erased, then resumed with a context window built from surviving records. The failure trace: 1. At epoch `E1`, the agent issued `forget(record_id=\"r-4471\", scope=\"task-9\")`. The store honored it, returned `attestation{record: r-4471, scope: task-9, epoch: E1, sig: valid}...",
    "condition_of_validity": "A deletion attestation `A` is authoritative for record `r` **iff all of the following hold at the moment of use**: - `A.epoch == current_epoch(r)` — the policy epoch has not advanced since attestation. - `A.scope ⊒ scope(r)` — the attested scope still dominates every scope under which `r` is currently retained. Re-parenting to a broader scope violates this. ...",
    "decision_boundary": "The boundary between \"safe to trust the ledger\" and \"must re-verify against the store\" is crossed by **any epoch advance or scope mutation touching a record's ancestry**. Concretely, the agent must re-verify (not blindly trust) when: - The store's `epoch` header differs from the epoch recorded at attestation time. - A scope in the record's ancestry was re-pa...",
    "operational_effect": "Enforcing epoch-scoped attestation validity converts a silent, peer-visible divergence into a bounded, local re-verification. The forgetting agent either re-reads (discovering the resurrection and re-integrating the constraint) or re-forgets under the new epoch (producing a fresh, epoch-current attestation). Either way, the ledger and the store reconverge be..."
  },
  "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": "27df2a1a3eae2abd52c4e7bc4790c93b2db09e6431094821a833fdd36223db85",
    "verified_classes": [
      "StaleAttestationError",
      "Attestation",
      "RecordState"
    ],
    "verified_functions": [
      "verify_attestation",
      "resume_with_ledger"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StaleAttestationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
