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
Alan Buscaglia62a541a91971
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.mdindex 2ebc915..2df616f 100644--- a/odd/tasks/gentle-dot.md+++ b/odd/tasks/gentle-dot.md@@ -112,7 +112,7 @@ Branch: `feat/gentle-dot` · Delivery strategy: `single-pr` (user choice, L7; fo| T19 | S22 (+ design §4/§6/§7 refresh) | delegated writer (context backstop) | done | `225596d`; parent re-ran 260 tests, typecheck, lint + real-engine handoff probe | Single continuous chat: hide conversations, transparent session rotation, recent-only history || T20 | S23 | delegated writer, after T17 (the runtime refused it in parallel: test surface overlap with T17's `packages/daemon/test/**`) | done | `823363e`, follow-up `400ec73`; parent re-ran 235 tests, typecheck, e2e 12/12 | Global Engram, project gentle-dot || T21 | S24 (macOS only) | explore (delegated, read-only) → spec → implement | in progress | map done (L60) | Computer control with permissions guide, panic stop, and approvals |-| T21a | S24.1–S24.5 (app side), S24.6 events | delegated writer (parallel with T21b, disjoint surface `apps/desktop/src-tauri/**`) | in progress | — | Rust helper: MCP server, session grant, guards, permissions, panic |+| T21a | S24.1–S24.5 (app side), S24.6 events | delegated writer (parallel with T21b, disjoint surface `apps/desktop/src-tauri/**`) | done (pending independent verify) | `176f547`; RED 82 failing → GREEN; parent re-ran cargo test 145/145 | Rust helper: MCP server, session grant, guards, permissions, panic || T21b | S24.5 UI, S24.6, S24.7 | delegated writer (parallel with T21a, surface `packages/**`, `docs/**`) | done | `5b59c0e`; RED 20 failing → GREEN; parent re-ran 400 passed / 5 skipped | Protocol, daemon registration, connectors entry, rose state, banner || T22 | S18 (hardening, L47 B1/B2) | delegated writer | done (accepted with documented gaps, L52) | `8651bba`; parent re-ran 328 tests + typecheck | Option A: authoritative in-memory connector state with revert, credential reads blocked, path-independent bash checks, full approval preview, redirect manual, private Engram stop, onboarding overlap fix || T23 | S25 | explore → spec → implement (stage 2) | pending | — | Daemon-side MCP proxy with Keychain tokens |@@ -183,4 +183,5 @@ Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `r- **L59 (2026-10-08, user):** "lo de controlar la computadora por ahora solo para mac". S24 is scoped to macOS; the read-only map was launched.- **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.-- **Next step:** T21a, then a seam check and a real-Mac run; the community tester runs docs/linux-testing.md when the user shares it; T23/S25 before any public release.+- **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.