A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.
TypeScript
docs(odd): record T20 evidence
Alan Buscaglia91002765bac2
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.mdindex f9a7e35..7cbc0e9 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| 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 || T18 | S18–S20 | explore (delegated, read-only) → spec details → implement | in progress | — | Connectors: map the engine's MCP integration and the providers first || T19 | S22 | inline or delegated after T17 (same files) | pending | — | Single continuous chat: hide conversations, transparent session rotation, recent-only history |-| T20 | S23 | delegated writer, after T17 (the runtime refused it in parallel: test surface overlap with T17's `packages/daemon/test/**`) | in progress | — | Global Engram, project gentle-dot |+| T20 | S23 | delegated writer, after T17 (the runtime refused it in parallel: test surface overlap with T17's `packages/daemon/test/**`) | done | `823363e`, follow-up `400ec73`; parent re-ran 235 tests, typecheck, e2e 12/12 | Global Engram, project gentle-dot || 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 |Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `rustc` is not, so T7 must first install or repair the Rust toolchain (rustup) and asks before installing. Xcode is present.@@ -145,4 +145,5 @@ Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `r- **L39 (2026-10-08, user):** "y que pasa con engram? veo que no usa el engram total puede ser ? el global qiuero decir, estaria bueno que use el global y que siempre escriba en un proyecto llamado gentle-dots" then "gentle-dot perdon". The parent found that Engram's Go code reads `ENGRAM_DATA_DIR` and `ENGRAM_PORT` and has `ENGRAM_PROJECT` with a `process_override` project source, and that the Pi plugin reads `ENGRAM_URL`, `ENGRAM_PORT`, and `ENGRAM_BIN`, with project override support unverified. T20 was launched in parallel with T17.- **L40 (2026-10-08, T17 evidence):** RED → GREEN in two batches (18 failing → 125/125; S21 10 failing → 136/136), plus two bridge races found and fixed: a send right after `new_conversation` was wiped by the late history (reproduced 5/5 with a Playwright WS capture, 4/4 after the fix), and stale history is re-read up to twice. Exceptions: no Playwright RED for the new e2e, and the gateway race test was written after the fix. Final: 227 tests, typecheck, e2e 12/12 in two consecutive runs; lint is green after the parent excluded `test-results` and `playwright-report` in biome.json. Decisions: the primary button text is `#1a1218` on `#f095c8` (8.60:1; white is 2.13:1, the site's `#f6eff3` 1.89:1); the daemon does abort-then-switch with a 10 s bounded wait; errors and stops appear inline (`message_done.error`/`stopped`) and the error toast was removed. Open: design.md §4/§6 still describe the old payloads and violet tokens; a residual race (a get_history requested before new_conversation arriving after the new history). The user's app was rebuilt and restarted with T17.- **L41 (2026-10-08, T20 decision):** The writer found that the Pi memory plugin has no per-client project override, and `ENGRAM_PROJECT` applies to the engram server process, so it would hijack every client of the global server. The supported per-directory override is `<workspace>/.engram/config.json` `{"project_name":"gentle-dot"}` (Engram detection step 0, source `config`). Parent decision: the agent's cwd is always the daemon-owned workspace that holds this config. A user-configured `workspace` becomes a preferred-folder instruction (an extra `--append-system-prompt`) instead of the cwd, so nothing is written into user folders and the project is always `gentle-dot`. Approved editing of the env-assertion block in `gateway.test.ts` (T17 finished).-- **Next step:** T20 (running); then T19 (continuous chat) and T18 (connectors); docs §4/§6 refresh; then T14 (Linux).+- **L42 (2026-10-08, T20 evidence):** The child gets `ENGRAM_DATA_DIR=<real ~/.engram>` (gentle-engram 0.3.0 accepts a server only when `<data dir>/.instance-id` matches `/health`, `index.ts:580-649`), and the user's `ENGRAM_URL`/`ENGRAM_PORT` are kept. The project comes from `<data>/workspace/.engram/config.json` `{"project_name":"gentle-dot"}` (Engram detection step 0). A custom workspace becomes `preferredFolder` (an extra `--append-system-prompt`, never the cwd, nothing written in it). `GENTLE_DOT_ENGRAM=private` keeps the old private mode. RED 9 → GREEN 49/49. Probe against a stand-in global server: observation saved under `gentle-dot`, HOME hash identical, no private `.engram` created. Parent follow-ups (`400ec73`): the identity now pins memory to project `gentle-dot` (an explicit `project` in mem_save would otherwise win), and the stale `GENTLE_DOT_WORKSPACE` was removed from the Dockerfile, entrypoint, and e2e serve (`sh -n` OK, e2e 12/12). Docker build not re-run because Docker Desktop is stopped. On the user's Mac: the app restarted, the old private Engram (PID 93883, `~/.gentle-dot/home/.engram`) was stopped by PID with nothing listening on 7438, and the global server resolves `~/.gentle-dot/workspace` to project `gentle-dot` (source config). Memories saved earlier in the private store were not migrated (test data from today; the DB file is left in place).+- **Next step:** T19 (continuous chat) and T18 (connectors); docs §4/§6 refresh; a Docker build check when Docker runs; then T14 (Linux).