Blog · release
Latch 0.29.0
🎯 Distance orders: "ride 8 miles" (#47). Migration 31.
- An order can name a distance. Use the distance column in the training library, a distance
on a standing day ("Tuesday is bike day: 8 miles"), or the AI Handler's
assignwithmeters. A bare number is miles;13 kmand5000 msay otherwise. Only a habit timed by its own logs can carry one. With minutes as well, both must be reached. - Measured distance completes it. The watch's rides add up (6 mi + 2½ mi = 8). The habit log
form and
POST /api/v1/habits/log(distance_m) take a distance too. A bout with none measured brings no miles: not measured is never zero. - The credit table, for a distance. Under target is the ordered habit at ≥ ½ the distance. A stand-in (a walk, a yoga class) must carry the distance as minutes at your own pace: the last 90 days of measured bouts, else a starter's typical speed. With no pace known, nothing stands in. The order card shows the minutes a stand-in must carry.
- The AI Handler is refused a distance on a habit that can't carry one, never silently given a plain order.