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 T23f and T23g results

Alan Buscaglia135aaaabc5e8
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.md
index 6d0b3af..352d6d4 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) | 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 |
+| T23f | S25.4 (subagents) | delegated writer, parallel with T23g | done (verified, B1 fixed and rechecked) | `e9869d4`, `b6e235d` | Enable subagents again behind the proxy; real-engine probe |
+| T23g | S25.7 | delegated writer (Rust Linux + containers), parallel with T23f | done, independent verifier running | `837a42d` | 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.
+- **L127 (2026-10-10):** T23f done (`e9869d4`): subagents on by default (`GENTLE_DOT_SUBAGENTS=off` opts out); children load the approval guard through a daemon-written, protected shim in `<agentHome>/extensions/` that is inert outside assistant children and imports the guard from the daemon's install path; no `propose_connector` in children; inherited child markers scrubbed. RED 10 → GREEN 21/21; mutations (inert shim, `&&`→`||`) caught; opt-in offline real-engine probe (`GENTLE_DOT_SUBAGENT_PROBE=1`) passes in ~4 s. Risk tier high (item 2). Independent verifier: one blocker B1, an unwritable `extensions` folder made `enforce()` throw (daemon failed to start with subagents on or off; a planted `.pi/mcp.json` stayed; error logged every second). Correction `b6e235d`: any error placing the shim is reported once, subagents start off, the other checks still run; RED 2 tests → GREEN 9/9; recheck: B1 closed (scenarios A, B, C). Advisories kept: A1 shim written even with subagents off (harmless now), A2 planted `<shim>.<pid>.tmp` symlink (same as `mcp.json` at baseline), A3 children in other worktrees (baseline), A4 up-to-1 s unguarded window and a running engine keeps subagents on until its next start (documented), A5 probe uses a launcher fixture, not full gentle-shell. T23g done (`837a42d`): Linux crate 379 tests + clippy in the container; Secret Service put/get/delete against GNOME Keyring; no bus/no provider → Unavailable with the keyring reason; locked keyring → Denied fast; 120 s prompt bound; the app marks other fds close-on-exec in `pre_exec` (`close_range`, fcntl fallback); Node marks fd 3 CLOEXEC at startup so no daemon child holds the channel (strace; package smoke on debian and ubuntu: other holders none); same-user keyring limit documented (install.md, design.md, README, linux-testing step 17). Parent added the daemon side of the writer's finding: an app error starting `the secret store is unavailable: ` becomes `SecretsUnavailableError`, so the assistant names the missing keyring instead of "Could not reach X right now" (RED 1 → GREEN). Checks at `837a42d`: cargo test 385 passed 4 ignored, pnpm test 734 passed 6 skipped, typecheck, tracked lint clean. Not run: the GTK approval dialog on a real Linux desktop (S25.3 on Linux, tester step 17), KWallet, amd64. **Next step:** T23g verifier verdict, then T23h.
- **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.