mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Cover the adapter end to end: an imperial seed, a guardrail projected into the display unit, a save inverted back to canonical, and a reopen that shows the number the user typed, swept across the whole editable window at the input's own step. Temperature carries the affine case, where a difference must take the factor without the offset. Assert the metric path is the exact identity rather than merely close, so a stored value cannot drift by a rounding pass. Extend the structural guard to sweep the three target and threshold surfaces, and add two tripwires: each must call the preference hook and convert through the shared adapter. Reintroducing a hardcoded unit or swapping the hook for a literal now fails the guard.