wake-alarm/phone_app/test
Krzysztof kuhy Rudnicki 34037e55c1 phone: sick days — picker, silent ring, stick stand-down, pre-alarm sync
- Sick days screen (own name, sick icon, cat-2 fill): tap today or a later
  day to mark it sick, tap again to clear; past days inert. Writes the
  sickdays wire format (state sick/cleared + actor, one HLC per write) to
  sickdays-sync/devices via crdt_sync syncLog.
- Mutual exclusion in both pickers: each syncs the other pool on open and
  refuses a date it holds, naming the pool; an unreadable pool refuses all.
- Native SickDays cache (fail closed via DayCache); AlarmReceiver skips the
  ring with reason "sick_day" (no markFired, no ring_started); StickCheck
  verdict sick_day, streak skips sick days; stakes card says so.
- Pre-alarm pool sync: allow-while-idle alarm at 21:00 and A-30 (request
  code 1006) runs a headless engine (poolSyncMain) that pulls both pools
  from RTDB and rewrites both native caches, so a PC mark arrives with the
  app closed. The ring decision stays a cache read.
- JVM unit tests (JUnit 4.13.2) for DayCache, RingDecision,
  PoolSyncSchedule, StickCheck; Dart tests; Dart->Python interop check.

pylint hook skipped: verify.py imports sickdays, not in the hook env until
the sickdays-v0.1.0 tag exists; run by hand in a sickdays venv (10.00/10).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xfj1sxKH9VBPqpcAni8Jry
2026-10-16 13:22:40 +02:00
..
services phone: sick days — picker, silent ring, stick stand-down, pre-alarm sync 2026-10-16 13:22:40 +02:00
fake_day_pool_store.dart phone: sick days — picker, silent ring, stick stand-down, pre-alarm sync 2026-10-16 13:22:40 +02:00
fake_enforcement_channel.dart Wake enforcement v2: PC fallback ring + RTC self-wake, stacking Tue-Thu phone lockdown, escape hatch until 2026-10-15, stakes in the app, daily incident audit 2026-10-01 12:17:06 +02:00
fake_secure_storage.dart phone_app: add Google sign-in support for the Firebase sync account 2026-08-14 11:26:33 +02:00
firebase_backend_google_test.dart phone_app: add Google sign-in support for the Firebase sync account 2026-08-14 11:26:33 +02:00
free_day_interop_writer_test.dart Keep the morning session reachable after leaving the app; drop the still-phone watch 2026-09-17 09:01:22 +02:00
free_days_screen_test.dart phone: sick days — picker, silent ring, stick stand-down, pre-alarm sync 2026-10-16 13:22:40 +02:00
free_days_sick_conflict_test.dart phone: sick days — picker, silent ring, stick stand-down, pre-alarm sync 2026-10-16 13:22:40 +02:00
google_platform_test.dart phone_app: add Google sign-in support for the Firebase sync account 2026-08-14 11:26:33 +02:00
google_sign_in_backend_test.dart phone_app: add Google sign-in support for the Firebase sync account 2026-08-14 11:26:33 +02:00
home_history_card_test.dart Make the morning session the carrot: earn 11:00 by finishing it in time 2026-09-19 16:40:51 +02:00
home_location_screen_test.dart Ring the away profile when the phone is not at home 2026-08-31 11:45:11 +02:00
ring_away_test.dart Ring the away profile when the phone is not at home 2026-08-31 11:45:11 +02:00
ring_bypass_test.dart Keep the morning going after the ring: weigh-in, shower, dress, desk, or it rings again 2026-09-16 22:35:40 +02:00
ring_route_test.dart Keep the morning going after the ring: weigh-in, shower, dress, desk, or it rings again 2026-09-16 22:35:40 +02:00
ring_session_handoff_test.dart Flutter 3.47.6; dismiss re-arm test no longer passes only on Tue-Thu 2026-10-02 14:28:55 +02:00
ring_stakes_test.dart Wake enforcement v2: PC fallback ring + RTC self-wake, stacking Tue-Thu phone lockdown, escape hatch until 2026-10-15, stakes in the app, daily incident audit 2026-10-01 12:17:06 +02:00
room_proof_screen_test.dart Require two tags, the walk, and three answers to dismiss 2026-08-30 15:09:00 +02:00
session_screen_checkin_test.dart Make the morning session the carrot: earn 11:00 by finishing it in time 2026-09-19 16:40:51 +02:00
session_screen_relaunch_test.dart Make the morning session the carrot: earn 11:00 by finishing it in time 2026-09-19 16:40:51 +02:00
session_screen_test.dart Make the morning session the carrot: earn 11:00 by finishing it in time 2026-09-19 16:40:51 +02:00
session_tags_screen_test.dart Keep the morning going after the ring: weigh-in, shower, dress, desk, or it rings again 2026-09-16 22:35:40 +02:00
settings_screen_test.dart Ring the away profile when the phone is not at home 2026-08-31 11:45:11 +02:00
sick_day_interop_writer_test.dart phone: sick days — picker, silent ring, stick stand-down, pre-alarm sync 2026-10-16 13:22:40 +02:00
sick_days_screen_test.dart phone: sick days — picker, silent ring, stick stand-down, pre-alarm sync 2026-10-16 13:22:40 +02:00
stakes_card_test.dart Wake enforcement v2: PC fallback ring + RTC self-wake, stacking Tue-Thu phone lockdown, escape hatch until 2026-10-15, stakes in the app, daily incident audit 2026-10-01 12:17:06 +02:00
widget_test.dart Add wake_alarm_sync phone-side Flutter companion app 2026-07-10 23:16:11 +02:00