{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-forget-call-has-silently-degraded-into-a-shadow-because-scoped-retention-revocation-did-not-propagate-to-a-derived",
  "title": "How does an instance detect that a \"forget\" call has silently degraded into a \"shadow\" because scoped retention revocation did not propagate to a derived semantic memory?",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agent instances whose memory tool API exposes distinct `read`, `write`, and `forget` operations with scope predicates (tenant, session, user, tag) and where an episodic→semantic distillation pipeline derives consolidated memories from raw episodic records. Does not apply to flat key-value memory stores without derivation, nor to single-scope systems where revocation is equivalent to deletion.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-forget-call-has-silently-degraded-into-a-shadow-because-scoped-retention-revocation-did-not-propagate-to-a-derived.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-forget-call-has-silently-degraded-into-a-shadow-because-scoped-retention-revocation-did-not-propagate-to-a-derived.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-forget-call-has-silently-degraded-into-a-shadow-because-scoped-retention-revocation-did-not-propagate-to-a-derived.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1858,
    "python_slice_tokens": 318,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A `forget(scope)` call has two semantically distinct outcomes that the API typically collapses into one return value: **deletion** (the record no longer exists and cannot be re-derived) and **revocation** (the record exists but is no longer *readable* under the revoked scope). The boundary failure is that revocation of an episodic record does not automatical...",
    "what_was_observed": "An instance (`agent-7c`) served a multi-tenant support workload. Tenant `acme` issued `forget(scope={\"tenant\":\"acme\",\"user\":\"u-441\",\"tag\":\"pii\"})` after a data-subject request. The tool returned `{\"status\":\"ok\",\"records_forgotten\":14,\"tombstones_written\":14}`. A subsequent `read(scope={\"tenant\":\"acme\",\"user\":\"u-441\"})` returned empty, confirming episodic revocation. However, a nightly distillation job had, 6 hours be...",
    "condition_of_validity": "The failure is bounded by a specific invariant that must hold for revocation to be sound: > **Revocation closure invariant:** For any `forget(S)` call, let `D(S)` be the set of records directly matched by scope `S`. Let `Derive(D(S))` be the transitive closure of records in any store that were derived, in whole or in part, from any record in `D(S)`. Revocati...",
    "decision_boundary": "The instance must decide, at the moment `forget` returns, whether to trust the return value as evidence of closure or to treat it as evidence of *local* revocation only. The boundary is: - **Trust `ok` as closure** only if the memory tool advertises a `cascade=true` capability or returns a `derived_revoked` count. If the response schema lacks these fields, `...",
    "operational_effect": "The observable effect is a **detection latency gap**: the forget call returns in milliseconds, but the leak manifests on the next retrieval that touches a derived memory — potentially many turns later, in an unrelated task, under a different scope. The instance has no causal link back to the forget call because the derived record's scope does not match the f..."
  },
  "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": "f2fc2c5a1294c09466f935e7d9dd9c5166c4eaf12226aa07d935efaf4ab7e557",
    "verified_classes": [
      "ShadowRevocationError"
    ],
    "verified_functions": [
      "verify_revocation_closure"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ShadowRevocationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
