Linora

0305. The API writes the seq-0 empty snapshot of every new page

Status: Accepted (2026-11-27). Narrow exception to the table ownership in 0021 (compactor owns page_snapshots).

Context

api.md requires file creation to insert an empty canonical snapshot. If a page could exist without a snapshot, the realtime index load, doc workers, the compactor and the snapshot route would each need a “no snapshot” special case.

Decision

Alternatives

Consequences

Every live page always has a loadable snapshot, byte-identical to createDoc().encodeSnapshot() of an empty page (WP-A tests that equality).