A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.
TypeScript
docs(odd): record T30 and the NaN 524 errors (L94)
Alan Buscagliaf02a30c1f274
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.mdindex 145aa92..b5b2d1f 100644--- a/odd/tasks/gentle-dot.md+++ b/odd/tasks/gentle-dot.md@@ -170,8 +170,8 @@ Branch: `feat/gentle-dot` · Delivery strategy: `single-pr` (user choice, L7; fo| T29a | S30.1 | delegated writer, parallel with T29b (surface `apps/desktop/src-tauri/**`) | done (real Mac pending) | `93ee637`; RED 39 compile errors → GREEN; parent re-ran cargo test 259 | Native macOS speech recognition commands and events || T29b | S30.2–S30.4 | delegated writer, parallel with T29a (surface `packages/**`) | done (real Mac pending) | `fd7c25f`; RED → GREEN; parent re-ran pnpm test 520 | Daemon OpenAI-key transcription/TTS, mic button, spoken replies || T29c | S30.5 | delegated writer (Rust: engine, download, commands), parallel with T30; UI hook after T30 | in progress | — | Optional Parakeet local model via sherpa-onnx: download, verify, remove, prefer |-| T30 | S31 | delegated writer, parallel with T29c (surface `packages/**`) | in progress | — | Attach files to messages: upload, workspace storage, images to the model |-| T31 | S32 | queued after T30 (same surface: chat UI, bridge) | pending | — | Model picker in the chat |+| T30 | S31 | delegated writer, parallel with T29c (surface `packages/**`); independent verifier (high: authenticated upload writing to disk) | done (verify running) | `8a79b48`; 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 | in progress | — | Model picker in the chat || 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 |@@ -273,4 +273,5 @@ Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `r- **L91 (2026-10-09, user):** "y una cosa mas :) la posibilidad de pasar archviso por chat, eso estaria genial"; choice "Solo yo al agente". Checked: the engine's RPC prompt accepts `images?: ImageContent[]` (pi-coding-agent rpc-types.d.ts:18-29) and the WebSocket caps messages at 1 MiB (daemon.ts:197), so uploads go over HTTP. Recorded as S31/T30, queued after T29b.- **L92 (2026-10-09):** T29a done (`93ee637`): SFSpeechRecognizer (SpeechAnalyzer is Swift-only), native 16 kHz mono capture behind a `Recognizer` trait, Info.plist usage strings, `voice` capability for the panel only. T29b done (`fd7c25f`): protocol voice messages and capability, daemon VoiceService using only an OpenAI API key (`checkAuth("openai").type === "api_key"`; the ChatGPT sign-in is refused), mic button, source choice, spoken replies, mute. The lint failure T29b reported was T29a's capabilities formatting, fixed. User: "una cosa mas, no veo para conectar NaN, fijate que si lo tenemos en gentle shell, hasta tenemos nuestro propio plugin". Cause: the Accounts screen's ModelRuntime runs without gentle-pi's extensions, and NaN is registered by `extensions/nan-provider.ts`. Fix `627f2ad`: the daemon registers gentle-pi's NaN provider as a native provider, loaded through jiti 2.7.0 (gentle-pi ships TypeScript inside node_modules); RED → GREEN, pnpm test 521; jiti added to the runtime's dependencies. App restarted.- **L93 (2026-10-09, user):** "una cosa mas, da la posibilidad de cambiar los modelos en el chat mismo". Checked: the engine RPC has `get_available_models`, `set_model`, `set_thinking_level` (rpc-types.d.ts:45-56) and profile apply already switches live (profiles.ts:670-698), so this is mostly UI. Recorded as S32/T31, queued after T30.-- **Next step:** T29c (Rust) and T30 in parallel, then the T29c UI hook and T31, then a rebuild for a real-Mac round of voice, files, and the model picker; 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.+- **L94 (2026-10-09):** T30 done (`8a79b48`): `POST /upload` (Bearer only, WS Origin allowlist, CORS preflight), streaming limits with cleanup, private modes, one-time uploads, `<attachments>` block in the prompt hidden from history, images only when the model accepts them. Pending parent change after T29c: `.disable_drag_drop_handler()` on the panel's WebviewWindowBuilder (shell.rs) so HTML5 drops reach the panel. Verifier launched on 4e2efc5..8a79b48; T31 writer launched. User: "con deepseek v4 no anda de NaN". daemon.log: signed in to nan (api_key) at 10:57, then three `assistant error: 524` Cloudflare "A timeout occurred" responses (11:02, 11:04, 11:15) with model `nan/deepseek-v4-flash`; a 524 means NaN's origin did not answer within Cloudflare's limit. Not yet known whether NaN was slow for everyone or for this request (large prompt/tools).+- **Next step:** NaN diagnosis with the user; 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.