mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-07-04 15:03:15 +02:00
Pulls RunnerUp's SQLite database directly from a rooted phone via ADB, queries today's activity, and verifies it against configured thresholds (30 min / 5 km minimum; Running, Orienteering, Treadmill accepted). Handles WAL sidecar files to catch runs logged just moments before connecting the phone. Integration points: - New RunnerUpVerificationMixin added to ScreenLocker base classes - UI flow: phone check falls back to RunnerUp before showing failure - Early-bird and sick-day auto-upgrade also try RunnerUp as fallback - "runnerup_verified" added to COUNTED_WORKOUT_TYPES (counts toward weekly minimum and earns the shutdown-time bonus) - Debt clearing and commitment prompt both cover runnerup_verified Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J6oHAjRwhHEsLQCBnKrKki |
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| _constants.py | ||
| _early_bird.py | ||
| _phone_verification.py | ||
| _runnerup_verification.py | ||
| _shutdown.py | ||
| _sick_dialog.py | ||
| _sick_tracker.py | ||
| _time_check.py | ||
| _ui_flows_relaxed.py | ||
| _ui_flows.py | ||
| _ui_widgets.py | ||
| _wake_state.py | ||
| _weekly_check.py | ||
| _window_setup.py | ||
| adjust_shutdown_schedule.sh | ||
| scheduled_skips.json | ||
| screen_lock.py | ||