A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.
TypeScript
docs(odd): add computer control as the last item
Alan Buscaglia5c6c6581a4b2
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.mdindex 9d98d7f..7ec92f1 100644--- a/odd/tasks/gentle-dot.md+++ b/odd/tasks/gentle-dot.md@@ -74,6 +74,9 @@ Branch: `feat/gentle-dot` · Delivery strategy: `single-pr` (user choice, L7; fo- Acceptance: the engine's memory talks to the user's global Engram (the default server, port 7437, data dir `~/.engram`) instead of a private one, and every memory the assistant saves or searches is scoped to the project `gentle-dot`, whatever the workspace. The rest of the engine's HOME stays isolated (S12). The assistant no longer starts its own Engram server (which also removes the orphaned-server advisory from L31). If the global Engram is not running, the engine's memory plugin may start it as it does for Gentle Shell, with the user's data dir.- Mechanism (to verify in the implementation): `ENGRAM_DATA_DIR=<real ~/.engram>` in the child env so the plugin's instance-id check matches the global server; the project forced through the plugin's supported override (Engram has `ENGRAM_PROJECT` / `process_override`; check that gentle-engram honors it), or a workspace whose detected project is `gentle-dot` as the fallback.+- **S24 — Computer control (last item).** User (L43): "un item mas al final de todo, que haga como codex y que permitas controlar tu computadora, que pueda manejar tus aplicaciones y tal".+ - Acceptance (draft, to be refined before implementation): the assistant can see the screen and operate apps (screenshots, mouse, keyboard, opening and switching apps) after the user grants macOS Accessibility and Screen Recording permissions, with an in-app guide for granting them. Safety: a visible "in control" state on the rose, a global panic shortcut that stops control instantly, approval per control session plus mandatory confirmation for risky actions (send, pay, delete, submit), an optional allowlist of apps, and a clear note when the selected model cannot use images. Likely delivered as a built-in MCP connector behind the S18 approval guard. Linux support follows S13's limits (Wayland restricts input injection and screen capture to portals).+## Tasks| ID | Specs | Route | Status | Commit / evidence | Scope |@@ -98,6 +101,7 @@ Branch: `feat/gentle-dot` · Delivery strategy: `single-pr` (user choice, L7; fo| T18 | S18–S20 | explore (delegated, read-only) → spec details → implement | in progress | — | Connectors: map the engine's MCP integration and the providers first || T19 | S22 (+ design §4/§6/§7 refresh) | delegated writer (context backstop) | in progress | — | 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 | explore → spec → implement (last) | pending | — | Computer control with permissions guide, panic stop, and approvals || 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 |Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `rustc` is not, so T7 must first install or repair the Rust toolchain (rustup) and asks before installing. Xcode is present.@@ -146,4 +150,5 @@ Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `r- **L40 (2026-10-08, T17 evidence):** RED → GREEN in two batches (18 failing → 125/125; S21 10 failing → 136/136), plus two bridge races found and fixed: a send right after `new_conversation` was wiped by the late history (reproduced 5/5 with a Playwright WS capture, 4/4 after the fix), and stale history is re-read up to twice. Exceptions: no Playwright RED for the new e2e, and the gateway race test was written after the fix. Final: 227 tests, typecheck, e2e 12/12 in two consecutive runs; lint is green after the parent excluded `test-results` and `playwright-report` in biome.json. Decisions: the primary button text is `#1a1218` on `#f095c8` (8.60:1; white is 2.13:1, the site's `#f6eff3` 1.89:1); the daemon does abort-then-switch with a 10 s bounded wait; errors and stops appear inline (`message_done.error`/`stopped`) and the error toast was removed. Open: design.md §4/§6 still describe the old payloads and violet tokens; a residual race (a get_history requested before new_conversation arriving after the new history). The user's app was rebuilt and restarted with T17.- **L41 (2026-10-08, T20 decision):** The writer found that the Pi memory plugin has no per-client project override, and `ENGRAM_PROJECT` applies to the engram server process, so it would hijack every client of the global server. The supported per-directory override is `<workspace>/.engram/config.json` `{"project_name":"gentle-dot"}` (Engram detection step 0, source `config`). Parent decision: the agent's cwd is always the daemon-owned workspace that holds this config. A user-configured `workspace` becomes a preferred-folder instruction (an extra `--append-system-prompt`) instead of the cwd, so nothing is written into user folders and the project is always `gentle-dot`. Approved editing of the env-assertion block in `gateway.test.ts` (T17 finished).- **L42 (2026-10-08, T20 evidence):** The child gets `ENGRAM_DATA_DIR=<real ~/.engram>` (gentle-engram 0.3.0 accepts a server only when `<data dir>/.instance-id` matches `/health`, `index.ts:580-649`), and the user's `ENGRAM_URL`/`ENGRAM_PORT` are kept. The project comes from `<data>/workspace/.engram/config.json` `{"project_name":"gentle-dot"}` (Engram detection step 0). A custom workspace becomes `preferredFolder` (an extra `--append-system-prompt`, never the cwd, nothing written in it). `GENTLE_DOT_ENGRAM=private` keeps the old private mode. RED 9 → GREEN 49/49. Probe against a stand-in global server: observation saved under `gentle-dot`, HOME hash identical, no private `.engram` created. Parent follow-ups (`400ec73`): the identity now pins memory to project `gentle-dot` (an explicit `project` in mem_save would otherwise win), and the stale `GENTLE_DOT_WORKSPACE` was removed from the Dockerfile, entrypoint, and e2e serve (`sh -n` OK, e2e 12/12). Docker build not re-run because Docker Desktop is stopped. On the user's Mac: the app restarted, the old private Engram (PID 93883, `~/.gentle-dot/home/.engram`) was stopped by PID with nothing listening on 7438, and the global server resolves `~/.gentle-dot/workspace` to project `gentle-dot` (source config). Memories saved earlier in the private store were not migrated (test data from today; the DB file is left in place).-- **Next step:** T19 (continuous chat) and T18 (connectors); docs §4/§6 refresh; a Docker build check when Docker runs; then T14 (Linux).+- **L43 (2026-10-08, user):** "un item mas al final de todo, que haga como codex y que permitas controlar tu computadora, que pueda manejar tus aplicaciones y tal". Recorded as S24/T21, the last item, after T19, T18, and T14.+- **Next step:** T19 (running), then T18 (connectors), T14 (Linux), and T21 (computer control); a Docker build check when Docker runs.