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 T14 and record the image check

Alan Buscagliae33a89be502e
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.md
index be3538e..3a16293 100644
--- a/odd/tasks/gentle-dot.md
+++ b/odd/tasks/gentle-dot.md
@@ -97,7 +97,7 @@ Branch: `feat/gentle-dot` · Delivery strategy: `single-pr` (user choice, L7; fo
| 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) then delegated writer (context backstop; parallel with T10) | done | see L23; RED → GREEN per layer; parent re-ran 179 tests + typecheck | 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 | S13 | delegated writer (after T15, shares apps/desktop) | pending | — | Linux port of the desktop app: per-platform window effects, tray icon, Wayland fallbacks, AppImage/deb bundles |
+| T14 | S13 | delegated writer (context backstop) | in progress | — | Linux port of the desktop app: per-platform window effects, tray icon, Wayland fallbacks, AppImage/deb bundles |
| T15 | S6, S7, S11, S12, S9 | delegated writers (parallel: daemon/isolation vs. Dot circle) | done | `8626a7d`, `05000c8`, `ac86f64`; limited recheck PASS (L31) | One correction batch for verifier blockers B1–B4 and the S9 circle change, then a recheck limited to them |
| T16 | S10 | inline | done | `7337b52` RED 4 failing → GREEN 14/14 | Accounts in two steps: method first, then provider |
| T17 | S14–S17, S21 | delegated writer (context backstop) | done | `b0ee7ac`; parent re-ran 227 tests, typecheck, lint | Queue display, gentlemanprogramming.com style, typing closes options, header icons |
@@ -169,4 +169,5 @@ Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `r
- **L54 (2026-10-08, T18b verification):** No path found where a value runs a command or expands a variable, or where a connector is added without approval. Escaping covers exactly what the engine resolves (env, headers, `oauth.clientSecret`; `command`/`args`/`cwd`/`url` are not resolved), verified in the real mcp.json (`dummy-token-$!x` → `dummy-token-$$$!x`). Drafts pass (state changes only through a window's `connector_draft_reply`; approved servers are hidden and read-only; max 5). Import passes (read-only, 7 formats, sse rejected; the isolated HOME means `~`-relative credentials are not found). Guided connectors pass (pinned Discord; Slack/Gmail oauth fields valid; the guide's redirect equals the engine's `redirect_uri`). T22 protections are intact. Runs: 362 tests ×2, typecheck, lint, e2e 18/18, both probes. BLOCKER B1: `summarize()` (`connectors.ts:1434-1450`) leaks credentials inside imported args to the `connector_imports` and `list()` payloads (`--header "Authorization: Bearer …"`, URL query keys, userinfo in connection strings, tokens in URL paths); local authenticated windows only, not the model or logs. Advisories: `${input:}` in draft args or URL puts secrets in argv or a model-chosen URL; Gentle Shell `!command` imports run commands without a visible note; the S25 residual includes a custom command server injected while the daemon is down (medium; not blocking before S25); Gmail's `gmail.compose` scope can send; unpinned transitive Discord deps; minor UI and dedupe issues; the self-approval risk via the daemon token (S25). The parent cleaned the scratch dirs. One correction batch is running (B1 + advisories A–E).
- **L55 (2026-10-08, T18b correction + recheck):** Commit `63c8e9c`. B1: `summarize()` masks structurally (URL userinfo dropped, query values masked, long opaque path segments masked, `--header`/`-H` and auth-like header values masked, values after secret-like flags masked, prefix masks kept). Advisories: A, `draftSecretProblem` in the guard (the model gets "Secrets can only go into environment variables.") plus `parseDraft` as a second layer; B, notes for values that run a command or read an env var (never showing the command text); C, accurate Gmail/Slack/Discord copy; D, UI drafts capped at 5 and cleared on `ready`; E, an S25 bullet for custom/imported servers edited while the daemon is down. RED 9 → GREEN; 370 tests ×2, typecheck, lint, e2e 18/18. Parent limited recheck of B1: the five verifier cases (mcp-remote `--header Authorization: Bearer`, `?api_key=`, `postgresql://user:pass@`, a token in the URL path, `--api-key`) produced summaries without the secret while keeping command, host, path, and `--port 8080`; the full suite passed again. Known over-masking (flags containing key or pass). T18 complete.
- **L56 (2026-10-08, user decision on Linux delivery):** "Compilar desde el código (Recomendado)". The app is not self-contained today (build.rs records the node path and the daemon script path of the build machine's repo), so packages built here would not run on the tester's machine. S13 delivery changes: instead of .deb/AppImage artifacts, a per-distro setup script (Debian/Ubuntu via apt, Omarchy via pacman) that installs dependencies (Node 24, pnpm, Rust, WebKitGTK and the Tauri system deps), builds, and launches the app on the tester's machine, plus the testing checklist. A Linux compile check runs in a Debian container here. Self-contained packages (also needed to give the Mac app to others) are deferred.
-- **Next step:** T14 (Linux, from source, with the tester checklist); then T21 (computer control); T23/S25 before any public release; a Docker build check of the server image.
+- **L57 (2026-10-08, Docker check):** The server image builds at HEAD, and a container smoke run reached `idle`, setup 3/3, no token in the logs (only the key file path), and the workspace `.engram/config.json` with `gentle-dot`. T14 was launched (from source, with setup scripts, the tester checklist, and a Debian container build check).
+- **Next step:** T14 (running); then T21 (computer control); T23/S25 before any public release.