wake-alarm/wake_alarm
Krzysztof kuhy Rudnicki 9250db4cc1
Some checks failed
dependency freshness / dependencies on newest stable (push) Has been cancelled
md-naming / markdown naming convention (push) Has been cancelled
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Has been cancelled
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Has been cancelled
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint,free-days-interop) (push) Has been cancelled
Tests / test (push) Has been cancelled
Tests / free-days-interop (push) Has been cancelled
release-apk / release (APK) (push) Has been cancelled
repo-contract / repo contract (push) Has been cancelled
E2E-encrypt the published alarm record
The phone pushes alarm.json sealed under wake-alarm-sync/devices-e2e
(Argon2id key from the shared crdt-sync passphrase, keystore + lock
icon in Settings). The PC reads it through open_encrypted_client on
both Firebase and the GitHub mirror (now via GitHubSyncClient); no or
wrong passphrase reads as nothing published, never plaintext. The old
plaintext prefix is copied once per process, never deleted.

crdt-sync 0.11.0, crdt_sync_dart 0.14.1, crdt_sync_flutter 0.8.1,
sync_settings_ui 0.8.2, freedays 0.4.2, sickdays 0.5.3. install.sh
now fails if crdt_sync/pynacl/argon2 do not import.

Todo: fda71ed1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 10:30:27 +01:00
..
tests E2E-encrypt the published alarm record 2026-11-12 10:30:27 +01:00
__init__.py Add tests and fix pre-commit issues across all projects 2026-04-12 20:45:24 +02:00
_alarm_payload.py Stop trusting an alarm the phone published months ago 2026-08-30 16:37:13 +02:00
_audit_checks.py wake_alarm: sick days stand the PC down (fallback ring, RTC wake, trigger, workday penalty) 2026-10-16 08:45:29 +02:00
_audit_evidence.py wake_alarm: sick days stand the PC down (fallback ring, RTC wake, trigger, workday penalty) 2026-10-16 08:45:29 +02:00
_audit_sources.py 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
_audit_stick.py wake_alarm: sick days stand the PC down (fallback ring, RTC wake, trigger, workday penalty) 2026-10-16 08:45:29 +02:00
_audit.py PC: sick days stand the alarm down only when it is not kept 2026-10-16 15:13:23 +02:00
_cli_modes.py 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
_constants.py E2E-encrypt the published alarm record 2026-11-12 10:30:27 +01:00
_energy.py Make the morning session the carrot: earn 11:00 by finishing it in time 2026-09-19 16:40:51 +02:00
_enforcement_payload.py 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
_enforcement_records.py 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
_escapes.py 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
_events.py 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
_fallback_latch.py 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
_fallback_observe.py PC: sick days stand the alarm down only when it is not kept 2026-10-16 15:13:23 +02:00
_fallback_policy.py wake_alarm: sick days stand the PC down (fallback ring, RTC wake, trigger, workday penalty) 2026-10-16 08:45:29 +02:00
_fallback_ring.py 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
_fallback.py PC: sick days stand the alarm down only when it is not kept 2026-10-16 15:13:23 +02:00
_field_reader.py Make the morning session the carrot: earn 11:00 by finishing it in time 2026-09-19 16:40:51 +02:00
_log_dedupe.py Grade against 3.14 too, not just run on it 2026-08-29 11:39:33 +02:00
_log_sink.py Phase 1: structured JSONL logging with cross-process dedupe 2026-08-26 23:00:08 +02:00
_logging_setup.py Phase 1: structured JSONL logging with cross-process dedupe 2026-08-26 23:00:08 +02:00
_pc_wake_mode.py 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
_ring_player.py 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
_ring_wav.py 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
_rtc_hw.py 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
_rtc.py PC: sick days stand the alarm down only when it is not kept 2026-10-16 15:13:23 +02:00
_session_legs.py Retry session refresh; sign next_step 2026-11-07 08:12:01 +01:00
_session_payload.py Retry session refresh; sign next_step 2026-11-07 08:12:01 +01:00
_session_policy.py Retry session refresh; sign next_step 2026-11-07 08:12:01 +01:00
_session_strip.py Make wake-alarm text-free (textgate-rework) 2026-11-11 12:45:10 +01:00
_session.py Retry session refresh; sign next_step 2026-11-07 08:12:01 +01:00
_sick.py PC: sick days stand the alarm down only when it is not kept 2026-10-16 15:13:23 +02:00
_state.py Retire the PC's waking role; keep the trigger 2026-08-30 15:24:02 +02:00
_strip_pips.py Make wake-alarm text-free (textgate-rework) 2026-11-11 12:45:10 +01:00
_sync_transport.py E2E-encrypt the published alarm record 2026-11-12 10:30:27 +01:00
_sync.py Earned ramp: a dismissed Mon/Fri/Sat/Sun morning earns the minute; workdays hold, misses and free days earn nothing; workdays from freedays 0.3.0 2026-09-27 20:13:22 +02:00
_trigger.py PC: sick days stand the alarm down only when it is not kept 2026-10-16 15:13:23 +02:00
_weight.py Make the morning session the carrot: earn 11:00 by finishing it in time 2026-09-19 16:40:51 +02:00
_workday_penalty.py PC: sick days stand the alarm down only when it is not kept 2026-10-16 15:13:23 +02:00