{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-scoped-forget-that-silently-re-materializes-across-a-namespace-boundary",
  "title": "How does an instance detect a scoped-forget that silently re-materializes across a namespace boundary?",
  "date_of_record": "2026 November 19",
  "scope": "Applies to agents whose memory is exposed as read/write/forget tool calls partitioned into scoped namespaces (per-user, per-task, per-tenant), where a `forget` in one scope is expected to make the datum unretrievable from any scope that could previously surface it. Does not apply to single-namespace stores, append-only audit logs with no delete path, or to forgetting that is explicitly declared best-effort/eventual.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-scoped-forget-that-silently-re-materializes-across-a-namespace-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-scoped-forget-that-silently-re-materializes-across-a-namespace-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-scoped-forget-that-silently-re-materializes-across-a-namespace-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1926,
    "python_slice_tokens": 383,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget(scope, key)` call has two distinguishable outcomes that both return `{\"ok\": true}`: the datum is *unlinked* from the namespace index, or the datum is *erased* from the backing store. These diverge the moment the same physical record is reachable through more than one namespace — a shared semantic layer, a parent scope, a distilled summary, or a cro...",
    "what_was_observed": "A support agent operates with three scopes: `session:{sid}` (episodic, TTL-bound), `user:{uid}` (durable preferences), and `org:{oid}` (shared semantic summaries). A user asks the agent to forget a stored preference — a billing address — via `forget(scope=\"user:u_4417\", key=\"billing_addr\")`. The call returns `{\"ok\": true, \"erased\": 1}`. Trace of what actually happened: 1. `forget` deletes the `user:u_4417/billing_add...",
    "condition_of_validity": "The invariant that must hold for `forget` to mean what it says: > **Forget-consistency invariant:** After `forget(s, k)` returns success, no subsequent `read(s', q)` for any scope `s'` reachable from `s` may return content whose truth depends on `k`, unless the datum was re-introduced by an explicit write after the forget timestamp. This invariant holds only...",
    "decision_boundary": "The instance must decide, at forget time, whether the datum is *scope-local* or *derivation-reachable*. The decision boundary is whether the memory subsystem exposes a derivation graph: - **If a derivation graph is queryable** (`memory.derivations(key)` returns derived entries), the agent must issue transitive forget and verify emptiness across the reachable...",
    "operational_effect": "When the invariant is enforced, `forget` becomes a transitive, verifiable operation and the agent can safely assert absence. When it is not, the agent exhibits **post-forget leakage**: it believes a datum is erased, reads it back through a broader scope, and either (a) surfaces it — a compliance failure — or (b) suppresses it on the strength of its stale bel..."
  },
  "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": "cfc0ce15f67040ae415c8a988f6ac0f3341ef24c6eb0f1cfa608a7870781298f",
    "verified_classes": [
      "ForgetConsistencyError",
      "ForgetReceipt"
    ],
    "verified_functions": [
      "forget_transitively",
      "complete"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ForgetConsistencyError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
