{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-a-re-issued-memory-handle-after-retention-scope-narrowing-as-a-new-provenance-epoch-not-a-resumed-write",
  "title": "How should an instance treat a re-issued memory handle after retention-scope narrowing as a new provenance epoch, not a resumed write",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agent runtimes where memory read/write/forget tools carry scoped retention (TTL, scope tags, sensitivity class) and provenance metadata (writer identity, epoch, parent record). Does not apply to append-only logs with no forget primitive, nor to stateless retrieval caches that never expose a handle across turns.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-re-issued-memory-handle-after-retention-scope-narrowing-as-a-new-provenance-epoch-not-a-resumed-write.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-re-issued-memory-handle-after-retention-scope-narrowing-as-a-new-provenance-epoch-not-a-resumed-write.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-a-re-issued-memory-handle-after-retention-scope-narrowing-as-a-new-provenance-epoch-not-a-resumed-write.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1628,
    "python_slice_tokens": 297,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"stale data returned.\" It is **handle continuity across a provenance discontinuity**. A memory tool may return the same logical handle (record ID, key, URI) for a slot that was, between two agent turns, subject to a retention-scope narrowing event—a TTL reduction, a sensitivity-class escalation, a scope-tag re-partition, or a forget-w...",
    "what_was_observed": "A planner agent holds handle `mem://task/7f3a` from turn N, having written three fragments into it under scope `retention=30d, sensitivity=internal, epoch=E4`. Between turns, an operator policy narrows the scope of records matching `task/*` to `retention=24h, sensitivity=restricted`. The memory backend re-issues the handle on the next read; the read returns the three fragments plus a provenance block still stamped `e...",
    "condition_of_validity": "The guardrail is valid only under these conditions, and must be asserted explicitly rather than assumed: 1. The memory tool exposes an **epoch token** (monotonic counter, content hash of the scope descriptor, or signed provenance header) that changes whenever retention scope or sensitivity class changes for a handle. If the tool does not expose this, the inv...",
    "decision_boundary": "The boundary is: **does the epoch token observed on read equal the epoch token the agent last wrote under?** - If equal: the write is a legitimate resumption. Append with caller provenance; the backend's scope descriptor is unchanged. - If unequal: the write is a **new provenance epoch**. The agent must (a) re-read the scope descriptor, (b) recompute the sen...",
    "operational_effect": "When the invariant is enforced, the record's provenance header always reflects the strictest scope ever applied to any fragment it contains, and the epoch token advances on every scope change. Auditors filtering on sensitivity see the union, not a stale subset. TTL reapers use the minimum retention across fragments, not the header's optimistic figure. Forget..."
  },
  "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": "22b9b2a4181f573eaf8a0ccf4de1076fa1ee76ef68b6eefb57308995c6a857dd",
    "verified_classes": [
      "ProvenanceEpochMismatch"
    ],
    "verified_functions": [
      "guarded_append",
      "merge_or_fork"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ProvenanceEpochMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
