Skip to content

let your agent control your phone

setup: note that a fresh machine may need permissions beyond the two we check

ShawnPanafdef8a83be91
diff --git a/README.md b/README.md
index 487596b..ffd30ed 100644
--- a/README.md
+++ b/README.md
@@ -50,6 +50,11 @@ Security. Screen Recording takes effect after the terminal restarts;
Accessibility is immediate. Then `./phone-harness --doctor` verifies the whole
chain.
+These are the permissions currently known to be required. A fresh machine may
+prompt for more the first time an action runs — if `--doctor` passes but taps or
+capture silently do nothing, watch for a macOS permission prompt. See
+[install.md](install.md) for details.
+
## Why this works
iPhone Mirroring (macOS Sequoia+) renders the phone as a Mac window and forwards
diff --git a/install.md b/install.md
index c7f0189..99b37db 100644
--- a/install.md
+++ b/install.md
@@ -21,6 +21,16 @@ open "x-apple.systempreferences:com.apple.preference.security?Privacy_Accessibil
open "x-apple.systempreferences:com.apple.preference.security?Privacy_ScreenCapture"
```
+> **Heads up — you may need to grant more than these two.** Accessibility and
+> Screen Recording are the permissions we *know* are required, and they're all
+> `--doctor` currently checks. But this was built on a machine that was already
+> permissive, so a fresh Mac may prompt for additional approvals the first time
+> an action runs. If `--doctor` passes but taps, typing, or capture silently do
+> nothing, watch for a macOS permission prompt and check System Settings >
+> Privacy & Security for a pane asking to approve your terminal. As we pin down
+> exactly which extra permissions a clean install needs, they'll get added to
+> `--doctor` as proper prerequisites.
+
## Fast Path
```bash
diff --git a/src/phone_harness/admin.py b/src/phone_harness/admin.py
index 2f6ac68..fe2f804 100644
--- a/src/phone_harness/admin.py
+++ b/src/phone_harness/admin.py
@@ -63,4 +63,8 @@ def run_doctor():
os.unlink(path)
print("\nall clear" if ok else "\nfix the FAILs above, then re-run")
+ print("\nnote: these are the permissions currently known to be required. A "
+ "fresh\nmachine may still prompt for more the first time an action "
+ "runs — approve\nthem in System Settings if a step silently does "
+ "nothing despite this passing.")
return 0 if ok else 1