diff --git a/docs/superpowers/evidence/phone-focus-whitelist-foss-and-run-apps-2026-07-11.json b/docs/superpowers/evidence/phone-focus-whitelist-foss-and-run-apps-2026-07-11.json new file mode 100644 index 00000000..4de51623 --- /dev/null +++ b/docs/superpowers/evidence/phone-focus-whitelist-foss-and-run-apps-2026-07-11.json @@ -0,0 +1,39 @@ +{ + "intent": "Whitelist the apps needed to go for a run with music (RunnerUp + Metrolist + workout_app) including during the 23:00-05:00 night curfew, whitelist the kicktipp football-prediction app for daytime, and unhide the user's newly-installed FOSS stock-app replacements (Clock You, Camera, Teyin file manager, Rain weather, LibreFind, Thunderbird) so focus mode stops disabling them near home.", + "scope": [ + "phone_focus_mode/config.sh (WHITELIST + NIGHT_WHITELIST arrays only)", + "Non-goal: hiding Google system apps via package-disable (unsafe on BL9000 - MTK bootloop/factory-wipe risk; done via launcher instead)", + "Non-goal: no changes to enforcement logic, curfew timing, or other packages" + ], + "changes": [ + "NIGHT_WHITELIST: added com.metrolist.music so music survives the curfew for a night run", + "WHITELIST: added de.kicktipp.mbookmark (daytime only) under a new Sports category", + "WHITELIST: added FOSS stock-app replacements com.bnyro.clock, com.vayunmathur.camera, com.rama.teyin, com.yoshi.rain, com.jksalcedo.librefind (removed dead org.fossify.clock entry) and net.thunderbird.android.beta under Email", + "NIGHT_WHITELIST: replaced non-installed org.fossify.clock with the installed com.bnyro.clock so alarms fire during curfew" + ], + "verification": [ + { + "command": "bash -n phone_focus_mode/config.sh", + "result": "pass", + "evidence": "syntax OK" + }, + { + "command": "ADB_SERIAL=BL9000EEA0000102 ./deploy.sh (device BL9000EEA0000102)", + "result": "pass", + "evidence": "Daemon RUNNING (PID 19994), Mode focus. Regenerated whitelist.txt contains all 7 FOSS packages + metrolist + kicktipp; night_whitelist.txt contains com.metrolist.music and com.bnyro.clock, no org.fossify.clock." + }, + { + "command": "adb -s BL9000EEA0000102 shell dumpsys package | grep enabled=", + "result": "pass", + "evidence": "All 6 previously-disabled FOSS apps (bnyro.clock, vayunmathur.camera, rama.teyin, yoshi.rain, librefind, thunderbird) went from enabled=3 to enabled=1 after deploy; pm list packages -d shows none of them disabled." + } + ], + "risks": [ + "kicktipp/Rain package identity confirmed off-device (de.kicktipp.mbookmark; com.yoshi.rain label 'Rain', internet-only perms = weather) per user confirmation", + "Whitelisting a package only stops focus-mode from disabling it; it does not force-hide the Google originals - user hides those in the launcher" + ], + "rollback": [ + "git revert the commit, then ADB_SERIAL=BL9000EEA0000102 ./deploy.sh to regenerate the state files from the old config", + "After rollback, confirm daemon RUNNING and that whitelist.txt no longer lists the reverted packages" + ] +} diff --git a/phone_focus_mode/config.sh b/phone_focus_mode/config.sh index 0aa3cd20..2825684a 100755 --- a/phone_focus_mode/config.sh +++ b/phone_focus_mode/config.sh @@ -306,7 +306,16 @@ com.shazam.android com.ichi2.anki com.metrolist.music org.mozilla.fenix -org.fossify.clock +# --- FOSS replacements for stock/Google apps (unhidden per request; hide the +# Google originals in the launcher, NOT via package-disable — see the +# BLOCKED_SYSTEM_APPS note about MTK bootloop/wipe risk on BL9000) --- +# Clock You (replaces stock Clock), Camera, Teyin file manager (Google Files), +# Rain weather, LibreFind (Google Search replacement) +com.bnyro.clock +com.vayunmathur.camera +com.rama.teyin +com.yoshi.rain +com.jksalcedo.librefind ws.xsoh.etar com.fsck.k9 com.kuhy.pomodoro_app @@ -366,6 +375,7 @@ oracle.idm.mobile.authenticator com.kunzisoft.keepass.libre # --- Email & communication --- +net.thunderbird.android.beta com.microsoft.office.outlook com.google.android.gm ch.protonmail.android @@ -405,6 +415,9 @@ pl.orange.mojeorange # --- Fitness --- org.runnerup +# --- Sports / football predictions --- +de.kicktipp.mbookmark + # --- Diet & calorie tracking --- com.fitatu.tracker com.waist.line @@ -463,8 +476,8 @@ com.google.android.apps.maps # Calendar com.google.android.calendar ws.xsoh.etar -# Alarm clock -org.fossify.clock +# Alarm clock (Clock You — the installed clock; org.fossify.clock is not present) +com.bnyro.clock # Government / digital ID pl.nask.mobywatel # Authenticators / password vault (needed to log into banking) @@ -483,6 +496,8 @@ com.kuhy.wake_alarm_sync com.stronglifts.app com.kuhy.workout_app org.runnerup +# Music player — kept so a night run has music in the background +com.metrolist.music com.fitatu.tracker com.waist.line com.maksimowiczm.foodyou