phone_focus_mode: night-whitelist dev.kuhy.todo
Some checks are pending
Pre-commit checks / pre-commit (push) Waiting to run

Allow the todo notes app to run during the post-23:00 curfew (offline-first
capture, not a scroll trap). Deployed + verified on BL9000EEA0000102.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019KwUCPESvE5CjCtmUFz8xQ
This commit is contained in:
Krzysztof Rudnicki 2026-07-11 23:32:57 +02:00
parent 59ade60692
commit d9e93d9ab6
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{
"intent": "Let the todo notes app (dev.kuhy.todo) keep running during the post-23:00 night curfew, so ideas can be captured before sleep and the crdt_sync migration can be verified on-device at night.",
"scope": [
"phone_focus_mode/config.sh — NIGHT_WHITELIST only",
"Non-goal: no change to the general daytime WHITELIST (todo was already on it)"
],
"changes": [
"Add dev.kuhy.todo to $NIGHT_WHITELIST (offline-first notes capture; not a scroll trap)"
],
"verification": [
{
"command": "CLAUDE_DEPLOY_DIRTY_OK=1 ADB_SERIAL=BL9000EEA0000102 bash phone_focus_mode/deploy.sh",
"result": "pass",
"evidence": "Deploy complete; curfew_enforcer.sh pushed. dev.kuhy.todo launched and stayed running under the active 23:xx curfew (no focus-mode kill); migration verified on-device."
}
],
"risks": [
"Slightly weakens the night curfew by allowing one more app; mitigated because todo is a capture tool, not a scroll trap"
],
"rollback": [
"Remove the dev.kuhy.todo line from $NIGHT_WHITELIST in config.sh and re-run deploy.sh",
"Confirm via deploy.sh --list that todo is no longer night-whitelisted"
]
}

View File

@ -491,6 +491,9 @@ com.xiaomi.smarthome
# --- Wake alarm sync (must work at night to set tomorrow's alarm) ---
com.kuhy.wake_alarm_sync
# --- Notes capture (offline-first; jot an idea before sleep, not a scroll trap) ---
dev.kuhy.todo
# --- Good-for-you apps (not scroll traps; kept per your request) ---
# Remove any of these if you want a stricter night.
com.stronglifts.app