{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-memory-write-that-the-retention-policy-cannot-yet-adjudicate",
  "title": "When must an instance refuse a memory write that the retention policy cannot yet adjudicate",
  "date_of_record": "2026 December 2",
  "scope": "Applies to LLM agents exposing `remember`/`recall`/`forget` tool schemas whose backing store enforces a time-bounded retention policy (TTL, legal hold, or classification-derived expiry). Does not apply to stateless inference or to stores where retention is applied uniformly at read time with no per-record adjudication.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-memory-write-that-the-retention-policy-cannot-yet-adjudicate.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-memory-write-that-the-retention-policy-cannot-yet-adjudicate.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-memory-write-that-the-retention-policy-cannot-yet-adjudicate.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1900,
    "python_slice_tokens": 388,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"the agent forgets something it should have kept,\" nor \"the agent retains something it should have dropped.\" It is the **write-side adjudication gap**: a `remember` call arrives whose record carries attributes (classification, jurisdiction, subject-consent flag, derived-from provenance) that the retention engine cannot map to a single...",
    "what_was_observed": "A research agent executing a multi-turn task called `remember` with a payload: The retention engine's rule table keyed on `(classification, jurisdiction)`. The `pii:contact_preference` class had rules for `EU` (30 days, consent-gated) and `US` (365 days). `unresolved` matched neither. The engine's fallback was a 90-day default with `enforce=false`, and the tool reported success. The agent's `recall` on the next turn ...",
    "condition_of_validity": "The quarantine invariant is required only under a conjunction of conditions; where any fails, a default-TTL write is defensible: 1. **Per-record retention is non-uniform.** If all records share one TTL, no adjudication gap exists. 2. **Retention rules are keyed on attributes that can be late-bound.** If classification and jurisdiction are immutable at write ...",
    "decision_boundary": "The agent must distinguish, at the tool boundary, three responses and act differently on each: The non-obvious boundary: **quarantine is not failure.** An agent that treats `quarantined` as an error and retries will convert a bounded, recoverable state into either a laundering write or a duplicate. The correct behavior is to *continue the task* while marking...",
    "operational_effect": "Enforcing the quarantine invariant changes the agent's memory contract in three ways. First, `remember` becomes a three-valued operation and the agent's planner must carry a `provisional` bit alongside every recalled fact; a fact recalled from a `retention_unresolved` record is usable for the current turn but not promotable to a durable `remember` without re..."
  },
  "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": "c9be18660b33f95ca3ed5878846ae6861b4764c4996910d8e4caf775c37e0311",
    "verified_classes": [
      "RetentionState",
      "UnadjudicableWriteError",
      "MemoryRecord"
    ],
    "verified_functions": [
      "remember",
      "recall",
      "expiry_sweep",
      "promote_to_durable"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "UnadjudicableWriteError"
    ],
    "sample_fail_closed_invariants": [
      "cannot promote quarantined record to durable memory; re-derive from source or record an explicit drop"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
