A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.
TypeScript
docs(odd): specify acting without the user's mouse (S27, T26)
Alan Buscaglia905881667e71
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.mdindex 34ed37e..50aa215 100644--- a/odd/tasks/gentle-dot.md+++ b/odd/tasks/gentle-dot.md@@ -93,6 +93,13 @@ Branch: `feat/gentle-dot` · Delivery strategy: `single-pr` (user choice, L7; fo- **S26.1 Hide the rose.** A "Hide the rose" action (tray item, checkable, and a panel header option) hides the floating Dot window; the choice is remembered across restarts in the desktop config. While hidden, the panel still opens on demand with the global shortcut and the tray "Open" item, and the tray offers "Show the rose" to bring it back. Computer control's in-control and yolo states stay visible in the tray and the panel banner while the rose is hidden (assumption: the tray icon reflects in-control).- **S26.2 Full-screen chat.** A header button (and ⌘⇧F while the panel has focus) expands the chat panel to fill the current display's visible area, and the same button or Esc returns it to its previous size and position; the full-screen layout gives the conversation a readable centered column. Assumption: it fills the screen in place rather than opening a separate macOS fullscreen Space, since the panel is an accessory window; the web UI already fills the browser window.+- **S27 — Act without the user's mouse (L69–L70).** User: "y se le puede poner su propio mouse? en vez de utilizar el mio?"; after the explanation (one system cursor; options ranked), "que sea como un glow rosa", taken as approval of the recommended combination with the agent's pointer shown as a pink glow.+ - **S27.1 Accessibility first.** New tools to read an app's element tree (`ui_tree {app?, maxDepth}`) and act on elements without moving the cursor or taking focus (`press {elementId}`, `set_value {elementId, text}`, `pick_menu {path}`), with the same session grant, blocklist, rate limit, risky confirmation (by the element's role and title), yolo, and panic as pointer actions. Tool descriptions steer the model to prefer them, falling back to screenshots and coordinates when an app exposes no usable tree.+ - **S27.2 Keyboard to an app.** `type` and `key` can target a named app without bringing it to the front when that app accepts it; otherwise they fall back to the frontmost app as today, with the same checks.+ - **S27.3 Real mouse as the last resort.** Pointer actions restore the user's cursor position right after the action.+ - **S27.4 Pink glow.** The agent's pointer is shown as a pink glow (accent #f095c8) at the point where it acts, with a pulse on click, in a click-through overlay above all windows that is never in screenshots; it fades when the agent is idle and disappears when the session ends.+ - Out of scope: a truly independent second cursor (needs a virtual machine or another user session).+## Tasks| ID | Specs | Route | Status | Commit / evidence | Scope |@@ -122,6 +129,7 @@ Branch: `feat/gentle-dot` · Delivery strategy: `single-pr` (user choice, L7; fo| 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 || T24 | S24.8, S24.9 | delegated writer (context backstop), then independent verifier (high: touches the S24.4 checks) | in progress | — | Computer control speed: batch, faster helper, lighter screenshots || T25 | S26 | queued after T24 (same edit surface: shell.rs and packages/ui) | pending | — | Hide the rose; full-screen chat |+| T26 | S27 | queued after T25 (same edit surface) | pending | — | Accessibility-first actions, keyboard to an app, cursor restore, pink glow || 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 || T9 | S1–S6, S9–S12 | delegated verifier (high risk: process supervision, auth) | done | L24 + L31 | Full verification: unit, integration, Playwright, `@real-agent`, `tauri build` + launch, manual macOS checklist with observed results |@@ -198,4 +206,6 @@ Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `r- **L66 (2026-10-08, user):** real-Mac run: "anda muy bien pero lento, bastante lento". Measured from the engine session: the model takes 5–9 s per step and the helper 0.8–1 s per action (300 ms settle + capture + JPEG in an unoptimized debug build); mentioning five people took ten round trips (~70 s); one `type` with an emoji took 18 s. Proposed batch, faster helper, lighter screenshots; user: "hagamos todas si". Recorded as S24.8/T24.- **L67 (2026-10-08, user):** "y mete un modo yolo". Asked what it skips and how it turns on; answers: "Solo las confirmaciones (recomendado)", "Interruptor, se apaga solo (recomendado)". Recorded as S24.9, added to T24.- **L68 (2026-10-08, user):** "ah y pon un ocultar la rosa, que la puedas abrir bajo demanda y un full screen para el chat cuando quieras". Checked: the shortcut and tray "Open" already open the panel without the rose (`shell.rs:280,397`). Recorded as S26/T25, queued after T24 because both edit shell.rs and packages/ui.-- **Next step:** T24, then T25, then the remaining real-Mac checks; grant both permissions, take a screenshot (the Dot must be absent), click and type in a harmless app, a risky "Send" confirmation, ⌥⇧Esc panic, a blocked app (System Settings), and `screencapture -x /tmp/t.png` from the agent's bash must fail (R1); the community tester runs docs/linux-testing.md when the user shares it; T23/S25 before any public release.+- **L69 (2026-10-08, user):** "y se le puede poner su propio mouse? en vez de utilizar el mio?". Answered: macOS has one cursor per session; recommended Accessibility actions first, keyboard to an app, real mouse with cursor restore as the last resort, and a visible ghost pointer; a separate cursor needs a VM.+- **L70 (2026-10-08, user):** "que sea como un glow rosa". Recorded as S27/T26 with the ghost pointer as a pink glow, queued after T25.+- **Next step:** T24, then T25, then T26, then the remaining real-Mac checks; grant both permissions, take a screenshot (the Dot must be absent), click and type in a harmless app, a risky "Send" confirmation, ⌥⇧Esc panic, a blocked app (System Settings), and `screencapture -x /tmp/t.png` from the agent's bash must fail (R1); the community tester runs docs/linux-testing.md when the user shares it; T23/S25 before any public release.