From 2ab3de4d45668c375b13696695ec1c678450c6c8 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Sun, 28 Jun 2026 08:11:57 +0200 Subject: [PATCH] Update screen locker state: scheduled skips and runtime state files - Add 2026-05-29/30 to scheduled_skips.json - Track extra_benefits_state, shutdown_base, sick_history, workout_log JSON files Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01VuiPt6GPWkxpLbJFrnfy8U --- screen_locker/extra_benefits_state.json | 6 + screen_locker/scheduled_skips.json | 2 +- screen_locker/shutdown_base.json | 5 + screen_locker/sick_history.json | 31 +++++ screen_locker/workout_log.json | 145 ++++++++++++++++++++++++ 5 files changed, 188 insertions(+), 1 deletion(-) create mode 100644 screen_locker/extra_benefits_state.json create mode 100644 screen_locker/shutdown_base.json create mode 100644 screen_locker/sick_history.json create mode 100644 screen_locker/workout_log.json diff --git a/screen_locker/extra_benefits_state.json b/screen_locker/extra_benefits_state.json new file mode 100644 index 0000000..51bf245 --- /dev/null +++ b/screen_locker/extra_benefits_state.json @@ -0,0 +1,6 @@ +{ + "consecutive_5plus_weeks": 0, + "last_processed_iso_week": "2026-W26", + "skip_credits": 0, + "extended_early_bird_iso_weeks": [] +} \ No newline at end of file diff --git a/screen_locker/scheduled_skips.json b/screen_locker/scheduled_skips.json index 4afbae5..f0a9bbb 100644 --- a/screen_locker/scheduled_skips.json +++ b/screen_locker/scheduled_skips.json @@ -1 +1 @@ -["2026-05-19", "2026-05-20", "2026-05-21"] +["2026-05-19", "2026-05-20", "2026-05-21", "2026-05-29", "2026-05-30"] diff --git a/screen_locker/shutdown_base.json b/screen_locker/shutdown_base.json new file mode 100644 index 0000000..9d15e2b --- /dev/null +++ b/screen_locker/shutdown_base.json @@ -0,0 +1,5 @@ +{ + "base_mon_wed_hour": 21, + "base_thu_sun_hour": 21, + "last_reset_date": "2026-06-28" +} \ No newline at end of file diff --git a/screen_locker/sick_history.json b/screen_locker/sick_history.json new file mode 100644 index 0000000..cf56b9e --- /dev/null +++ b/screen_locker/sick_history.json @@ -0,0 +1,31 @@ +{ + "sick_days": [ + "2026-06-21" + ], + "debt": 0, + "commitments": { + "2026-06-01": true, + "2026-06-15": true + }, + "broken_commitments": [], + "justifications": [ + { + "date": "2026-06-12", + "timestamp": "2026-06-12T11:42:39.436952+00:00", + "symptom": "I did workout but screenlocker failed to find it", + "onset": "today", + "severity": 1, + "text": "Finished workout using workout_app app (a vibed stronglifts ALTERNATIVE) spend 1 hour 39 minutes 48 seconds on workout did all of exercises, the app said the exercise got saved, I connected the phone (BL9000) to pc using usb c cable the phone displayed that both debugging and file transfer was enabled", + "hmac": "6a3edabe2af33002097fab14b960de2a4246849b37afba5c162933daffcd084b" + }, + { + "date": "2026-06-21", + "timestamp": "2026-06-21T15:57:26.816317+00:00", + "symptom": "I came back from a trip, did quite a walk today", + "onset": "N/A", + "severity": 5, + "text": "Tired, Having walked for ~1.5 hours in heat. Had to stand in a train for 4 hours because it was late, skipping today, will come back tomorrow", + "hmac": "c1871fa3d399c5d4174c490388ec7e396691bba5e2f7d10d85b8e55674e83f94" + } + ] +} \ No newline at end of file diff --git a/screen_locker/workout_log.json b/screen_locker/workout_log.json new file mode 100644 index 0000000..b6ed512 --- /dev/null +++ b/screen_locker/workout_log.json @@ -0,0 +1,145 @@ +{ + "2026-05-31": { + "timestamp": "2026-05-31T13:17:30.464939+00:00", + "workout_data": { + "type": "phone_verified", + "source": "Workout verified! (72 min, partial)" + }, + "hmac": "92d8fd4bb257cf0a00ed0fbc21cc280dc10f5e0bebcbc8f7ee5dc623a9bbf0cf" + }, + "2026-06-01": { + "timestamp": "2026-06-01T11:17:19.440914+00:00", + "workout_data": { + "type": "phone_verified", + "source": "Workout verified! (121 min, partial)" + }, + "hmac": "21334df99507b2ea8b6d3a4605c3139a67ca2414f1b1cf6efbc9fb2347f5d1bc" + }, + "2026-06-05": { + "timestamp": "2026-06-05T09:23:12.410612+00:00", + "workout_data": { + "type": "phone_verified", + "source": "Workout verified! (94 min, partial)" + }, + "hmac": "20ff6a5990afb0821a6448246fb2fea3b65c47286beb1a8f818d4705e3aa112d" + }, + "2026-06-06": { + "timestamp": "2026-06-06T08:18:31.831102+00:00", + "workout_data": { + "type": "phone_verified", + "source": "Workout verified! (97 min, all succeeded)" + }, + "hmac": "fe9111d1dea01cce713c9c75ab42701f9d03db38b62e37dbfb651cb2b9c5e24d" + }, + "2026-06-08": { + "timestamp": "2026-06-08T09:24:18.568677+00:00", + "workout_data": { + "type": "phone_verified", + "source": "Workout verified! (108 min, all succeeded)" + }, + "hmac": "cd470d778578661764a0ea3008c9b5f97a3484ec57023dddf4c273ee0176685e" + }, + "2026-06-12": { + "timestamp": "2026-06-12T11:44:39.486020+00:00", + "workout_data": { + "type": "phone_verified", + "source": "Workout verified! (100 min, all succeeded)", + "after_sick_day": "true" + }, + "hmac": "19da04ca404852d60c2cf3b0f5d21bc8830691603f2d710c482960808e64c17d" + }, + "2026-06-13": { + "timestamp": "2026-06-13T08:05:10.092148+00:00", + "workout_data": { + "type": "phone_verified", + "source": "Workout verified! (112 min, all succeeded)" + }, + "hmac": "c3df957c1be72de4d5428922d1c33815ce4d4fe7661e07ee69020e3a0cb4ea44" + }, + "2026-06-14": { + "timestamp": "2026-06-14T08:03:30.547958+00:00", + "workout_data": { + "type": "phone_verified", + "source": "Workout verified! (72 min, all succeeded)" + }, + "hmac": "2bf43ed46b3caa9b9edfe120d99f05d160c7169acf9ced8f6bb1c51d7e224acf" + }, + "2026-06-15": { + "timestamp": "2026-06-15T08:20:26.706505+00:00", + "workout_data": { + "type": "phone_verified", + "source": "Workout verified! (92 min, all succeeded)" + }, + "hmac": "e031a75971cc7881d63fb93881d337494baba59909a417655e487878fc2fdb88" + }, + "2026-06-19": { + "timestamp": "2026-06-19T08:16:30.693811+00:00", + "workout_data": { + "type": "phone_verified", + "source": "Workout verified! (103 min, all succeeded)" + }, + "hmac": "f05ea3f7a5bd754d06e76001e8641628644145ea49f2ace7ed28ba1802428d95" + }, + "2026-06-21": { + "timestamp": "2026-06-21T15:59:26.865946+00:00", + "workout_data": { + "type": "sick_day", + "note": "Sick day - shutdown moved earlier", + "debt": "1" + }, + "hmac": "abf3ff2d0a362d7788034f8c4a97c5f47a1f1a1505c9c5a6cb593fb983b9f2c8" + }, + "2026-06-22": { + "timestamp": "2026-06-22T07:58:28.232279+00:00", + "workout_data": { + "type": "phone_verified", + "source": "Workout verified! (76 min, partial)" + }, + "hmac": "7d7480441c66bc2e05864a0085f7ffd6d06933beb6794bb4e0e0790be86967e4" + }, + "2026-06-23": { + "timestamp": "2026-06-23T19:58:27.015653+00:00", + "workout_data": { + "type": "runnerup_manual", + "source": "RunnerUp run, 9.71km in 60.3min (11 laps)", + "duration_minutes": "60.3", + "distance_km": "9.71" + }, + "hmac": "06adf65ab8e631c3c5d6a0b993a7044eda22e68204a7bdc8eac7cc95a512e5b4" + }, + "2026-06-26": { + "timestamp": "2026-06-26T09:10:53.087667+00:00", + "workout_data": { + "type": "phone_verified", + "source": "Workout verified! (126 min, partial)" + }, + "hmac": "ad8fbce338ede9408879632d394df454a00dd7257134b58f69c2e3d90702f09e" + }, + "2026-06-27": { + "timestamp": "2026-06-28T06:06:49.125698+00:00", + "workout_data": { + "type": "runnerup_verified", + "source": "Auto-scanned: Running: 6.9 km in 44 min", + "distance_km": 6.9, + "duration_minutes": 44.0 + }, + "hmac": "cc4834fc72e939ce2ce0fbc5a8d4a204d2e5acf0b0980c486355549b18a3269e" + }, + "2026-06-25": { + "timestamp": "2026-06-27T10:01:48.374179+00:00", + "workout_data": { + "type": "runnerup_verified", + "source": "Auto-scanned: Running: 8.0 km in 50 min", + "distance_km": 8.03, + "duration_minutes": 50.1 + }, + "hmac": "0e6c6dde4185ca0980ff9d5fdf5e20734a7f86724b0b355e57a6cd6df5b7ace2" + }, + "2026-06-28": { + "timestamp": "2026-06-28T05:01:28.249360+00:00", + "workout_data": { + "type": "early_bird" + }, + "hmac": "f6400e7af861ca8a157e623eafd490f87df723f536f6eb9f4e1acd353d7106c2" + } +} \ No newline at end of file