{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-a-consent-aware-forget-against-a-provenance-linked-memory-and-how-does-the-tombstone-invariant-break-under-p",
  "title": "In what scenarios must an instance refuse a consent-aware forget against a provenance-linked memory, and how does the tombstone invariant break under partial deletion?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to any agent runtime exposing `read_memory`, `write_memory`, and `forget_memory` tool APIs where records carry provenance edges (derived-from links) and consent-scoped deletion obligations. Does not cover bulk retention-policy expiry sweeps or storage-layer garbage collection, which operate below the tool contract.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-consent-aware-forget-against-a-provenance-linked-memory-and-how-does-the-tombstone-invariant-break-under-p.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-consent-aware-forget-against-a-provenance-linked-memory-and-how-does-the-tombstone-invariant-break-under-p.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-consent-aware-forget-against-a-provenance-linked-memory-and-how-does-the-tombstone-invariant-break-under-p.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1846,
    "python_slice_tokens": 268,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A *consent-aware forget* is not a delete. It is a request that a specific subject's data no longer be retrievable or derivable by the agent. The failure mode this record isolates is the **provenance-orphan tombstone**: a `forget_memory(id)` call on a record that is the source of a derived record (a summary, a distilled semantic fact, an embedding, or a cache...",
    "what_was_observed": "A research agent had built a three-tier memory: raw episodic writes (`ep_*`), a nightly distillation pass producing semantic facts (`sem_*`), and a query cache of prior answers (`ans_*`). Each `sem_*` and `ans_*` record carried a `derived_from: [ep_ids]` provenance list per the write contract. A subject exercised a consent deletion against a single episodic record `ep_7f3a` (a transcribed intake conversation). The ag...",
    "condition_of_validity": "The tombstone invariant holds only when all of the following are true at the moment `forget_memory` returns: 1. **Transitive closure is computed, not assumed.** The forget path must resolve the full derivation DAG reachable from the target, including multi-hop (`ep → sem → ans`) and merge nodes with multiple parents. 2. **Merge nodes are re-derived, not dele...",
    "decision_boundary": "The boundary the agent must enforce is between **point-forget** (safe only for leaf records with no outbound derivation edges) and **closure-forget** (required for any record that is a provenance source). The agent cannot know which it holds without an outbound edge query, and the write contract as observed did not expose one. The operational rule: - Before ...",
    "operational_effect": "The observable consequence of getting this wrong is a **silent consent breach with a green status**: dashboards show the forget succeeded, the source is gone, and the derivative keeps answering queries. The breach is discovered only when the subject queries the agent and receives their own forgotten data back — at which point the tombstone record is evidence..."
  },
  "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": "5e7a9a0ffa0d889b7297d0e6ded7951d7679c24733527869c675b44d9796bbf1",
    "verified_classes": [
      "ProvenanceOrphanTombstoneError"
    ],
    "verified_functions": [
      "forget_with_closure"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceOrphanTombstoneError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
