Skip to content
pi-c View Ticket
Login

View Ticket

keel-lapse: move lapse compaction out of core into a hook (first proof)

Closedd31aed37ab0de6b667a670d367e7cbedd37f84f1Created 9.4 days agoUpdated 8.5 days ago
Description2026-11-21 13:36:56
Part of keel; cheapest proof of the principle. Lapse compaction's trigger policy (cache lifetime, floor, idle seconds; src/loop.c:1859 and 1899, src/provider_http.c:341) becomes a bundled component behind a hook/seam; core keeps the mechanism (journaling the compaction decision before it acts, recovery never re-asks). Behaviour and settings unchanged for users; tests prove core passes the crash suite with the component absent. Principles: https://artifacts.craftdesign.group/v/7AcFU37QOBvcGyD3TEMpp#8b97a2dfe17cd12d8d19f2b890bd60dc80e77ed6cfa7b22a13851a27c01d9630
2026-11-22 12:24:32

Landed in #86 (trunk 41ba9ae7c70d): core asks the compaction component once before each request (PreRequest), journals the answer and enforces it; summary-free trim is the lapse default, measured by the holdout; tiers check 5 links core alone (ci/tiers.stubs); allowance 30 to 29.