diff --git a/docs/superpowers/evidence/diet-guard-app-focus-whitelist-2026-06-22.json b/docs/superpowers/evidence/diet-guard-app-focus-whitelist-2026-06-22.json new file mode 100644 index 0000000..82a9a01 --- /dev/null +++ b/docs/superpowers/evidence/diet-guard-app-focus-whitelist-2026-06-22.json @@ -0,0 +1,16 @@ +{ + "intent": "Let the new diet_guard companion phone app stay running on the BL9000 phone instead of being killed by phone_focus_mode within ~1s of launch.", + "scope": ["phone_focus_mode/config.sh"], + "changes": [ + "Added com.kuhy.diet_guard_app to the 'User-requested productive apps' whitelist block, alongside com.kuhy.workout_app." + ], + "verification": [ + { + "command": "adb push config.sh /data/local/tmp/focus_mode/config.sh (via root cp) && focus_ctl.sh restart, then pm list packages -d/-e", + "result": "pass", + "evidence": "com.kuhy.diet_guard_app absent from `pm list packages -d`, present in `pm list packages -e` after restart; app stayed alive (pidof returned a pid after 5s, previously killed within ~1s)." + } + ], + "risks": ["None — additive whitelist entry, no change to enforcement logic for other apps."], + "rollback": ["Remove the added line from config.sh, push, and restart focus_daemon to re-disable the app."] +} diff --git a/phone_focus_mode/config.sh b/phone_focus_mode/config.sh index cbd2582..6001d37 100755 --- a/phone_focus_mode/config.sh +++ b/phone_focus_mode/config.sh @@ -297,6 +297,7 @@ com.kuhy.focusstatus # --- User-requested productive apps --- com.stronglifts.app com.kuhy.workout_app +com.kuhy.diet_guard_app com.shazam.android com.ichi2.anki com.metrolist.music