diff --git a/DOCS-sick-days.md b/DOCS-sick-days.md index 429435f..e5ea572 100644 --- a/DOCS-sick-days.md +++ b/DOCS-sick-days.md @@ -92,8 +92,8 @@ sync runs between A and the session's end anyway. `test/services/today_stakes_sick_test.dart`. - Kotlin (JVM, `android/app/src/test`): `DayCacheTest`, `RingDecisionTest`, `PoolSyncScheduleTest`, `StickCheckSickTest`. Run with - `cd phone_app/android && ./gradlew :app:testDebugUnitTest` (needs - `local.properties` with `flutter.sdk=/opt/flutter`). + `cd phone_app/android && ./gradlew :app:testDebugUnitTest`, after one + `flutter build apk` has written `gradlew` and `local.properties`. - Cross-language: `phone_app/scripts/sick_days_interop/check.sh` writes a pool through Dart and reads it with `sickdays` (Python), failing on any disagreement. Needs `SICKDAYS_PYTHON` or the sickdays venv. diff --git a/DOCS-wake-enforcement.md b/DOCS-wake-enforcement.md index ee19151..f973b3e 100644 --- a/DOCS-wake-enforcement.md +++ b/DOCS-wake-enforcement.md @@ -119,10 +119,10 @@ shown comes from Dart constants mirrored against the Python ones by ### Event names Phone (`phone_events.kind`): `alarm_fired` (data: `reason` = -`daily`|`rering`|`free_day` — only `daily` is the morning's ring), +`daily`|`rering`|`free_day`|`sick_day` — only `daily` is the morning's ring), `ring_screen_opened`, `ring_started_published` (data: `date`, `source` = `alarm`|`ring_screen`), `dismissed`, `stick_check` (data: `trigger` = -`exact`|`boot`|`watchdog`, `date` judged, `verdict`), `lockdown_sent` (data: +`exact`|`boot`|`watchdog`, `date` judged, `verdict`, incl. `free_day`|`sick_day`), `lockdown_sent` (data: `until`, `streak`), `lift_sent`, `escape_used`, `boot`. `ring_started` is published twice over: a headless Dart engine started by