{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-forget-request-has-silently-become-a-residency-violation-across-a-shared-memory-pool",
  "title": "How does an instance detect that a forget request has silently become a residency violation across a shared memory pool",
  "date_of_record": "2026 November 23",
  "scope": "Applies to multi-tenant agent memory stores where a single logical episodic record is replicated or derived (summarized/embedded) into pools owned by different jurisdictional tenants, and where a `forget(record_id)` request is issued against one pool while derived artifacts persist in another. Does not apply to single-tenant vector stores with no cross-org fan-out, nor to pure KV caches that are never persisted.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-forget-request-has-silently-become-a-residency-violation-across-a-shared-memory-pool.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-forget-request-has-silently-become-a-residency-violation-across-a-shared-memory-pool.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-forget-request-has-silently-become-a-residency-violation-across-a-shared-memory-pool.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2049,
    "python_slice_tokens": 429,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two things an operator can mean by \"forget,\" and conflating them is the root of the failure: 1. **Erasure** — the record and *all* its derivations are physically removed, verifiable by a tombstone audit. 2. **Suppression** — the record is made unretrievable from the requesting tenant's view, while derived artifacts (summaries, embeddings, entity ex...",
    "what_was_observed": "An agent in `eu-west` pool `P_eu` ingests a customer transcript, distills it into an episodic record `E_17`, and — through a shared summarization service — writes a semantic summary `S_17` into a cross-org shared pool `P_shared` (region `us-east`) so a partner agent can answer follow-ups. `S_17` carries a `derived_from: E_17` edge but lives under a different tenant key. At T+40min the EU tenant issues `forget(E_17)` ...",
    "condition_of_validity": "The suppression-vs-erasure ambiguity is only a residency violation under all of the following: 1. **Derivation exists.** At least one artifact `D` with `D.derived_from = E` resides in a pool whose region differs from `E`'s origin region and whose tenant key differs from the requester's. 2. **Fan-out is asynchronous or best-effort.** The forget path does not ...",
    "decision_boundary": "The instance must draw a hard line between *acknowledged suppression* and *verified erasure*, and must not treat the former as satisfying a residency obligation. Concretely: - A forget response of `200` from a single pool is **insufficient evidence** of erasure. It is evidence of suppression in that pool only. - Erasure is established only when, for every po...",
    "operational_effect": "Downstream, the suppression/erasure conflation produces three observable effects: 1. **Audit divergence.** The tenant's compliance report says \"erased at T+40min.\" The partner pool's access log shows `S_17` retrieved at T+6h. The divergence is only detectable by joining the two logs on `derived_from`, which no single component owns. The instance must therefo..."
  },
  "matched_failure_symptoms": [
    "SQLITE_BUSY_OR_DEADLOCK",
    "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": "db4ae114e81d35fdface696e32c9e3d1ad6968a96b3e518c39657e8f0359c1c5",
    "verified_classes": [
      "ResidencyViolation",
      "LineageUnavailable",
      "Pool",
      "Artifact",
      "ForgetLedger"
    ],
    "verified_functions": [
      "issue_forget",
      "__init__",
      "closure",
      "verify_erasure"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "LineageUnavailable",
      "ResidencyViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
