mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 13:22:14 +00:00
Reconstructs a complete, attributable ledger from the expected-slot bands + the actual intakes: every expected slot carries a status (taken_on_time / taken_late / skipped / missed / upcoming) even when never taken, and a taken intake that matches no band is emitted as a tagged ad-hoc row at its real time instead of vanishing. A taken intake attributes by its real takenAt (not the stored, possibly mis-snapped scheduledFor), so corrected bands converge forward over legacy rows with no data migration. Skipped / auto-missed / pending rows bind to their slot by anchor. Pure and instant-based. 9 tests.