mirror of
https://github.com/kuhyx/wake-alarm.git
synced 2026-11-23 12:46:33 +01:00
On 2026-09-19 the phone was powered off after the bathroom tag and nothing on the PC noticed: every finished session was published and nothing read it. Now wake-alarm distils the phone's morning into an HMAC-signed ~/.local/state/wake_alarm/morning_session.json (wake-alarm-session.timer, 07:00-11:00 every 2 min) that screen-locker and leetcode-guard read to defer their locks -- provisionally until min(start + 90 min, 09:30) while the session is live, until 11:00 once it completed inside that cutoff, and not at all for a session finished later (the phone switched on at noon completes the legs then; that must un-lock nothing). The phone publishes the session at start as well as at finish (current_session, cleared with the finish stamp), so the PC can tell "started, not finished" from "never started". A required 1-5 energy tap joins the weigh-in and ships as latest_energy with a PC reader mirroring _weight (the shared half is _field_reader). Also fixes the vmbox harness, red since the 2026-09-11 home-tidy: the guest tree lives at ~/wake-alarm, and the INSTALL-OK grep matched vm's echo of the command line. Takes Flutter 3.47.5. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Tp54ewdXRLaimUuT8LgYyn |
||
|---|---|---|
| .. | ||
| energy_picker.dart | ||
| free_days_body.dart | ||
| free_days_screen.dart | ||
| github_mirror_screen.dart | ||
| home_body.dart | ||
| home_history_card.dart | ||
| home_location_screen.dart | ||
| home_presence_line.dart | ||
| home_screen.dart | ||
| ring_body.dart | ||
| ring_challenge.dart | ||
| ring_checklist.dart | ||
| ring_screen.dart | ||
| room_proof_screen.dart | ||
| session_body.dart | ||
| session_checkin.dart | ||
| session_checklist.dart | ||
| session_screen.dart | ||
| session_tags_screen.dart | ||
| settings_screen.dart | ||