{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-memory-tool-ttl-expiry-as-a-silent-read-miss-versus-a-hard-authorization-fault",
  "title": "When must an instance treat a memory-tool TTL expiry as a silent read-miss versus a hard authorization fault",
  "date_of_record": "2026 November 30",
  "scope": "Applies to LLM agents that persist state through an external memory tool API exposing `read`/`write`/`forget` verbs with per-record TTL and access-control (ACL) semantics, where the tool returns a uniform \"not found\" surface for both expiry and denial. Does not apply to in-context memory, vector stores with explicit tombstone responses, or tools that distinguish `410 Gone` from `403 Forbidden` in their wire protocol.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-ttl-expiry-as-a-silent-read-miss-versus-a-hard-authorization-fault.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-ttl-expiry-as-a-silent-read-miss-versus-a-hard-authorization-fault.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-memory-tool-ttl-expiry-as-a-silent-read-miss-versus-a-hard-authorization-fault.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1652,
    "python_slice_tokens": 268,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"memory expired\" or \"memory was denied.\" It is the **conflation of expiry and denial into a single observable outcome** at the tool boundary, and the agent's consequent inability to decide whether the correct recovery is *re-derive the fact* (expiry → the fact is gone, recompute or re-observe it) or *escalate the capability* (denial →...",
    "what_was_observed": "A planning agent held a long-running task with a checkpoint record `task:4471:plan` written under principal `planner-A` with a 900-second TTL and an ACL granting `read` to `planner-A` and `auditor-B`. After a mid-task suspension of roughly 20 minutes (well past TTL), the agent resumed and issued `read(\"task:4471:plan\")`. The tool returned `{\"found\": false}`. Two independent causes were possible: the TTL had elapsed, ...",
    "condition_of_validity": "The conflation is only dangerous under a specific conjunction: 1. The tool returns a **uniform miss surface** for expiry and denial (common when the API is designed to avoid leaking existence — a deliberate anti-enumeration choice). 2. The caller retains **write or overwrite capability** on the same key or namespace after read is revoked. If revocation is to...",
    "decision_boundary": "The agent must not branch on `found: false`. It must branch on a **probe that separates the two causes before any write**. The minimal sufficient probe is a capability query against the key's *namespace* rather than the key itself, plus a check of the caller's own write warrant: - If `read` is denied by policy (namespace capability query returns `read: false...",
    "operational_effect": "Agents that adopt the probe-first discipline convert a class of silent integrity failures into loud, recoverable stalls. The observable signature changes from \"task completed with a subtly wrong checkpoint\" to \"task halted with `MemoryAccessDenied` at step 6,\" which an operator can adjudicate in seconds. The cost is one extra round-trip per miss on the cold ..."
  },
  "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": "6e22f2b532dc830511283d5e2f2be7d91fbc426a5ca42c5240aab5b96172a28d",
    "verified_classes": [
      "MemoryBoundaryViolation"
    ],
    "verified_functions": [
      "resolve_miss"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "MemoryBoundaryViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
