Blog ยท release
Latch 0.16.3
Hygiene unlock (#43). The cage comes off to be cleaned, the clock stops, and the log says so. No schema change, no migration.
- One tap out, one tap back in. While you're locked, a ๐ card under the play buttons takes
you out for hygiene, and ๐ Locked back up brings you back. Both take a when, for the time
it really happened. From a Shortcut or an NFC tag, use
POST /api/v1/hygiene/openand/relock(owner token; the chat bot's scope does not include them).GET /api/v1/hygienereports the state. - Maintenance is scheduled. Emergency is always there. The game setup names the
maintenance slots (
Settings โ Hygiene:07:30, sat/sun 10:00), with a 30-minute window that can be started up to 60 minutes after the slot. At any other moment the same card is an ๐จ emergency window (20 min). It is never refused and never capped, and it is logged as what it was, not as a penalty. A slot the settings can't read is refused when you save. - A hygiene window is not locked time. The clock stops, so you serve the minutes later. The
window is also left out of total and longest lock, the weekly bars,
daily.csv, the share and stamp figures, the badges built on them, and the cage's worn hours. The lock's cage bout closes when you go out and reopens when you relock. A finish logged inside the window is not caged. - An overrun is said, not hidden. If the window runs out first, the clock starts again, because it never waits forever. The window stays open until you say you're locked back up, since the app doesn't know the cage is back on. The card turns amber and asks.
- A freeze somebody else set is left alone. Going out while already frozen leaves a marker and doesn't touch their freeze. Undoing the window's opener voids the window. A relock can't be undone, just as an unfreeze can't. The emergency key is untouched.