testsAndMisc/docs
Krzysztof kuhy Rudnicki aa37852296 phone_guard: lease or block raw adb; android_ui drives a session's own virtual display
A raw `adb shell input tap` took no lease, so one session's tap landed in
another session's app (2026-09-25). python_pkg.phone_guard classifies every
adb call in a Bash command and, as the Claude Code PreToolUse hook, takes
the matching phone_lease (one app / real screen / whole phone) or exits 2:
key/text input without -d, input on another session's virtual display, or
a lease still held elsewhere after 40 s.

android_ui gains --display self|<id>: it drives only this session's
phone_vd display under that app's lease, and every input carries -d.
uiautomator sees display 0 only, so virtual-display trees come from a tiny
instrumentation APK (A11yDump.java) built from source without Gradle.

Prunes the oldest evidence artifact to stay under the 60-file cap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WpA6wW2DKiovQADTdjWJoH
2026-09-25 16:09:45 +02:00
..
explanations Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
superpowers phone_guard: lease or block raw adb; android_ui drives a session's own virtual display 2026-09-25 16:09:45 +02:00
DOCS-agent-harness-evaluation-2026-08-18.md Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
DOCS-app-split-recipes.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-device-owner-research.md Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
DOCS-dns-filtering-parked.md Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
DOCS-kcov-under-report.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-python-split-recipes.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-restructure-live-state.md Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
DOCS-shared-checkout-safety.md Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
DOCS-shell-split-harness.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-shell-split-recipes.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-shell-split-verification.md Adopt the four markdown namespaces and gate them 2026-08-24 15:55:46 +02:00
DOCS-syncyomi-restore-runbook.md Re-point paths for the ~ reorganisation (home-tidy) 2026-09-11 20:50:19 +02:00
mcp-shortlist.html docs: add MCP server security-triage shortlist 2026-07-17 19:16:31 +02:00