testsAndMisc/python_pkg
Krzysztof kuhy Rudnicki b7e537fe01
Some checks failed
dependency freshness / dependencies on newest stable (push) Has been cancelled
md-naming / markdown naming convention (push) Has been cancelled
Pre-commit checks / pre-commit (push) Has been cancelled
Python tests / test (push) Has been cancelled
Shell tests / shell-tests (push) Has been cancelled
Shell tests / arch-tests (push) Has been cancelled
phone_lease: one session drives the phone at a time; android_ui takes the lease on every call
Two sessions driving the same phone interleave their taps: on 2026-09-20 a
tap meant for the workout sandbox opened another session's manga reader,
twice. The lease is a flock-guarded JSON file per serial under
~/.cache/phone-lease/, owned by the nearest ancestor `claude` process (one per
session), refreshed on every android_ui call and expiring 180 s after the
last one, so a quiet session frees the phone without anyone remembering to.
A foreign fresh lease makes a call wait up to 60 s, then exit 3 naming the
holder and pointing at the alternatives (the phone's virtual display, the
headless emulator) instead of inviting a retry loop. phone_deploy.sh takes
the same lease (exit 40).

The oldest evidence artifact is pruned to stay under the 60-file cap; it
remains in history.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YbBZqUaNWyhHYfzz6zGC7q
2026-09-20 18:50:26 +02:00
..
android_ui phone_lease: one session drives the phone at a time; android_ui takes the lease on every call 2026-09-20 18:50:26 +02:00
app_icons Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
archwiki_rag Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
artgate Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
brother_printer Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
code_tutor Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
endurain_import Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
live_calc Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
morning_routine Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
phone_lease phone_lease: one session drives the phone at a time; android_ui takes the lease on every call 2026-09-20 18:50:26 +02:00
random_jpg Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
shared Migrate wake_alarm to the shared gatelock backend 2026-06-22 07:33:49 +02:00
syncyomi_guard Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
tests Instrument: multi-line array elements are not statements; clear arch_perf_fixes 2026-08-22 20:13:45 +02:00
token_audit Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
vscode_optimizer Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
wsg_grabber Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
__init__.py feat(screen_locker): harden table tennis verification, remove running option 2026-02-02 21:38:52 +01:00
.gitignore screen_locker: enhance workout logging and UI 2025-12-02 23:22:13 +01:00
conftest.py test: achieve 100% branch coverage across all python_pkg packages 2026-03-21 17:51:36 +01:00