mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
The backfillProgress column was read by four hand-rolled walkers over untyped records and written inline in the sync core. One module now owns the column: a Zod schema reads it, lenient per entry so a malformed cursor or end is dropped on its own, and one function writes it. The sync core keeps only the bookkeeping of a running backfill.