mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 04:32:42 +00:00
Matches what syncVersion, syncedAt and the row stamps already do a few lines above: a key the file does not carry is a key the file predates, not a key the file says is empty. Reachable when one file addresses the same row twice, where the second entry now adds without erasing what the first one set; an explicit null still clears. Worth stating plainly, because the audit that asked for this expected it to protect live rows from an older file: it does not, and it cannot. The restore deletes the owner's whole mood partition before it rebuilds, so by the time the update arm runs there is nothing live left to protect. A test now pins that contract too, so nobody reads the omission as a guard it is not.