Skip to content

A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.

TypeScript

docs(odd): record the T21 verifier verdict (L63)

Alan Buscagliab0fe52752d11
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.md
index 2df616f..8bd02a6 100644
--- a/odd/tasks/gentle-dot.md
+++ b/odd/tasks/gentle-dot.md
@@ -184,4 +184,5 @@ Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `r
- **L60 (2026-10-08):** T21 map returned (no web access in the explorer; key facts re-checked by the parent): Pi forwards MCP image blocks to vision models and resizes above 2000×2000 (pi-mcp README:32, pi-coding-agent docs/models.md:70-89); Anthropic recommends downscaling screenshots (claude.com best-practices article); ad-hoc signed builds lose TCC grants on every rebuild because the grant is keyed to the cdhash (several public fixes, e.g. github.com/ericwbailey/what-cant-i-press 750a2ff); ScreenCaptureKit `SCContentFilter`/`SCScreenshotManager` can exclude windows (developer.apple.com). Decision: option (a), a native Rust helper in the Tauri app serving MCP over loopback, because only there do the grant, panic, blocklist, and risky-action checks live outside the agent (the engine guard and the WS are reachable by the agent, L49). Parent defaults, open to the user's change: 30-minute sessions, panic ⌥⇧Esc, 10 actions per second, long edge 1280 px. S24 refined into S24.1–S24.7; split into T21a (Rust) and T21b (TypeScript), launched in parallel with disjoint surfaces; contract: Tauri commands `computer_endpoint` → `{url, token} | null`, `computer_permissions` → `{accessibility, screenRecording}`, `computer_request_permission {kind: "accessibility"|"screenRecording"}`, `computer_stop`, `computer_status` → `{active, endsAt?}`; event `computer://state` `{active, endsAt?, reason?: "granted"|"stopped"|"panic"|"timeout"}`; client messages `computer_register {url, token}` and `computer_unregister`.
- **L61 (2026-10-08):** T21a scope additions approved by the parent: `build.rs` COMMANDS + generated `permissions/**`; `rustup component add clippy`; minimumSystemVersion 11.0 → 12.3 (ScreenCaptureKit is strongly linked; screenshots need macOS 14, checked at runtime, `computer_permissions` adds `screenshotsSupported`). T21b done (`5b59c0e`). Accepted risk, deferred to S25: any authenticated WS client (the agent included, L49) can send `computer_register` and repoint the built-in entry; an Origin check would not help because curl can forge it, and the helper still enforces the native grant, so control is never gained this way. The bearer key sits in mcp.json (file tools blocked, bash best-effort) and only reaches the helper.
- **L62 (2026-10-08):** T21a done (`176f547`): ScreenCaptureKit capture excluding our pid's windows, JPEG ≤1280 px, NSAlert dialogs via tauri-plugin-dialog; clippy clean; `macos.rs` not yet run on a real Mac. Seam check found that the engine's MCP client cuts a call after 30 s (`pi-mcp` client.js:3) while the helper blocks on native dialogs; Pi reads a per-server `timeout` in seconds (`pi-coding-agent` mcp/runtime.js:160), so the built-in entry now renders `timeout: 300` (RED observed, GREEN 400 passed; `3ebfe5c`). Independent verifier launched on 85bd25d..3ebfe5c.
-- **Next step:** the verifier's verdict, then a real-Mac run; the community tester runs docs/linux-testing.md when the user shares it; T23/S25 before any public release.
+- **L63 (2026-10-08):** independent verifier on 85bd25d..3ebfe5c: all checks green (400 TS, 145 Rust, clippy, typecheck, lint); S24.2, S24.3, S24.5–S24.7 PASS; S24.4 FAIL with B1 (pointer owner resolved to the WindowServer cursor window, blocklist bypass) and B2 (same-point drag skips risky confirmation); critical R1 (daemon spawned without TCC responsibility disclaim, so the agent's bash likely inherits the app's grants, contradicting S24.1). One correction batch launched: B1, B2, R1 (posix_spawn with `responsibility_spawnattrs_setdisclaim`), and advisories A1 (space on send-like button), A2 (control characters), A4 (system dialog blocklist + focused-element pid), A5 (fresh screenshot per session), A6 (rename a saved `computer` connector instead of dropping it). Recheck limited to those items.
+- **Next step:** the correction batch and its recheck, then a real-Mac run (including `screencapture` from the agent's bash to confirm R1); the community tester runs docs/linux-testing.md when the user shares it; T23/S25 before any public release.