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 T10 evidence

Alan Buscaglia2628727defd2
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.md
index 6b9aa2a..10ff052 100644
--- a/odd/tasks/gentle-dot.md
+++ b/odd/tasks/gentle-dot.md
@@ -59,9 +59,9 @@ Branch: `feat/gentle-dot` · Delivery strategy: `single-pr` (user choice, L7; fo
| T6 | S2, S4, S5 | inline | done | `f871c01`, e2e `dc425c0` + `5b466a8`: Playwright 7/7 | Ask cards (select/confirm/input/editor with timeout), toasts, interrupted-run Continue prompt, reconnect with `seq` gap recovery |
| T7 | S1 | delegated writer (parallel units T5/T6 and T7, disjoint surfaces) | done | `81d70c3` cargo test 29/29 (parent re-ran), `tauri build --debug` produced `Gentle Dot.app`; GUI not launched yet (T9) | Tauri 2 app: tray menu, floating Dot window, expand panel, `⌥ Space` shortcut, daemon spawn/attach, position persistence, launch at login |
| T8 | S7 | inline | done | `ee74148` docker build OK, container smoke: health idle, companion setup 3/3 | `Dockerfile`, `compose.yaml`, `docs/deploy-vps.md`, security checklist, video step list |
-| T10 | S9 | delegated writer (context backstop; parallel with the T12 read-only map) | in progress | — | Apply the rose design: Dot surface (transparent rose window ~64×84, traced strokes, glow, traveling light per state), tray template glyph with frames, app icon from the neon rose |
+| T10 | S9 | delegated writer (context backstop; parallel with T12) | done | `a5e1c5b` RED → GREEN: UI 9 failing → 13/13; Rust 17 compile errors → 34/34; tauri build OK; parent re-ran both | Apply the rose design: Dot surface (transparent rose window ~64×84, traced strokes, glow, traveling light per state), tray template glyph with frames, app icon from the neon rose |
| T11 | S10 | explore (delegated) then inline | done | `43a512d` RED → GREEN: 12 daemon auth tests (fake runtime + real offline ModelRuntime), 9 UI tests, e2e 8/8 incl. `/login` + API key connect/disconnect | Login from the UI for subscriptions and API keys (`/login` and a visible option) |
-| T12 | S11 | explore (delegated, running) then implement | pending | — | Profiles: list, create, edit, switch from the UI |
+| T12 | S11 | explore (delegated) then delegated writer (context backstop; parallel with T10) | in progress | — | Profiles: list, create, edit, switch from the UI |
| T13 | S12 | inline | done | `43a512d` config + spawn tests; real smoke without gentle-shell on PATH: own home created, 42 providers, none configured | Bundle `gentle-pi`, own `--home` and profile store, first-run timeout, no PATH dependency |
| T14 | — (evaluation only, L21) | inline | pending | — | Linux port of the desktop app: per-platform window effects, tray icon, Wayland fallbacks, AppImage/deb bundles |
| T9 | S1–S6, S9–S12 | delegated verifier (high risk: process supervision, auth) | pending | — | Full verification: unit, integration, Playwright, `@real-agent`, `tauri build` + launch, manual macOS checklist with observed results |
@@ -91,4 +91,5 @@ Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `r
- **L19 (2026-10-08, T13/T11 evidence):** A smoke run with a fresh data dir and `gentle-shell` removed from PATH started the bundled engine in `<data>/agent`: companion setup passed 3/3, the agent was idle, and `auth_list` returned 42 providers (9 with subscription sign-in: Claude Pro/Max, ChatGPT Plus/Pro and subscription, GitHub Copilot, xAI, Kimi, Meta, OpenRouter, Radius) with none configured. Defects found by the e2e and fixed test-first: (1) "Back to accounts" kept the finished flow on screen; (2) a fresh `ModelRuntime` with `refreshOnCreate: false` did not see stored credentials (verified with a direct probe), so it now refreshes on create, still offline. The real API key flow is one `secret` prompt with no network check, and `auth.json` is written with mode 0600. The Tauri capability adds `opener:default` for sign-in pages; cargo build + 29 tests pass. Dockerfile updated for the bundled engine (chown /app to dot; global `pi` pinned to the bundled version). Risk tier: high (credentials, item 2); independent verification in T9. Not verified: a real OAuth subscription sign-in (needs the user's account in a browser).
- **L20 (2026-10-08, user decision):** "Propios del bot, con importar (Recomendado)": the assistant keeps its own profiles in `~/.gentle-dot`. When the person has Gentle Shell, an "Import my Gentle Shell profiles" button copies them once, and changes made in the assistant never touch Gentle Shell. `/gentle:profiles` takes no arguments (panel only, `extensions/gentle-ai.ts:3606`), so the daemon must manage profiles itself; a read-only map of what applying a profile writes is running. The Docker image with the bundled engine was verified (`8d5a135`): health idle, setup 3/3.
- **L21 (2026-10-08, user):** "Ve evaluando que tan fácil es portarlo para Linux y actualiza el todo". Read-only evaluation: the daemon, UI, protocol, auth, and Docker image are already platform-neutral (the container is Linux). The desktop shell has macOS-only points (`src/shell.rs`): HudWindow vibrancy (macOS/Windows only), the accessory activation policy (already `cfg(target_os = "macos")`), `icon_as_template`, `accept_first_mouse`, the `macos-private-api` feature/`macOSPrivateApi`, Info.plist `LSUIElement`, and `.cargo/config.toml` pinning `/usr/bin/cc`. Linux constraints: on Wayland, apps cannot position their own windows or reliably stay on top, and global shortcuts need the GlobalShortcuts portal, so edge snapping, the floating rose, and Alt+Space are X11-only; on GNOME the tray needs the AppIndicator extension; transparency needs a compositor. Estimate: X11 parity is small (about 1–2 days); Wayland needs fallbacks (a normal window instead of the free-floating rose, a tray-or-panel launcher, a shortcut set by the user in desktop settings). Recorded as T14, pending a go-ahead.
-- **Next step:** T12 after the profile-apply map, integrate T10 after its writer, then T9; T14 when authorized.
+- **L22 (2026-10-08, T10 evidence):** The rose is an inline SVG built from the traced strokes: 178 static outline strokes, with light traveling along the 60 longest (at 64 px the shorter ones read as flicker). Finding: macOS system WebKit does not draw CSS `drop-shadow` on `<g>` inside inline SVG, so the rose is three stacked `<svg>` layers (base, light, sparkles), each with its own glow; verified with `qlmanage` system-WebKit renders. The Dot window is 64×84 with `initial_dot_position` using the real size. There are four tray template glyphs at 18/36 px (working is a static dashed variant, not two frames), plus a neon-rose squircle app icon and the favicon. Reduce motion hides the light layer and keeps a steady glow. Risks for T9: live animation in WKWebView is not yet observed, and the working tray glyph is subtle at 18 pt. The unused `icons/tray.png` was removed.
+- **Next step:** integrate T12 after its writer, then T9; T14 when authorized.