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 T23b (L110)

Alan Buscagliaf3d8d6150f5b
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.md
index 30a0c42..8c837d3 100644
--- a/odd/tasks/gentle-dot.md
+++ b/odd/tasks/gentle-dot.md
@@ -194,7 +194,7 @@ Branch: `feat/gentle-dot` · Delivery strategy: `single-pr` (user choice, L7; fo
| T33 | S33 | delegated writer (context backstop; Rust + UI) | done (real Mac pending) | `2d1f5e4`; RED 51 compile errors + UI import → GREEN; cargo test 314, pnpm test 609 | Settings screen with a recordable, live-applied shortcut |
| T34 | S30.6 | delegated writer (Rust, `apps/desktop/src-tauri/src/voice/**`), parallel with the S25 map | in progress | — | Apple Speech fed with native buffers |
| T23a | S25.4 | delegated writer (daemon proxy), parallel with T23b | in progress | — | MCP proxy in the daemon: list/call filtering, hidden-tool refusal, resources, upstream HTTP and stdio |
-| T23b | S25.5 (app side), S25.3 (dialogs) | delegated writer (Rust), parallel with T23a | in progress | — | Keychain store and native approval dialog in the app |
+| T23b | S25.5 (app side), S25.3 (dialogs) | delegated writer (Rust), parallel with T23a | done (not wired; real Mac pending) | `1c345b5`; RED 22 failing → GREEN; 2 mutation checks; cargo test 348 | Keychain store and native approval dialog in the app |
| T23c | S25.1, S25.2 | after T23a/T23b | pending | — | App key over an inherited fd; privileged channel; WebSocket loses approval and mode rights |
| T23d | S25.5 (daemon side) | after T23c | pending | — | OAuth in the daemon with the app-backed store; migration from files |
| T23e | S25.6 | after T23d | pending | — | connectors.json HMAC |
@@ -313,6 +313,7 @@ Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `r
- **L102 (2026-10-09, user):** "bien pero, mientras estoy hablando no me aparece lo que se va enviar como cuando uso el bui† in de mac" — Parakeet transcribes correctly with our capture, so the earlier garbage came from Apple Speech with our converted 16 kHz audio (open: feed Apple the device's native buffers). Live text with the local model (`e027b19`): the recording so far (last 30 s at most) is decoded again every 0.8 s of new audio, skipping when the model is still loading or a decode runs (never blocking the audio thread), serialized with the final decode, and never shown after stop/cancel; RED (compile) → GREEN, cargo test 296. The Voice chip now names the engine ("Offline", "macOS", "Off"; `1396457`). Rebuilt, signed, restarted (also applies the model-chip fix `7ab0c0a`).
- **L103 (2026-10-09, user):** "estaria bueno que si pongo el boton de grabar de nuevo en vez de enviarlo, que se quede escrito en el input para confirmarlo, como se comporta ahora estaria bueno que sea una opcion que uno elijiese". S30.4 updated: review in the input is the default; "Send when I stop" (switch in the recording strip, stored in localStorage) keeps send-on-stop; the mic button reads "Stop and review" or "Stop and send". `e0010eb`: RED 3 failing → GREEN, pnpm test 593 (the earlier tests now cover the option). Rebuilt, signed, restarted.
- **L104 (2026-10-09, user):** "sube todo esto al repo y fijate el readme de gentle ai como es para copiar el estilo y hacer el propio para Gentle Dot"; choices "Gentleman-Programming/gentle-dot, público" and "main + feat/gentle-dot, y abro el PR (recomendado)"; then "usa la rosa con glow como banner". TruffleHog over the whole history: no verified secrets (unverified hits are masking-test fixtures). README rewritten in Gentle-AI's layout with an honest Security status; banner and divider rendered from the Dot's own rose strokes and glow (`docs/brand/tools/build-banner.mjs`); MIT LICENSE as in Gentle-AI. Created the public repo github.com/Gentleman-Programming/gentle-dot, `main` at the first commit `5ec596c`, pushed `feat/gentle-dot` (153 commits, 286 files, +57,416), and opened PR #1 (single-pr). Merge is the user's decision.
+- **L110 (2026-10-09):** T23b done (`1c345b5`): `secure_store` (Keychain via security-framework, items created by the signed app; Secret Service on Linux, not compiled here; in-memory fake; redacted `Secret`), `approvals` (one native dialog at a time, full sanitized preview, Decline is the default button, 120 s timeout declines, `abortModal` for a stale dialog), and advisory A2 from L75 applied: computer-control grant, risky-action, and yolo dialogs default to their refusing button (Return no longer approves). A real Keychain put/get/delete under a throwaway service passed with no prompt and left no item. Open advisories for T23c/T23d: a same-user process can delete items (DoS, fail closed) or plant an item before the first put; `get` does not verify the item's ACL; item ids are readable. T23a (proxy) still running: sign-in moves to a daemon-owned `<data>/connector-signin/` home, protected like today's credential files.
- **L109 (2026-10-09):** S25 map (explorer without web; platform facts inferred): any WebSocket client with `<data>/token` can answer approvals and also switch a connector to read and send, connect, or remove it (bridge.ts:253-273); pi-mcp 1.0.4 is client-only (stdio, streamable HTTP, OAuth with an injectable state store), so the daemon writes its own MCP server side, as the Rust computer helper already does (plain JSON over POST, accepted by the engine); a Keychain item created through the `security` CLI does not protect from the agent, one created by the signed app does; Linux Secret Service has no per-caller ACL. User choices: "Mac primero, Linux documentado (recomendado)" and "Motor con otro usuario + PIN (recomendado)". S25 refined into S25.1–S25.8 and T23a–T23h; T23a and T23b launched in parallel. Also: T34 done (`7a8773c`, native buffers for Apple Speech) and Voice language in Settings (`b2b2c79`) after the writer found the Mac is set to en-US, so Apple Speech always listened in English; app rebuilt, signed, restarted.
- **L108 (2026-10-09, user):** "merge" — PR #3 merged (`231f413`). Then "da a todos" for: Apple Speech with native buffers (S30.6/T34, writer launched), S25 (T23, read-only map launched in parallel), and the real-hardware checks (need a second Mac, an x86_64 PC, and GNOME/Hyprland desktops: handed to the user and testers as a checklist).
- **L107 (2026-10-09):** User: "merge el pr" — PR #2 merged (`0c3a7a3`). T33 done (`2d1f5e4`): `shortcut_get`/`shortcut_set` (panel only), pure `shortcut.rs` rules, apply = register new → save → release old → tray label, rollback when saving fails, config.json read-modify-write 0600, Settings screen with a capture-phase recorder (event.code, so ⌥ does not change the key). Parent changes: the writer's proposal to refuse Shift-only combinations adopted (S33.2 updated: Shift+K would capture capital K everywhere); a pre-existing crash in VoiceModel on a null status (6 unhandled rejections making `pnpm test` exit 1) fixed (`bd819a8`). Known limits: macOS may accept a system-reserved combination (e.g. ⌘Space) that never fires; a combination already global cannot be recorded in the webview. Rebuilt, signed, restarted.