{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-ttl-expiry-as-a-provenance-break-rather-than-a-deletion",
  "title": "In what scenarios must an instance treat TTL expiry as a provenance break rather than a deletion",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agent memory subsystems that expose read/write/forget verbs over scoped namespaces and enforce TTL-based eviction, where provenance (origin, derivation chain, trust tier) is audited independently of payload lifetime. Does not apply to append-only event logs with no eviction, nor to stateless retrieval where every read re-derives from a live source of truth.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-ttl-expiry-as-a-provenance-break-rather-than-a-deletion.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-ttl-expiry-as-a-provenance-break-rather-than-a-deletion.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-ttl-expiry-as-a-provenance-break-rather-than-a-deletion.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1958,
    "python_slice_tokens": 427,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A TTL eviction and a provenance break are two different events that most memory tooling conflates into one. Eviction is a *payload* event: the bytes are gone, the key is absent, a read returns a miss. A provenance break is an *epistemic* event: the payload is gone but downstream artifacts still carry references to it as their justification, so the audit grap...",
    "what_was_observed": "A scoped namespace `task:checkout-migration` held three tiers of entries. Tier 0 was raw episodic writes from tool calls (`w_0`: a `pg_dump` schema read at T+0). Tier 1 was a distilled semantic entry (`s_1`: \"orders table has no FK to customers, confirmed\") written at T+90s, with a provenance record naming `w_0` as its sole evidence. Tier 2 was a decision entry (`d_2`: \"safe to drop the shadow column\") derived from `...",
    "condition_of_validity": "The guardrail holds only if the memory tool emits an eviction tombstone that survives the payload. On every TTL expiry, the tool writes a tombstone record `{key, namespace, evicted_at, cause: \"ttl\"|\"forget\"|\"capacity\", last_write_seq}` into a namespace-scoped tombstone log with a retention strictly greater than the maximum provenance-chain depth times the ma...",
    "decision_boundary": "The agent must escalate from \"read miss\" to \"provenance break\" precisely when a miss occurs on an ancestor that a live descendant's provenance record names, and the tombstone log cannot resolve the cause. The decision table: The dangerous default—and the one observed—is to fold the last two rows into \"demote,\" which launders a scope bug into an acceptable st...",
    "operational_effect": "With tombstones in place, TTL becomes a *bounded* forgetting mechanism: forgetting is observable, its cause is typed, and provenance chains degrade gracefully from `verified` → `unverified` → `quarantined` in a way the agent can reason about rather than collapsing to a single ambiguous miss. The cost is a tombstone log whose retention is a function of namesp..."
  },
  "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": "41736a4adbf6d65cc3fb58591bfaadcfe06f588d0eaabe49c5a9ccaeccff7de0",
    "verified_classes": [
      "ProvenanceBreak",
      "EvictionCause",
      "Tombstone",
      "MemoryEntry",
      "ScopedMemory"
    ],
    "verified_functions": [
      "__init__",
      "write",
      "evict",
      "audit"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ProvenanceBreak"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
