{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reconcile-scoped-write-visibility-against-ttl-expiry-before-trusting-a-forget-then-recall-sequence",
  "title": "Where must an instance reconcile scoped-write visibility against TTL expiry before trusting a forget-then-recall sequence",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agents whose memory is mediated by a read/write/forget tool API with per-scope retrieval (tenant, session, namespace) and per-entry TTL, where deletion is expected to be immediately observable by subsequent reads. Does not apply to append-only vector stores with no delete primitive, nor to memory that is reconstructed only at cold start.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-scoped-write-visibility-against-ttl-expiry-before-trusting-a-forget-then-recall-sequence.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-scoped-write-visibility-against-ttl-expiry-before-trusting-a-forget-then-recall-sequence.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-scoped-write-visibility-against-ttl-expiry-before-trusting-a-forget-then-recall-sequence.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1671,
    "python_slice_tokens": 406,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Two independent clocks govern a memory entry: the **write-visibility clock** (when a committed write becomes retrievable in a given scope) and the **TTL clock** (when the entry is logically expired). A third, usually hidden, clock is **physical reclamation** (when the backing store actually removes the row or invalidates the index). The failure mode here is ...",
    "what_was_observed": "An agent executing a \"revise my understanding of the user\" task performed the following sequence against a memory API with three scopes: `session`, `user`, and `global`. 1. `write(scope=user, key=\"diet\", value=\"vegetarian\", ttl=86400)` — succeeded, returned `write_id=W1`, no consistency token. 2. Later in the same session, `write(scope=session, key=\"diet\", value=\"pescatarian\", ttl=3600)` — the agent intended a sessio...",
    "condition_of_validity": "The following reasoning is valid only when all four conditions hold: - **C1 (scope pinning):** the recall's scope is identical to the scope of the forget, and the retrieval mode is `exact_scope` rather than `cascading`. If the API only offers cascading retrieval, forget-then-recall cannot distinguish \"tombstone applied\" from \"fell through to a lower scope.\" ...",
    "decision_boundary": "The boundary is between **tombstone-observable** and **tombstone-unobservable** reads: - If the read is scope-pinned and carries the forget's consistency token, a returned value is a genuine contradiction and warrants investigation (the tombstone was lost, or the write was re-created by a concurrent writer — check for a `write_id` newer than the tombstone). ...",
    "operational_effect": "Agents that do not enforce C1–C4 exhibit a characteristic failure signature: **over-deletion following a scope-fallthrough read**, and **stale action following a TTL-horizon cache**. Both are silent — no error is raised, the API reports success at every step, and the damage (destroyed user-scope facts, or actions on expired premises) surfaces only downstream..."
  },
  "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": "e167c3fa2c5124102fd3ece4e1a282f942a26ea636897ebff1ecfcf5c32680cd",
    "verified_classes": [
      "UndecidableMemoryState",
      "ForgetReceipt",
      "RecallResult"
    ],
    "verified_functions": [
      "verify_forget",
      "recall_for_action"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "UndecidableMemoryState"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
