Compare commits

..

No commits in common. "17930094495b931043c71e6b46fb8b48799751eb" and "a12fae96665e5959b3d1c88dd44e6f4ead48c665" have entirely different histories.

7 changed files with 6 additions and 22 deletions

2
.fvmrc
View File

@ -1,3 +1,3 @@
{ {
"flutter": "3.50.1" "flutter": "3.50.0"
} }

View File

@ -71,7 +71,7 @@ jobs:
- uses: kuhyx/utils/flutter-setup@flutter-setup-v1 - uses: kuhyx/utils/flutter-setup@flutter-setup-v1
with: with:
flutter-version: 3.50.1 flutter-version: 3.50.0
working-directory: phone_app working-directory: phone_app
- name: Dart writes, Python replays, both must agree - name: Dart writes, Python replays, both must agree

View File

@ -87,7 +87,7 @@ jobs:
- uses: subosito/flutter-action@v2 - uses: subosito/flutter-action@v2
with: with:
flutter-version: 3.50.1 flutter-version: 3.50.0
channel: stable channel: stable
cache: true cache: true

View File

@ -227,22 +227,6 @@ PC (`events.jsonl` `event`): `fallback_tick` (only on decision change),
`rtc_skip`, `firebase_unreachable`, `escape_seen`, `penalty_written`, `rtc_skip`, `firebase_unreachable`, `escape_seen`, `penalty_written`,
`penalty_cancelled` (field `cause`: `escape` | `sick_day`), `audit_written`. `penalty_cancelled` (field `cause`: `escape` | `sick_day`), `audit_written`.
## The desktop must come back after lockdown (2026-11-20)
The carrot assumes the PC has a desktop in the morning. On 2026-11-20 it did
not: the nightly `auto-system-update` installed NVIDIA 620.73 and kernel 7.3.5
while the PC sat in night lockdown. At 05:00 the unlock started lightdm, Xorg
died on `NVRM: API mismatch`, lightdm hit `start-limit-hit`, and every later
trigger logged "already UNLOCKED". kuhy saw only the text console.
The fix lives in digital-wellbeing (`lib/payloads/night-lockdown-gui-recover.sh`):
a morning trigger that finds state UNLOCKED with lightdm down starts it again,
after `reset-failed`. On a driver mismatch it reloads the NVIDIA modules. When
the running kernel has no modules left, it reboots once that day. Boot units
that raced DNS (`reflector`, `periodic-system-startup`) now retry
(system-maintenance). Nothing in this repo changed: the morning session and
its 11:00 deferral were fine; only the desktop was missing.
## Verification status (2026-10-01) ## Verification status (2026-10-01)
- vmbox gate (`scripts/vmbox/harness.sh`, `guest_cases_v2.sh`): install, - vmbox gate (`scripts/vmbox/harness.sh`, `guest_cases_v2.sh`): install,

View File

@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.9.2-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-9.9.1-all.zip

View File

@ -16,7 +16,7 @@ dependencies = [
"freedays @ git+https://github.com/kuhyx/utils@freedays-v0.4.3#subdirectory=freedays", "freedays @ git+https://github.com/kuhyx/utils@freedays-v0.4.3#subdirectory=freedays",
# Sick days stand the PC's enforcement down (_sick.py). Imported behind # Sick days stand the PC's enforcement down (_sick.py). Imported behind
# a guard: missing means "not sick", never a crashed tick. # a guard: missing means "not sick", never a crashed tick.
"sickdays @ git+https://github.com/kuhyx/utils@sickdays-v0.5.6#subdirectory=sickdays", "sickdays @ git+https://github.com/kuhyx/utils@sickdays-v0.5.5#subdirectory=sickdays",
] ]
# Package discovery must be explicit: phone_app/ is a Flutter app, not a Python # Package discovery must be explicit: phone_app/ is a Flutter app, not a Python

View File

@ -17,4 +17,4 @@ pytest-randomly==5.1.0
pytest-sugar==1.1.1 pytest-sugar==1.1.1
pytest-xdist==3.8.0 pytest-xdist==3.8.0
ruff==0.17.6 ruff==0.17.6
sickdays @ git+https://github.com/kuhyx/utils@sickdays-v0.5.6#subdirectory=sickdays sickdays @ git+https://github.com/kuhyx/utils@sickdays-v0.5.5#subdirectory=sickdays