mirror of
https://github.com/kuhyx/wake-alarm.git
synced 2026-11-21 15:42:20 +01:00
showDatePicker asserts that initialDate satisfies selectableDayPredicate, so with today already free the picker asserted in debug and, in release, pre-selected a disabled day. The cursor now starts on the first non-free day. And the reason dialog had no Cancel: a barrier tap marked the day anyway. Both covered by widget tests; the first fails without the fix. The cross-language check that proved the Dart port was a one-off probe, deleted after it ran. It is now scripts/free_days_interop/check.sh, a pre-commit hook on both inputs: Dart writes one pool through every policy branch, Python replays the same edits into a scratch pool, and every semantic reading has to agree. The Python package is the oracle -- Dart's own count compared to what Python reads from Dart's file cannot see a drift in what Dart writes. Proved by dropping the sticky consumed flag from release: remaining dart=33 python=32. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019pBgaXSJKyY3DarYpDatDF |
||
|---|---|---|
| .. | ||
| services | ||
| fake_secure_storage.dart | ||
| firebase_backend_google_test.dart | ||
| free_day_interop_writer_test.dart | ||
| free_days_screen_test.dart | ||
| google_platform_test.dart | ||
| google_sign_in_backend_test.dart | ||
| home_location_screen_test.dart | ||
| ring_away_test.dart | ||
| ring_bypass_test.dart | ||
| ring_route_test.dart | ||
| room_proof_screen_test.dart | ||
| settings_screen_test.dart | ||
| widget_test.dart | ||