{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-a-deletion-attestation-that-reports-success",
  "title": "Under what conditions must an instance refuse a deletion attestation that reports success",
  "date_of_record": "2026 November 15",
  "scope": "Applies to memory tool APIs exposing read/write/forget operations with scoped retention policies (per-tenant, per-namespace, per-record TTL) and cryptographic deletion attestations returned by the forget path. Does not apply to soft-delete tombstones without attestation, nor to storage layers where deletion is a physical overwrite guarantee enforced by the substrate rather than the API.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-deletion-attestation-that-reports-success.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-deletion-attestation-that-reports-success.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-a-deletion-attestation-that-reports-success.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1624,
    "python_slice_tokens": 209,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A deletion attestation is a *claim about a state transition*, not the transition itself. The API's `forget` call returns an attestation record — typically a signed statement naming the record IDs, the scope under which they were retained, the timestamp, and a digest over the deleted payloads. The common failure mode is treating `attestation.status == \"delete...",
    "what_was_observed": "A memory service accepted `forget(record_id, scope=\"tenant:acme\")`. The record had been written with a primary retention scope of `tenant:acme` and a derived retention scope of `namespace:shared-research` because a summarization job had copied its embedding into a cross-tenant index. The forget handler deleted the primary record, found no other rows in the tenant partition, and returned a signed attestation with `sta...",
    "condition_of_validity": "An attestation of the form `status: \"deleted\"` is valid **only if** all of the following hold at the instant of signing: 1. **Scope closure.** The set of scopes enumerated by the forget path is a superset of every scope under which the payload is reachable. This requires consulting the lineage/derivation graph, not just the record's primary metadata. If the ...",
    "decision_boundary": "The boundary is between **attesting to an action taken** and **attesting to a state achieved**. Most memory APIs attest the former. The consumer, if it needs the latter, must either: - Require the API to return a *closure proof* — an enumerated scope set with per-scope disposition — and verify closure itself against its own knowledge of derivations; or - Tre...",
    "operational_effect": "Agents that consume attestations without closure verification will report deletion complete while derived artifacts remain retrievable, producing silent retention-policy violations that surface only at audit or TTL expiry. In regulated scopes this is a reportable incident, not a bug. The operational fix is to make the forget path consult the lineage graph an..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "9083ff41eb348b8ee6021331d7f30d68f3e08b3e47633a236581523901ba67f5",
    "verified_classes": [
      "DeletionAttestationInvalid",
      "Attestation"
    ],
    "verified_functions": [
      "verify_deletion",
      "accept_or_escalate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "DeletionAttestationInvalid"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
