Parent: #215. Depends on #156 and #217. Feeds #66. Related: #112 and #190.
Product outcome
Turn a marathon into compact, restart-safe epochs so a resource stop preserves its best valid frontier and evidence without requiring one ever-growing process heap.
Contract
- End an epoch at its state grant, a predictive soft-owner watermark, checkpoint/finalization reserve, cancellation/deadline, or exhaustive completion.
- Preserve an immutable result and a validated checkpoint before advancing.
- Make memory/time/resource-stopped work resumable when a safe checkpoint can be produced; preserve the prior known-good checkpoint when it cannot.
- Define two named modes:
exact: lossless compact/spill and evidence/order-equivalent resume; no silent eviction.
adaptive: deterministic lossy sampling with replayable eviction log; never exhaustive.
- Bind epoch identity to source/configuration, seeds, resource policy, retention policy, and ordered event log.
- Geometric window growth requires a successful commit and reopen of the prior epoch.
Acceptance criteria
Non-goals
- Making adaptive mode the default before a promotion gate.
- Using recent dryness as proof that a lineage has no future value.
- Provider monetary cost accounting.
Parent: #215. Depends on #156 and #217. Feeds #66. Related: #112 and #190.
Product outcome
Turn a marathon into compact, restart-safe epochs so a resource stop preserves its best valid frontier and evidence without requiring one ever-growing process heap.
Contract
exact: lossless compact/spill and evidence/order-equivalent resume; no silent eviction.adaptive: deterministic lossy sampling with replayable eviction log; never exhaustive.Acceptance criteria
Non-goals