mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 05:42:19 +00:00
The six measurement routes carried eight copy-pasted rollup-recompute + status-invalidate blocks — the documented two-ended failure class waiting for the next surface to remember one leg and forget the other. All of them now call afterMeasurementMutation (the helper the deletion fix introduced), and the two write surfaces that bypassed the hook entirely join it: the nightly Recovery/Stress/Strain score rows and the PHQ-9/GAD-7 assessment projection now recompute their (type, day) bucket on the tick that writes them.