Skip to content

A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.

TypeScript

docs(odd): start T23f and T23g (L126)

Alan Buscaglia60e241855196
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.md
index 433f88c..6d0b3af 100644
--- a/odd/tasks/gentle-dot.md
+++ b/odd/tasks/gentle-dot.md
@@ -205,8 +205,8 @@ Branch: `feat/gentle-dot` · Delivery strategy: `single-pr` (user choice, L7; fo
| T23c | S25.1–S25.3 | delegated writer (Rust + TS), parallel with the T23a/b verifier | done (verified; B2 fixed `4d1eafb`; real Mac pending) | `8ac11aa`; RED across protocol, daemon, Rust, UI → GREEN; 4 mutation checks; pnpm test 658, cargo test 366 | Private app channel (socketpair on fd 3); privileged actions and native approvals only through it |
| T23d | S25.5 (daemon side) | delegated writer (Rust + TS; context backstop) | done (verified, no blockers; A1 fixed, L117) | `8b29bab`, e2e `c6d7c6f`; RED → GREEN; pnpm test 669 (8 clean full runs), cargo test 369, e2e 17 | OAuth in the daemon with the app-backed store; migration from files |
| T23e | S25.6 | delegated writer (TS; context backstop) | done (verified; A1/A3 fixed, L120) | `9925c39`; RED 17 failing → GREEN; mutation check; pnpm test 688 ×2, e2e 17 | connectors.json HMAC |
-| T23f | S25.4 (subagents) | after T23c | pending | — | Enable subagents again behind the proxy; real-engine probe |
-| T23g | S25.7 | after T23d | pending | — | Linux: Secret Service store and documented limit |
+| T23f | S25.4 (subagents) | delegated writer, parallel with T23g | in progress | — | Enable subagents again behind the proxy; real-engine probe |
+| T23g | S25.7 | delegated writer (Rust Linux + containers), parallel with T23f | in progress | — | Linux: Secret Service store and documented limit |
| T23h | S25.8 | after T23c | pending | — | VPS: engine as another OS user, encrypted secrets, PIN approvals |
| T35 | S35.1 | inline | in progress | — | No jiti cache inside the bundle |
| T36 | S35.2, S35.3 | delegated writer (daemon + Rust daemon spawn), parallel with T37/T38 | in progress | — | Daemon lifetime and engine home ownership |
@@ -324,6 +324,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.
+- **L126 (2026-10-10, user):** "Sigue" (continue with the rest of S25 before the user's Mac checks). T23f (subagents behind the proxy) and T23g (Linux Secret Service, channel inheritance on Linux, documented limit) launched in parallel with disjoint surfaces; T23h (VPS) follows T23f because both touch the daemon's spawn and isolation.
- **L125 (2026-10-10, user):** "Si a tus preguntas". PR #41 merged (`ec44bdb`; closed #8, #21, #22, #25, #28 through its commits). Before acting on the open questions every claim was checked: #16 duplicates the race fixed on main (models-gateway.test.ts:126) → closed with thanks; #14 superseded by the #13 fix on main (`claimEngineHome`, lifecycle tests) → closed with thanks, explaining why its timeout and npmrc changes were left out. The triage's claim about #27 was wrong: its new test fails on main without the fix and passes with it (full suite 720 passed), so instead of asking for a test it was merged (`b12c2cb`) with a note about a tiny duplicate window. #10 and #13 had been closed by their commits without our note; comments naming the closing tests were added. Remaining open: PRs #30 (changes requested), #33 (KSNI, draft), #34-#40 (Niri, asked to stack), #20 (`--toggle-rose`, owner decision); 8 issues (feature requests and proposals).
- **L124 (2026-10-10):** T36 correction batch (`6932a1b`): the app emits `dot://assistant-ready` from `on_ready` after every successful `ensure_running` (Spawn, Attach, ReplaceOrphan) and the panel and Dot ask for their connection again, keeping a connection whose address and key did not change (B1, A3); the pid file is written through a `create_new` 0600 temp file renamed over it, read with `O_NOFOLLOW|O_NONBLOCK` only as a regular file of at most 64 bytes, and pids 0, 1, the app's own, and its parent's are never acted on (B2). Recheck: B1, B2, A3 FIXED, no regressions (cargo test 384, clippy, pnpm test 718; R1/R2/R4 probes rerun: symlinks not followed on read or write, new inode with no leftover temp, own/parent/0/1/FIFO/oversized refused, start time checked before every kill; a SIGTERM-ignoring orphan replaced in 10.08 s, then ready fired once). New advisory A9: a failed `create_new` removes whatever is at its pid-and-nanoseconds temp name (negligible). PR #41 merged next.
- **L123 (2026-10-10):** Independent verifier on 30d532c..8705ab0 (S35): pnpm test 706 ×2, e2e 17, cargo test 377, clippy, typecheck, lint; T35, T37, T38 PASS; T36 FAIL with two blockers: B1 the panel calls `connection_info` once, so after the refusal's exit ("Restart assistant") it keeps showing the refusal until the app is reopened (the realistic #22 upgrade path, since an old orphan has no pid file); B2 the pid file follows symlinks on read and write, is rewritten in place (not atomic), and accepts the app's own pid (the app would SIGTERM itself). PASS within T36: pid plus start time checked before every signal, a mismatched process never signalled, SIGKILL only after 10 s, malformed or unreadable pid files ignored, pid 1 excluded; lifecycle (no respawn when the channel closes during restart, backoff, or start; no channel keeps running); frames over 1 MiB never sent; the engine home marker (#13) exact, `wx`, never on a custom home. Advisories: A1 a microsecond window between the start-time check and `kill` (Linux could use pidfd); A2 `GENTLE_DOT_AGENT_HOME` equal to `<data>/agent` is marked; A3 the worst-case orphan replacement can exceed `connection_info`'s 20 s; A4 T38 releases `note.object()` inside the handler; A5 a SIGKILLed orphan leaves its engine and Engram; A7 "Open in browser" still opens a refused daemon (baseline). One correction batch launched: B1, B2, A3. #41 stays unmerged until the recheck passes.