mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-19 03:54:22 +01:00
Put focus_owner on the shared palette, and stop curfew hiding todo
focus_owner had drifted entirely off the frozen palette -- a cool blue #5B9DD9 accent on a #1B1D21 field -- while its own doc comment claimed it matched the other com.kuhy.* apps. It did not: every other app is on the gold #B8862E. lib/theme.dart now aliases design_system-v0.1.0, so the ~80 call sites keep reading the same names but the values come from one place and cannot drift again. The six constants duplicated verbatim in main.dart are deleted -- the old comment said they had been "lifted out" into theme.dart, but the originals were never removed, so there were two copies of a wrong palette. Separately: dev.kuhy.todo was in the day allowlist but not the night one, so a release build installed at 23:07 was hidden by the enforcer ~80ms later. It is now in night_allowed_packages. That is a deliberate loosening of the curfew's "answer the phone, reach a bank, handle an emergency" rule -- writing an idea down at night is the one thing that app does -- and it is recorded as such in both config files. Deploying the shell mirror of that list surfaced two pre-existing latent bugs in phone_focus_mode/config.sh: comment lines inside the double-quoted WHITELIST string referenced the night list (defined ~70 lines below) and an ALWAYS_BLOCKED that is never defined anywhere, so under set -u the entire deploy aborted with "unbound variable". Both are now written plainly, with a note saying why a dollar sign or a double quote must never appear inside that string. Verified on the Pixel 6a: analyze clean, 94/94 tests, colour literals 15 -> 2 (both Colors.transparent sentinels), and an ad-hoc assertion confirming kAccent is really ffb8862e rather than merely compiling. The installed APK shows CURFEW and the action links in gold, "Allowed apps 29 (16 at night)" (was 15) and "restored 1"; todo then launched and rendered at 23:19, inside the curfew window, with all 108 notes intact. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XS1m7b1piBtAL22USLW6jL
This commit is contained in:
parent
f7e8c59e8f
commit
01778d4f05
@ -0,0 +1,61 @@
|
||||
{
|
||||
"intent": "Put focus_owner on the one shared palette every other kuhy app uses, and stop the night curfew from removing the todo app minutes after it is installed.",
|
||||
"scope": [
|
||||
"focus_owner/lib/theme.dart, focus_owner/lib/main.dart, focus_owner/pubspec.yaml",
|
||||
"focus_owner/assets/policy.json (night_allowed_packages)",
|
||||
"phone_focus_mode/config.sh (NIGHT_WHITELIST + two latent set -u aborts)",
|
||||
"Non-goal: no enforcement logic, geofence, or curfew-window change"
|
||||
],
|
||||
"changes": [
|
||||
"focus_owner had drifted entirely off the frozen palette -- a cool blue accent #5B9DD9 on a #1B1D21 field -- while its own doc comment claimed it matched the other com.kuhy.* apps. lib/theme.dart now aliases the shared design_system palette (accent #B8862E, field #211D1B), so the ~80 existing call sites keep reading but the values cannot drift again.",
|
||||
"Deleted the six palette constants duplicated verbatim in main.dart as _kField.._kDanger. The old comment said they had been 'lifted out' into theme.dart, but the originals were never removed, so there were two copies of a wrong palette.",
|
||||
"Added dev.kuhy.todo to night_allowed_packages in focus_owner's policy.json. It was in the day list but not the night one, so a release build installed at 23:07 was hidden by the enforcer ~80ms after install.",
|
||||
"Mirrored the same entry into phone_focus_mode/config.sh's NIGHT_WHITELIST, and fixed two pre-existing latent bugs found while deploying it: comment lines inside the double-quoted WHITELIST string referenced $NIGHT_WHITELIST (defined ~70 lines later) and $ALWAYS_BLOCKED (never defined anywhere), so under deploy.sh's set -u the whole deploy aborted with 'unbound variable'."
|
||||
],
|
||||
"verification": [
|
||||
{
|
||||
"command": "flutter analyze (focus_owner)",
|
||||
"result": "pass",
|
||||
"evidence": "No issues found! (ran in 2.0s)"
|
||||
},
|
||||
{
|
||||
"command": "flutter test (focus_owner)",
|
||||
"result": "pass",
|
||||
"evidence": "94/94 tests passed on the new palette"
|
||||
},
|
||||
{
|
||||
"command": "flutter test (ad-hoc palette assertion, then deleted)",
|
||||
"result": "pass",
|
||||
"evidence": "kAccent=ffb8862e, kField=ff211d1b, kText=ffeceae9, kGap=16.0 -- confirms the values actually changed, not just that it compiles"
|
||||
},
|
||||
{
|
||||
"command": "grep -rnoE 'Colors\\.[a-zA-Z]+|Color\\(0x' focus_owner/lib",
|
||||
"result": "pass",
|
||||
"evidence": "15 literals -> 2, and both remaining are Colors.transparent sentinels"
|
||||
},
|
||||
{
|
||||
"command": "bash -n phone_focus_mode/config.sh && bash -c 'set -u; source phone_focus_mode/config.sh'",
|
||||
"result": "pass",
|
||||
"evidence": "syntax OK; sources cleanly under set -u; dev.kuhy.todo present in NIGHT_WHITELIST"
|
||||
},
|
||||
{
|
||||
"command": "phone_deploy.sh ~/testsAndMisc/focus_owner --release (on-device)",
|
||||
"result": "pass",
|
||||
"evidence": "Installed data-preserving on Pixel 6a 23181JEGR08034. Screenshot shows CURFEW / 'Why these 43 apps are hidden' / 'Debug log' in gold #B8862E, and 'Allowed apps 29 (16 at night)' -- was 15 -- with 'Changed this pass: hid 0, restored 1'."
|
||||
},
|
||||
{
|
||||
"command": "adb shell monkey -p dev.kuhy.todo (at 23:19, inside curfew)",
|
||||
"result": "pass",
|
||||
"evidence": "mCurrentFocus=dev.kuhy.todo/.MainActivity; app renders with all 108 notes intact. Before this change the package was hidden within ~80ms of install during curfew."
|
||||
}
|
||||
],
|
||||
"risks": [
|
||||
"Adding a notes app to the night allowlist is a deliberate loosening of the curfew's 'answer the phone, reach a bank, handle an emergency' rule. Recorded in both config files so the comment and the behaviour do not disagree later.",
|
||||
"focus_owner is a live Device Owner enforcement surface; a bad build could strand the phone. Mitigated by keeping the change to colour aliases plus one policy list entry, with no touch to enforcement logic, and by verifying the escape hatch (release-device-owner) still renders on-device.",
|
||||
"phone_focus_mode/config.sh targets the old rooted Blackview and cannot deploy to the unrooted Pixel; its NIGHT_WHITELIST edit is for parity only. The Pixel's real source of truth is focus_owner/assets/policy.json, which ships inside the APK."
|
||||
],
|
||||
"rollback": [
|
||||
"git revert the commit, then rebuild and reinstall focus_owner with phone_deploy.sh --release; the palette and the policy both live in the APK, so reverting the source is not enough on its own.",
|
||||
"After rollback, confirm on-device that 'Allowed apps' reads 29 (15 at night) again and that the enforcer still reports Device owner: yes / Admin active: yes."
|
||||
]
|
||||
}
|
||||
@ -117,6 +117,7 @@
|
||||
"com.kuhy.wake_alarm_sync",
|
||||
"com.kunzisoft.keepass.libre",
|
||||
"com.revolut.revolut",
|
||||
"dev.kuhy.todo",
|
||||
"org.fossify.contacts",
|
||||
"org.fossify.messages",
|
||||
"org.fossify.phone",
|
||||
|
||||
@ -8,19 +8,13 @@ import 'package:focus_owner/device_policy.dart';
|
||||
import 'package:focus_owner/enforcement_record.dart';
|
||||
import 'package:focus_owner/enforcement_status_card.dart';
|
||||
import 'package:focus_owner/policy.dart';
|
||||
import 'package:focus_owner/theme.dart';
|
||||
|
||||
void main() => runApp(const FocusOwnerApp());
|
||||
|
||||
/// Shared palette: charcoal field with a single accent, matching the other
|
||||
/// com.kuhy.* apps.
|
||||
const Color _kField = Color(0xFF1B1D21);
|
||||
const Color _kSurface = Color(0xFF24272C);
|
||||
const Color _kAccent = Color(0xFF5B9DD9);
|
||||
const Color _kText = Color(0xFFE8EAED);
|
||||
const Color _kMuted = Color(0xFF9AA0A6);
|
||||
const Color _kDanger = Color(0xFFD9776B);
|
||||
|
||||
const double _kGap = 16;
|
||||
// The palette used to be duplicated here as `kField`…`kDanger`, byte for
|
||||
// byte identical to theme.dart's copy. Both are gone: theme.dart now aliases
|
||||
// the shared design_system palette, and this file reads those aliases.
|
||||
|
||||
/// How often to re-read the log while waiting for a pass to land.
|
||||
const Duration _kRefreshInterval = Duration(seconds: 2);
|
||||
@ -39,11 +33,11 @@ class FocusOwnerApp extends StatelessWidget {
|
||||
debugShowCheckedModeBanner: false,
|
||||
theme: ThemeData(
|
||||
useMaterial3: true,
|
||||
scaffoldBackgroundColor: _kField,
|
||||
scaffoldBackgroundColor: kField,
|
||||
colorScheme: const ColorScheme.dark(
|
||||
primary: _kAccent,
|
||||
surface: _kSurface,
|
||||
error: _kDanger,
|
||||
primary: kAccent,
|
||||
surface: kSurface,
|
||||
error: kDanger,
|
||||
),
|
||||
),
|
||||
home: const StatusPage(),
|
||||
@ -126,7 +120,9 @@ class _StatusPageState extends State<StatusPage> {
|
||||
});
|
||||
} on PlatformException catch (e) {
|
||||
if (!mounted) return;
|
||||
setState(() => _error = e.message ?? 'Could not read device policy state');
|
||||
setState(
|
||||
() => _error = e.message ?? 'Could not read device policy state',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@ -158,9 +154,7 @@ class _StatusPageState extends State<StatusPage> {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(
|
||||
content: Text(
|
||||
started
|
||||
? 'Enforcement run finished'
|
||||
: 'Could not start enforcement',
|
||||
started ? 'Enforcement run finished' : 'Could not start enforcement',
|
||||
),
|
||||
),
|
||||
);
|
||||
@ -199,8 +193,7 @@ class _StatusPageState extends State<StatusPage> {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(
|
||||
content: Text(
|
||||
failure ??
|
||||
'Home set. Enforcement now applies here, not everywhere.',
|
||||
failure ?? 'Home set. Enforcement now applies here, not everywhere.',
|
||||
),
|
||||
),
|
||||
);
|
||||
@ -224,7 +217,7 @@ class _StatusPageState extends State<StatusPage> {
|
||||
final confirmed = await showDialog<bool>(
|
||||
context: context,
|
||||
builder: (context) => AlertDialog(
|
||||
backgroundColor: _kSurface,
|
||||
backgroundColor: kSurface,
|
||||
title: const Text('Lock VPN configuration?'),
|
||||
content: const Text(
|
||||
'The always-on VPN can no longer be turned off from Settings. '
|
||||
@ -250,7 +243,9 @@ class _StatusPageState extends State<StatusPage> {
|
||||
setState(() => _busy = false);
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(
|
||||
content: Text(ok ? 'VPN configuration locked' : 'Could not lock - see logcat'),
|
||||
content: Text(
|
||||
ok ? 'VPN configuration locked' : 'Could not lock - see logcat',
|
||||
),
|
||||
),
|
||||
);
|
||||
await _refresh();
|
||||
@ -260,7 +255,7 @@ class _StatusPageState extends State<StatusPage> {
|
||||
final confirmed = await showDialog<bool>(
|
||||
context: context,
|
||||
builder: (context) => AlertDialog(
|
||||
backgroundColor: _kSurface,
|
||||
backgroundColor: kSurface,
|
||||
title: const Text('Release device owner?'),
|
||||
// Deliberately concrete, and honest in both directions. "Restored only
|
||||
// by a factory reset" is true but abstract, and this dialog is read in
|
||||
@ -271,17 +266,17 @@ class _StatusPageState extends State<StatusPage> {
|
||||
content: Text(
|
||||
_status?.hasAccounts ?? true
|
||||
? 'Enforcement stops. YouTube comes back.\n\n'
|
||||
'Accounts exist on this device, so device owner can NEVER '
|
||||
'be set again without a factory reset. That means '
|
||||
're-pairing mBank, Revolut and inFakt over SMS, '
|
||||
're-activating mObywatel, signing in to every account '
|
||||
'again, and losing Signal history.\n\n'
|
||||
'This is the way out if something is broken. It is a bad '
|
||||
'trade for wanting to watch a video.'
|
||||
'Accounts exist on this device, so device owner can NEVER '
|
||||
'be set again without a factory reset. That means '
|
||||
're-pairing mBank, Revolut and inFakt over SMS, '
|
||||
're-activating mObywatel, signing in to every account '
|
||||
'again, and losing Signal history.\n\n'
|
||||
'This is the way out if something is broken. It is a bad '
|
||||
'trade for wanting to watch a video.'
|
||||
: 'Enforcement stops and YouTube comes back.\n\n'
|
||||
'No account exists yet, so device owner can be set again '
|
||||
'straight afterwards without a wipe. This is the moment to '
|
||||
'test the release path, before signing in.',
|
||||
'No account exists yet, so device owner can be set again '
|
||||
'straight afterwards without a wipe. This is the moment to '
|
||||
'test the release path, before signing in.',
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
@ -290,7 +285,7 @@ class _StatusPageState extends State<StatusPage> {
|
||||
),
|
||||
TextButton(
|
||||
onPressed: () => Navigator.pop(context, true),
|
||||
style: TextButton.styleFrom(foregroundColor: _kDanger),
|
||||
style: TextButton.styleFrom(foregroundColor: kDanger),
|
||||
child: const Text('Release'),
|
||||
),
|
||||
],
|
||||
@ -315,9 +310,7 @@ class _StatusPageState extends State<StatusPage> {
|
||||
void _openLog() {
|
||||
unawaited(
|
||||
Navigator.of(context).push(
|
||||
MaterialPageRoute<void>(
|
||||
builder: (_) => DebugLogPage(records: _log),
|
||||
),
|
||||
MaterialPageRoute<void>(builder: (_) => DebugLogPage(records: _log)),
|
||||
),
|
||||
);
|
||||
}
|
||||
@ -328,7 +321,7 @@ class _StatusPageState extends State<StatusPage> {
|
||||
final error = _error;
|
||||
final Widget body;
|
||||
if (error != null) {
|
||||
body = const _Message(text: 'Could not read state', color: _kDanger);
|
||||
body = const _Message(text: 'Could not read state', color: kDanger);
|
||||
} else if (status != null) {
|
||||
body = _StatusBody(
|
||||
status: status,
|
||||
@ -349,8 +342,8 @@ class _StatusPageState extends State<StatusPage> {
|
||||
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
backgroundColor: _kField,
|
||||
foregroundColor: _kText,
|
||||
backgroundColor: kField,
|
||||
foregroundColor: kText,
|
||||
title: const Text('Focus Owner'),
|
||||
actions: [
|
||||
IconButton(
|
||||
@ -364,7 +357,7 @@ class _StatusPageState extends State<StatusPage> {
|
||||
// unreachable "Release device owner" button is the one control that
|
||||
// must never be clipped off the bottom.
|
||||
body: SingleChildScrollView(
|
||||
padding: const EdgeInsets.all(_kGap),
|
||||
padding: const EdgeInsets.all(kGap),
|
||||
child: body,
|
||||
),
|
||||
);
|
||||
@ -415,7 +408,7 @@ class _StatusBody extends StatelessWidget {
|
||||
record: log.isEmpty ? null : log.first,
|
||||
onOpenLog: onOpenLog ?? () {},
|
||||
),
|
||||
const SizedBox(height: _kGap),
|
||||
const SizedBox(height: kGap),
|
||||
_Row(label: 'Package', value: status.packageName),
|
||||
_Row(label: 'Device owner', value: status.isDeviceOwner ? 'yes' : 'no'),
|
||||
_Row(label: 'Admin active', value: status.isAdminActive ? 'yes' : 'no'),
|
||||
@ -431,17 +424,18 @@ class _StatusBody extends StatelessWidget {
|
||||
final int n => '$n apps hidden',
|
||||
},
|
||||
),
|
||||
const SizedBox(height: _kGap),
|
||||
const Divider(color: _kMuted),
|
||||
const SizedBox(height: _kGap / 2),
|
||||
const SizedBox(height: kGap),
|
||||
const Divider(color: kMuted),
|
||||
const SizedBox(height: kGap / 2),
|
||||
if (policyError != null)
|
||||
_Message(text: 'Policy: $policyError', color: _kDanger)
|
||||
_Message(text: 'Policy: $policyError', color: kDanger)
|
||||
else if (policy == null)
|
||||
const _Message(text: 'Policy: loading...', color: _kMuted)
|
||||
const _Message(text: 'Policy: loading...', color: kMuted)
|
||||
else ...[
|
||||
_Row(
|
||||
label: 'Allowed apps',
|
||||
value: '${policy.allowedPackages.length}'
|
||||
value:
|
||||
'${policy.allowedPackages.length}'
|
||||
' (${policy.nightAllowedPackages.length} at night)',
|
||||
),
|
||||
_Row(
|
||||
@ -449,7 +443,7 @@ class _StatusBody extends StatelessWidget {
|
||||
value: policy.curfew == null
|
||||
? 'disabled'
|
||||
: '${_hhmm(policy.curfew!.startMinutes)}'
|
||||
'-${_hhmm(policy.curfew!.endMinutes)}',
|
||||
'-${_hhmm(policy.curfew!.endMinutes)}',
|
||||
),
|
||||
_Row(
|
||||
label: 'Home radius',
|
||||
@ -468,12 +462,12 @@ class _StatusBody extends StatelessWidget {
|
||||
value: hasHome ? 'active' : 'no home set - enforcing everywhere',
|
||||
),
|
||||
],
|
||||
const SizedBox(height: _kGap * 2),
|
||||
const SizedBox(height: kGap * 2),
|
||||
OutlinedButton(
|
||||
onPressed: busy ? null : onRunNow,
|
||||
child: const Text('Run enforcement now'),
|
||||
),
|
||||
const SizedBox(height: _kGap),
|
||||
const SizedBox(height: kGap),
|
||||
if (status.isDeviceOwner) ...[
|
||||
OutlinedButton(
|
||||
onPressed: busy ? null : onSetHome,
|
||||
@ -481,23 +475,23 @@ class _StatusBody extends StatelessWidget {
|
||||
hasHome ? 'Update home to here' : 'Set home to current location',
|
||||
),
|
||||
),
|
||||
const SizedBox(height: _kGap),
|
||||
const SizedBox(height: kGap),
|
||||
OutlinedButton(
|
||||
onPressed: busy ? null : onLockVpn,
|
||||
child: const Text('Lock VPN configuration'),
|
||||
),
|
||||
const SizedBox(height: _kGap),
|
||||
const SizedBox(height: kGap),
|
||||
],
|
||||
if (status.isDeviceOwner)
|
||||
FilledButton(
|
||||
onPressed: busy ? null : onRelease,
|
||||
style: FilledButton.styleFrom(backgroundColor: _kDanger),
|
||||
style: FilledButton.styleFrom(backgroundColor: kDanger),
|
||||
child: const Text('Release device owner'),
|
||||
)
|
||||
else
|
||||
const _Message(
|
||||
text: 'Not provisioned as device owner. Nothing is enforced.',
|
||||
color: _kMuted,
|
||||
color: kMuted,
|
||||
),
|
||||
],
|
||||
);
|
||||
@ -520,12 +514,12 @@ class _Row extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: _kGap / 2),
|
||||
padding: const EdgeInsets.symmetric(vertical: kGap / 2),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
Text(label, style: const TextStyle(color: _kMuted)),
|
||||
Text(value, style: const TextStyle(color: _kText)),
|
||||
Text(label, style: const TextStyle(color: kMuted)),
|
||||
Text(value, style: const TextStyle(color: kText)),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
@ -1,18 +1,43 @@
|
||||
/// The app's palette, re-exported from the shared design system.
|
||||
///
|
||||
/// This file used to define its own colours — a cool blue accent (`#5B9DD9`)
|
||||
/// on a `#1B1D21` field — while its doc comment claimed to match the other
|
||||
/// `com.kuhy.*` apps. It did not: every other app is on the frozen gold
|
||||
/// (`#B8862E`) palette. The same six constants were also duplicated verbatim
|
||||
/// in `main.dart`, which the old comment said had been "lifted out" but never
|
||||
/// deleted.
|
||||
///
|
||||
/// Both copies are gone. These names remain as aliases so the ~80 existing
|
||||
/// call sites keep reading, but the values now come from `design_system` and
|
||||
/// cannot drift again.
|
||||
library;
|
||||
|
||||
import 'package:design_system/design_system.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// Shared palette: charcoal field with a single accent, matching the other
|
||||
/// com.kuhy.* apps.
|
||||
///
|
||||
/// Lifted out of `main.dart` so the status card and the log screen use the
|
||||
/// same values rather than each redeclaring them.
|
||||
const Color kField = Color(0xFF1B1D21);
|
||||
const Color kSurface = Color(0xFF24272C);
|
||||
const Color kAccent = Color(0xFF5B9DD9);
|
||||
const Color kText = Color(0xFFE8EAED);
|
||||
const Color kMuted = Color(0xFF9AA0A6);
|
||||
const Color kDanger = Color(0xFFD9776B);
|
||||
/// Page background.
|
||||
const Color kField = AppPalette.ink;
|
||||
|
||||
/// Used for states that are working as intended but restrictive.
|
||||
const Color kWarn = Color(0xFFD9B26B);
|
||||
/// Raised surface (cards, sheets).
|
||||
const Color kSurface = AppPalette.inkRaised1;
|
||||
|
||||
const double kGap = 16;
|
||||
/// The single accent hue.
|
||||
const Color kAccent = AppPalette.accent;
|
||||
|
||||
/// Primary text.
|
||||
const Color kText = AppPalette.textOnDark;
|
||||
|
||||
/// Secondary/caption text, and the "AWAY" status.
|
||||
const Color kMuted = AppPalette.mutedOnDark;
|
||||
|
||||
/// Failure states: a missing home location, an unknown location, an
|
||||
/// enforcement pass that threw.
|
||||
const Color kDanger = AppPalette.danger;
|
||||
|
||||
/// Used for states that are working as intended but restrictive — i.e. the
|
||||
/// night curfew.
|
||||
const Color kWarn = AppPalette.warning;
|
||||
|
||||
/// Base spacing unit. Call sites use `kGap`, `kGap / 2` and `kGap * 2`,
|
||||
/// which land on the shared scale's `md`, `sm` and `xl`.
|
||||
const double kGap = AppSpacing.md;
|
||||
|
||||
@ -49,6 +49,15 @@ packages:
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.0.9"
|
||||
design_system:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: design_system
|
||||
ref: "design_system-v0.1.0"
|
||||
resolved-ref: e6c9af81e9ac3000d87d9168d3ef87ba2979258b
|
||||
url: "https://github.com/kuhyx/utils"
|
||||
source: git
|
||||
version: "0.1.0"
|
||||
fake_async:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -111,10 +120,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: matcher
|
||||
sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861
|
||||
sha256: "31bd099b47c10cd1aeb55146a2d46ce0277630ecef3f7dae54ad7873f36696cd"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.12.19"
|
||||
version: "0.12.20"
|
||||
material_color_utilities:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -127,10 +136,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: meta
|
||||
sha256: "1741988757a65eb6b36abe716829688cf01910bbf91c34354ff7ec1c3de2b349"
|
||||
sha256: "307249ce4ff29d58a18e97f6345f539382eb9c9c29ecda628900f31de0443dd9"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.18.0"
|
||||
version: "1.19.0"
|
||||
path:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -188,18 +197,18 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: test_api
|
||||
sha256: "949a932224383300f01be9221c39180316445ecb8e7547f70a41a35bf421fb9e"
|
||||
sha256: "2a122cbe059f8b610d3a5415f42e255b6c17b1f21eee1d960f31080237fb4f11"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.7.11"
|
||||
version: "0.7.12"
|
||||
vector_math:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: vector_math
|
||||
sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b
|
||||
sha256: f36f9f3be64c6198714492bb455c11056e33e2f85d9a0b676a48301e44fdcf47
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.2.0"
|
||||
version: "2.4.2"
|
||||
vm_service:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
||||
@ -35,6 +35,15 @@ dependencies:
|
||||
# Use with the CupertinoIcons class for iOS style icons.
|
||||
cupertino_icons: ^1.0.8
|
||||
|
||||
# The shared palette. This app had drifted entirely off it -- a cool blue
|
||||
# accent while every other app is on the frozen gold -- so lib/theme.dart
|
||||
# is now a thin alias layer over this package rather than its own values.
|
||||
design_system:
|
||||
git:
|
||||
url: https://github.com/kuhyx/utils
|
||||
ref: design_system-v0.1.0
|
||||
path: design_system
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
|
||||
@ -386,13 +386,20 @@ com.ichi2.anki
|
||||
com.metrolist.music
|
||||
eu.kanade.tachiyomi.sy
|
||||
|
||||
# --- App store (day only; deliberately absent from $NIGHT_WHITELIST) ---
|
||||
# --- App store (day only; deliberately absent from the night list) ---
|
||||
# NB: never write a dollar-sign variable reference inside this list. WHITELIST
|
||||
# is a double-quoted string, so even a comment line expands, and deploy.sh
|
||||
# runs under set -u, where an undefined name aborts the whole deploy. A
|
||||
# reference to the night list sat here and did exactly that (it is defined
|
||||
# below this point, so it was still unset), blocking every focus-mode deploy.
|
||||
# Same rule for double quotes: one in a comment ends the string early.
|
||||
# infakt cannot be installed or updated without Play, and it is device-paired
|
||||
# to a bank, so losing the ability to update it strands a re-authentication
|
||||
# chain. This does NOT reopen YouTube: the sweep is default-deny for
|
||||
# third-party packages, so anything installed from Play is hidden on the next
|
||||
# at-home pass, and $ALWAYS_BLOCKED (YouTube, Chrome) is never restored by the
|
||||
# AWAY branch either. Reinstalling YouTube from Play is UNTESTED as a bypass:
|
||||
# at-home pass, and the always-blocked set (YouTube, Chrome) is never restored
|
||||
# by the AWAY branch either. Reinstalling YouTube from Play is UNTESTED as a
|
||||
# bypass:
|
||||
# the sweep would re-hide it within one pass regardless, but treat the claim
|
||||
# that Play cannot resurrect a blocked app as unverified until someone tries.
|
||||
# NOTE: never use a double-quote character anywhere inside these export
|
||||
@ -472,6 +479,14 @@ com.kuhy.wake_alarm_sync
|
||||
com.google.android.deskclock
|
||||
org.runnerup
|
||||
org.runnerup.free
|
||||
# Capture-only notes app. Added 2026-08-14 after a curfew-window deploy
|
||||
# installed it and the enforcer removed the package ~80ms later: it was in
|
||||
# the day list but not here, so any build shipped after 23:00 was silently
|
||||
# uninstalled. This is a deliberate loosening of the answer-the-phone /
|
||||
# reach-a-bank / handle-an-emergency rule above -- writing an idea down at
|
||||
# night is the one thing this app does, and losing the deploy path for six
|
||||
# hours a day cost more than the distraction risk.
|
||||
dev.kuhy.todo
|
||||
"
|
||||
|
||||
# ============================================================
|
||||
|
||||
Loading…
Reference in New Issue
Block a user