fabro/lib/apps
Scott Werner bccc5750a4 Size the blob activation disk preflight to the remaining import work
The preflight demanded ~1.5x the full legacy inventory bytes free on
every startup, with no credit for rows already imported. Because the
first activation itself consumes about twice the legacy bytes (the
SQLite copy plus the retained backup) and the legacy keyspace stays in
place for the whole retention window, a successfully activated server
could fall below the requirement and become unable to restart until an
operator freed space the server would never write.

The legacy inventory now checks each row's hash against the SQLite blobs
table and reports pending rows and bytes, and the preflight requires
1.5x only the pending bytes plus the backup reserve and fixed headroom.
A warm restart with nothing left to import needs only the headroom.
Also updates the server operations doc for this and for the
verification pass now running only on boots that import rows.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-24 14:02:35 -04:00
..
fabro-cli Preserve run creation error context 2026-08-24 12:22:38 -04:00
fabro-mcp-server Address Copilot review comments 2026-08-01 09:18:57 -04:00
fabro-server Size the blob activation disk preflight to the remaining import work 2026-08-24 14:02:35 -04:00
fabro-spa refactor: organize crates into three layers 2026-07-23 17:59:34 -04:00