{ "title": "Move the YouTube block from the network layer to app hiding", "objective": "The network layer was demonstrated bypassable on-device: opening RethinkDNS and switching off its blocklists un-blocks YouTube in a few taps, and no Device Owner API can freeze another app's internal settings. App hiding has no such hole -- `pm unhide` throws a SecurityException even from adb shell, and only the device owner can reverse it. Rebase enforcement on an explicit allowlist of the apps that must work, hidden by the home geofence, with the network layer demoted to an explicitly-labelled soft deterrent.", "acceptance_criteria": [ "WHITELIST and NIGHT_WHITELIST contain exactly the apps the user named, mapped to package ids verified against `pm list packages -3` on the device.", "Every browser is excluded from both lists, so no link opens while at home.", "LAUNCHER_PACKAGE names a launcher that is actually installed; the exporter's launcher check passes.", "The computed hide set is inspected on the PC before any pass runs, and contains no app needed for banking, calls, or SMS.", "An enforcement pass on the device leaves newly-allowed apps hidden=false and non-allowlisted apps hidden=true.", "Private DNS ships disabled while its host is unreachable, rather than pinning a resolver that would leave the phone with no DNS." ], "out_of_scope": [ "Removing the in-app release path. A device owner with no escape hatch turns any single failure into a permanently bricked phone holding the user's banking and mObywatel.", "VPN lockdown, switched off at the user's request in this pass.", "Making RethinkDNS's own blocklists unswitchable, which Android provides no mechanism for.", "Opening a public port for the DoT resolver; the router does not forward 853 and the exposure was reverted." ], "verifier": "python -m pytest python_pkg/focus_policy/ (130 tests, 100% branch); gradlew :app:testDebugUnitTest; flutter test; the exporter's own launcher/allowlist guards; and on-device `dumpsys package | grep hidden=` for both the allowed and the hidden sets after a pass." }