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 T33 (L107)

Alan Buscagliad9accd8e5b68
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.md
index 51f291f..4241533 100644
--- a/odd/tasks/gentle-dot.md
+++ b/odd/tasks/gentle-dot.md
@@ -130,7 +130,7 @@ Branch: `feat/gentle-dot` · Delivery strategy: `single-pr` (user choice, L7; fo
- **S33 — Choose the shortcut in the app (L106).** User: "sacalo y creo que deberiamos de cambiar por otra cosa, que uno pueda configurar su atajo no siempre space"; placement choice "Nueva pantalla de ajustes (recomendado)". Today the shortcut is read once from `~/.gentle-dot/config.json` `"shortcut"` (config.rs:55) and changes need a restart.
- **S33.1 Settings screen.** A gear icon in the panel header opens "Settings" (desktop panel only; the web UI shows no gear for now). It holds "Keyboard shortcut" and is where later options will gather.
- - **S33.2 Record a shortcut.** "Change" starts recording: the user presses a combination, shown with macOS symbols on macOS (⌘ ⌥ ⌃ ⇧) and names elsewhere; Esc cancels recording without hiding the panel; a combination needs at least one modifier unless it is a function key; the computer-control panic shortcut ⌥⇧Esc and combinations the system or another app already holds are refused with a clear reason. "Reset to default" restores ⌥ Space.
+ - **S33.2 Record a shortcut.** "Change" starts recording: the user presses a combination, shown with macOS symbols on macOS (⌘ ⌥ ⌃ ⇧) and names elsewhere; Esc cancels recording without hiding the panel; a combination needs ⌘, ⌥, or ⌃ unless it is a function key (L107: Shift alone would capture typing); the computer-control panic shortcut ⌥⇧Esc and combinations the system or another app already holds are refused with a clear reason. "Reset to default" restores ⌥ Space.
- **S33.3 Applies at once and persists.** The app registers the new shortcut and unregisters the old one immediately (no restart), keeps the old one if the new one cannot be registered, saves it to `config.json` preserving every other key (private mode), and updates the tray's "Open" item.
## Tasks
@@ -179,7 +179,7 @@ Branch: `feat/gentle-dot` · Delivery strategy: `single-pr` (user choice, L7; fo
| T30 | S31 | delegated writer, parallel with T29c (surface `packages/**`); independent verifier (high: authenticated upload writing to disk) | done (verified, real Mac pending) | `8a79b48`, drop handler `2e9b087`; RED → GREEN; 2 mutation checks; parent re-ran pnpm test 562 | Attach files to messages: upload, workspace storage, images to the model |
| T31 | S32 | delegated writer, parallel with T29c | done (real Mac pending) | `d0b63ce`; RED 16 failing → GREEN; parent re-ran pnpm test 579 |
| T32 | S24.10 | inline, after T31 | done (real NaN check pending) | `d9f0fa8`; RED 2 files failing → GREEN; pnpm test 584 | Model picker in the chat |
-| T33 | S33 | delegated writer (context backstop; Rust + UI) | in progress | — | Settings screen with a recordable, live-applied shortcut |
+| 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 |
| 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 |
@@ -292,6 +292,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.
+- **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.
- **L106 (2026-10-09, user):** "porque tiene un space el banner?"; then "sacalo y creo que deberiamos de cambiar por otra cosa, que uno pueda configurar su atajo no siempre space"; placement "Nueva pantalla de ajustes (recomendado)". Banner regenerated without the key chip and README names ⌥ Space as the default (`2556674`, in PR #2). Recorded as S33/T33.
- **L105 (2026-10-09, user):** "merge". PR #1 merged with a merge commit (`ae9e9e9`) to keep the work-unit commits; no CI checks exist on the repo yet. The README and banner are live on main.
- **Next step:** the user's check of review-before-send, live text, the model chip at launch, and NaN with computer control; then Apple Speech fed with native buffers; S25 before a stable release; T30 verifier verdict; the T29c UI hook (download button, "Transcribing…"); drag-drop handler; pin sherpa-onnx libs; rebuild for a real-Mac round; the T29c UI hook; pin sherpa-onnx libs in packaging; drag-drop handler change; T29c, T31, T30 verdict; then the T29c UI hook, the drag-drop change, and a rebuild for a real-Mac round; 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.