screen-locker/screen_locker
Krzysztof kuhy Rudnicki acf69becc7 Preview a review credit by the day's registry
preview_shutdown --sequence review@HH:MM raised KeyError: the review
(ReviewEarner) joins the registry only through earners_for(day) from
REVIEW_FROM, while the sim looked names up in the static EARNERS tuple.
The sim now looks earners up in the simulated day's registry, the done
maps come from that day's flat earners, and a step that is no earner on
that day is an argparse usage error (exit 2), not a traceback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:43:07 +01:00
..
tests Preview a review credit by the day's registry 2026-11-23 13:43:07 +01:00
__init__.py Fix test discovery and coverage for python_pkg modules 2025-12-02 22:33:34 +01:00
_activity_day.py Write a progress row for a short run day 2026-11-22 18:23:46 +01:00
_adb_transport.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_armed_state.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_auto_upgrade.py Lift armed lock when carrot lands late 2026-11-07 08:11:39 +01:00
_bonus_lock.py earner-bonus: add the new modules, unit and tests missed by 7851d59 2026-10-06 20:44:01 +02:00
_carrot_watch.py Lift armed lock when carrot lands late 2026-11-07 08:11:39 +01:00
_ceiling.py Cap live bonuses at the day's ceiling 2026-11-01 20:04:14 +01:00
_cli.py Report errors and stalls to the shared board 2026-11-18 22:00:15 +01:00
_compliance_predicates.py Sick days: per-locker keep (sickdays 0.2.0) for the workout lock 2026-10-16 15:18:49 +02:00
_compliance_state.py Fix lint: hold status mirror, split tests 2026-11-03 20:46:47 +01:00
_compliance_trace.py sick days: one shared sickdays pool, 20:00 shutdown floor, one-tap lock button 2026-10-16 13:30:39 +02:00
_constants.py Judge speed over 10 s windows, keep dropouts 2026-11-10 18:36:25 +01:00
_credential_recovery.py Detect a Firebase credential the server rejects, not just one that fails to build 2026-08-27 21:32:39 +02:00
_credit_notify.py Add every credit to tonight's shutdown 2026-11-18 21:12:40 +01:00
_credit_slot.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_credit_watch.py Close the lock window when credit lands 2026-11-16 08:29:01 +01:00
_credit.py Show kuhy credit logo on lock, app and web 2026-11-21 09:32:42 +01:00
_day.py sick days: one shared sickdays pool, 20:00 shutdown floor, one-tap lock button 2026-10-16 13:30:39 +02:00
_decision_log.py Close the four gaps that let a decided lock never reach the screen 2026-08-30 15:24:45 +02:00
_decision_reasons.py Say every reason a lock decision had, not just the first one 2026-08-23 07:02:41 +02:00
_decision_trail.py Close the four gaps that let a decided lock never reach the screen 2026-08-30 15:24:45 +02:00
_degraded_sources.py Detect a Firebase credential the server rejects, not just one that fails to build 2026-08-27 21:32:39 +02:00
_device.py Push under a persisted per-install uuid, not a fixed role id 2026-08-09 17:31:15 +02:00
_early_bird.py The early-bird window is the wake-alarm carrot, not a clock 2026-09-20 08:39:44 +02:00
_earned.py Cap live bonuses at the day's ceiling 2026-11-01 20:04:14 +01:00
_earner_units.py earned_time 0.6.0: per-day registry consumer, sleep-ladder date-proof tests, pin v0.6.0 2026-10-09 21:36:53 +02:00
_errors.py Report errors and stalls to the shared board 2026-11-18 22:00:15 +01:00
_extra_benefits.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_gate_bonus.py tests: earned_time 0.7.0 tutor policy (confirmed, 15 min per block); hook envs on 0.7.0 2026-10-10 15:15:35 +02:00
_gate_off.py LeetCode bonus needs the day paid in full (earned_time 0.18.0); gate_off asked live 2026-10-24 13:23:19 +02:00
_glyphs.py Audit icons: add 1-word hover tooltips 2026-11-22 16:25:40 +01:00
_grace_floor.py Add every credit to tonight's shutdown 2026-11-18 21:12:40 +01:00
_heat_skip.py Audit icons: add 1-word hover tooltips 2026-11-22 16:25:40 +01:00
_hold.py Close open workout window when a hold starts 2026-11-03 20:39:47 +01:00
_http_workout_fetch.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_instance.py Queue behind stronger lockers, single-instance guard, fix budget-crash in fit check 2026-08-21 13:04:54 +02:00
_lock_invariant.py Refuse to build a lock screen over a workout already logged today 2026-09-18 09:58:13 +02:00
_log_io.py Stop the relaxed-day popup from re-firing every 30 minutes after Skip 2026-08-18 21:55:59 +02:00
_log_mixin.py Shutdown: walks as workout, rest days, grace floor, workout ledger (earned-time 0.4.0) 2026-10-09 10:43:45 +02:00
_manual_cli.py manual workout: log for future dates (credited on the day) 2026-10-16 15:34:15 +02:00
_manual_future.py manual workout: log for future dates (credited on the day) 2026-10-16 15:34:15 +02:00
_manual_pending.py manual workout: log for future dates (credited on the day) 2026-10-16 15:34:15 +02:00
_manual_push.py manual workout: log for future dates (credited on the day) 2026-10-16 15:34:15 +02:00
_manual_schedule.py manual workout: log for future dates (credited on the day) 2026-10-16 15:34:15 +02:00
_manual_sync_draft.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_manual_sync.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_manual_workout_checks.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_manual_workout_date.py Make the Tk locker screens text-free 2026-11-11 01:20:23 +01:00
_manual_workout_dialog.py Make the Tk locker screens text-free 2026-11-11 01:20:23 +01:00
_manual_workout_sport_fields.py Make the Tk locker screens text-free 2026-11-11 01:20:23 +01:00
_manual_workout_types.py Make the Tk locker screens text-free 2026-11-11 01:20:23 +01:00
_manual_workout_widgets.py Make the Tk locker screens text-free 2026-11-11 01:20:23 +01:00
_manual_workout.py Make the Tk locker screens text-free 2026-11-11 01:20:23 +01:00
_mcp.py Sick days: per-locker keep (sickdays 0.2.0) for the workout lock 2026-10-16 15:18:49 +02:00
_morning_session.py Morning-session reader moves to gatelock 0.9.0 2026-10-02 14:05:40 +02:00
_night_lockdown.py Add every credit to tonight's shutdown 2026-11-18 21:12:40 +01:00
_phone_verification.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_poke_credit.py Drop gaming from credit toast and poke 2026-11-16 16:13:46 +01:00
_poke_server.py Drop gaming from credit toast and poke 2026-11-16 16:13:46 +01:00
_poke_wire.py workout-poke: instant phone credit over LAN (signed POST :8773) and Firebase stream 2026-10-09 19:05:51 +02:00
_progress_row.py Write a progress row for a short run day 2026-11-22 18:23:46 +01:00
_queue_state.py Close the four gaps that let a decided lock never reach the screen 2026-08-30 15:24:45 +02:00
_queue_wait.py Close the four gaps that let a decided lock never reach the screen 2026-08-30 15:24:45 +02:00
_rest_day_cli.py Shutdown: walks as workout, rest days, grace floor, workout ledger (earned-time 0.4.0) 2026-10-09 10:43:45 +02:00
_rest_day.py sick days: one shared sickdays pool, 20:00 shutdown floor, one-tap lock button 2026-10-16 13:30:39 +02:00
_rtdb_stream.py workout-poke: instant phone credit over LAN (signed POST :8773) and Firebase stream 2026-10-09 19:05:51 +02:00
_runnerup_backfill.py Write a progress row for a short run day 2026-11-22 18:23:46 +01:00
_runnerup_db.py deps: ruff 0.17.0 (CPY001 ignored: no copyright policy) 2026-10-09 22:05:02 +02:00
_runnerup_retire_adb.py Harden RunnerUp retirement after review 2026-11-10 16:08:40 +01:00
_runnerup_retire_result.py Harden RunnerUp retirement after review 2026-11-10 16:08:40 +01:00
_runnerup_retire_state.py Harden RunnerUp retirement after review 2026-11-10 16:08:40 +01:00
_runnerup_retire_tcx.py Harden RunnerUp retirement after review 2026-11-10 16:08:40 +01:00
_runnerup_retire.py Harden RunnerUp retirement after review 2026-11-10 16:08:40 +01:00
_runnerup_tcx.py Add RunnerUp retirement logic 2026-11-10 16:01:17 +01:00
_runnerup_verification.py Write a progress row for a short run day 2026-11-22 18:23:46 +01:00
_session_stream.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_session_sync.py Credit StrongLifts sessions from the headless sync, as pc_workout_verified 2026-08-22 11:26:20 +02:00
_shutdown_base.py Add every credit to tonight's shutdown 2026-11-18 21:12:40 +01:00
_shutdown_target.py Add every credit to tonight's shutdown 2026-11-18 21:12:40 +01:00
_shutdown.py Add every credit to tonight's shutdown 2026-11-18 21:12:40 +01:00
_sick_floor.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_sick.py Lock screen "I'm sick": one tap clears an already-sick day's kept lockers 2026-10-17 14:17:05 +02:00
_source_health.py Sync: Firebase only — drop the GitHub transport (kuhyx/syncs stays a frozen archive) 2026-10-09 19:18:56 +02:00
_startup_checks.py Add every credit to tonight's shutdown 2026-11-18 21:12:40 +01:00
_status_data.py Fix lint: hold status mirror, split tests 2026-11-03 20:46:47 +01:00
_status_projection.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_status_sections.py Make the Tk locker screens text-free 2026-11-11 01:20:23 +01:00
_status_types.py Show the workout streak in the status window 2026-11-01 20:04:14 +01:00
_status_view_verify.py Make the Tk locker screens text-free 2026-11-11 01:20:23 +01:00
_status.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_stream_auth.py workout-poke: instant phone credit over LAN (signed POST :8773) and Firebase stream 2026-10-09 19:05:51 +02:00
_stream_cache.py Stream credits phone manual workouts instantly 2026-11-02 11:28:42 +01:00
_surface_group.py sick days: one shared sickdays pool, 20:00 shutdown floor, one-tap lock button 2026-10-16 13:30:39 +02:00
_sync_client.py Sync: Firebase only — drop the GitHub transport (kuhyx/syncs stays a frozen archive) 2026-10-09 19:18:56 +02:00
_sync_mixin.py manual workout: log for future dates (credited on the day) 2026-10-16 15:34:15 +02:00
_sync_records.py workout-poke: instant phone credit over LAN (signed POST :8773) and Firebase stream 2026-10-09 19:05:51 +02:00
_sync_retry.py Grade against 3.14 too, not just run on it 2026-08-29 11:42:47 +02:00
_sync_status.py Sync: Firebase only — drop the GitHub transport (kuhyx/syncs stays a frozen archive) 2026-10-09 19:18:56 +02:00
_sync_tombstones.py Tombstone sync records durably: a ledger the PC re-pushes every tick 2026-09-13 20:20:06 +02:00
_temperature_status_mixin.py Make the Tk locker screens text-free 2026-11-11 01:20:23 +01:00
_temperature.py Close the four gaps that let a decided lock never reach the screen 2026-08-30 15:24:45 +02:00
_time_check.py Support multiple workouts per day; fix the dead sync; ban silent failures 2026-07-17 09:22:31 +02:00
_tooltip.py Audit icons: add 1-word hover tooltips 2026-11-22 16:25:40 +01:00
_ui_flows_lockout.py Make the Tk locker screens text-free 2026-11-11 01:20:23 +01:00
_ui_flows_relaxed.py Make the Tk locker screens text-free 2026-11-11 01:20:23 +01:00
_ui_flows_sick_panel.py Make the Tk locker screens text-free 2026-11-11 01:20:23 +01:00
_ui_flows_sick.py Make the Tk locker screens text-free 2026-11-11 01:20:23 +01:00
_ui_flows.py Close the lock window when credit lands 2026-11-16 08:29:01 +01:00
_ui_form_fields.py sick days: one shared sickdays pool, 20:00 shutdown floor, one-tap lock button 2026-10-16 13:30:39 +02:00
_ui_widgets.py Audit icons: add 1-word hover tooltips 2026-11-22 16:25:40 +01:00
_unlock_view.py Make the Tk locker screens text-free 2026-11-11 01:20:23 +01:00
_walk_tcx.py Judge speed over 10 s windows, keep dropouts 2026-11-10 18:36:25 +01:00
_web_decisions.py Close the four gaps that let a decided lock never reach the screen 2026-08-30 15:24:45 +02:00
_web_payload.py Close the four gaps that let a decided lock never reach the screen 2026-08-30 15:24:45 +02:00
_web_server.py Serve the build stamp at /version 2026-11-19 13:40:01 +01:00
_weekly_check.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_window_setup.py Show kuhy credit logo on lock, app and web 2026-11-21 09:32:42 +01:00
_workday_penalty.py Sick days: per-locker keep (sickdays 0.2.0) for the workout lock 2026-10-16 15:18:49 +02:00
_workout_app.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_workout_credit.py Add every credit to tonight's shutdown 2026-11-18 21:12:40 +01:00
_workout_handoff.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_workout_ledger_cli.py Shutdown: walks as workout, rest days, grace floor, workout ledger (earned-time 0.4.0) 2026-10-09 10:43:45 +02:00
_workout_ledger.py Make unified tests match the -k filter 2026-11-10 18:26:23 +01:00
_workout_ready.py Supervise the workout app as the lock surface, on a deadline that holds 2026-08-22 11:52:02 +02:00
_workout_session.py Fix pylint findings in source and scripts 2026-11-01 21:11:34 +01:00
_workout_sync.py Sync: Firebase only — drop the GitHub transport (kuhyx/syncs stays a frozen archive) 2026-10-09 19:18:56 +02:00
adjust_shutdown_schedule.sh shutdown: minutes end to end (*_MINUTES schedule keys, HH:MM helper args, to_hours removed) 2026-10-04 19:48:24 +02:00
poke_server.py Drop gaming from credit toast and poke 2026-11-16 16:13:46 +01:00
runnerup_retire.py Harden RunnerUp retirement after review 2026-11-10 16:08:40 +01:00
screen_lock.py Arm stall watch once the Tk loop runs 2026-11-20 11:12:10 +01:00
status_view.py Show kuhy credit logo on lock, app and web 2026-11-21 09:32:42 +01:00