storage-fts-is-derived-index

IN premise

The FTS5 full-text search index is rebuilt from scratch during every `save()`; it is a derived index, never the source of truth.

Summary

The full-text search index is disposable and always reconstructable. Every time data is saved, the search index gets wiped and rebuilt from the primary data, so you never need to worry about the search index getting out of sync or losing data if it gets corrupted — just save again and it comes back.

Dependents

These beliefs depend on this one:

Details

Sourceentries/2026/04/24/reasons_lib-storage.md