A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.
TypeScript
docs(odd): record T28c (L83)
Alan Buscagliadfca436b4cd8
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.mdindex 2752191..7399f67 100644--- a/odd/tasks/gentle-dot.md+++ b/odd/tasks/gentle-dot.md@@ -144,7 +144,7 @@ Branch: `feat/gentle-dot` · Delivery strategy: `single-pr` (user choice, L7; fo| T28 | S29 | explore (delegated, read-only) → plan → implement | in progress | map done (L81) | Self-contained installers: macOS DMG, Linux .deb and Arch || T28a | S29.1, S29.5 (app launch) | delegated writer, parallel with T28b (surface `apps/desktop/src-tauri/src/daemon.rs`) | done | `84a38a4`; RED 3 failing → GREEN; parent re-ran cargo test 222 | Launch the bundled runtime when present || T28b | S29.1, S29.5 (daemon) | delegated writer, parallel with T28a (surface `packages/daemon/**`) | done | `ea52273`; RED 7 failing → GREEN; parent re-ran pnpm test 440 | Bundled daemon build, runtime-aware paths, Engram resolution, relocatable pi wrapper |-| T28c | S29.1, S29.4 | delegated writer (context backstop) | in progress | — | `scripts/package/stage-runtime.mjs` per target; clean-HOME smoke, read-only tree smoke, size |+| T28c | S29.1, S29.4 | delegated writer (context backstop) | done | see L83; parent re-ran pnpm test 454 | `scripts/package/stage-runtime.mjs` per target; clean-HOME smoke, read-only tree smoke, size || T28d | S29.2 | after T28c | pending | — | Tauri macOS resources + DMG + `pnpm package:mac`; launch from /Applications copy || T28e | S29.2 | needs user consent (creates a signing identity in the login keychain) | pending | — | Self-signed identity; compare the designated requirement across two builds || T28f | S29.3 | after T28c | pending | — | Linux .deb (arm64, amd64) and Arch PKGBUILD in containers; clean install smoke |@@ -239,4 +239,5 @@ Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `r- **L80 (2026-10-09, user):** installer for "Solo para mí y gente de confianza", platforms "macOS y Linux". Recorded as S29/T28; read-only map launched.- **L81 (2026-10-09):** T28 map (explorer without web; parent re-checked): ship a full Node 24 distribution (first run does `npm install --prefix <agentDir>/npm`; Discord uses `npx`); SEA and bun compile do not fit (the daemon re-executes `process.execPath` with gentle-shell.mjs and the pi CLI; gentle-pi loads extensions/skills from disk via jiti); per-platform dependency installs (ffi-rs N-API, fff-bin, the `gentle-ai` Go binary from gentle-pi's postinstall with mode 0700); the pnpm `.bin/pi` shim is not relocatable; Engram ships as a fallback binary (MIT, goreleaser darwin/linux amd64/arm64). Verified on the web: macOS 15 removed the Control-click Gatekeeper override (developer.apple.com/news/?id=saqachfa); a persistent self-signed identity keeps TCC grants across updates while ad-hoc does not (github.com/duongductrong/Snapzy docs/SELF_SIGNED_CERT.md). Plan as T28a–T28g with the S29.5 layout as the contract; T28a and T28b launched in parallel. Risks: the engine writing into a read-only package tree, first-run network dependence, Engram version skew on ~/.engram, amd64 under emulation.- **L82 (2026-10-09):** T28a done (`84a38a4`). T28b done: `build:runtime` (esbuild ESM bundle of daemon + protocol, engine external, lockfile-exact `package.json`, relocatable `bin/pi`), runtime-mode UI/engine/pi paths, Engram resolution passed as `ENGRAM_BIN`, `--self-check`; smoke: `bin/pi --version` → 1.0.4 from a hand-built runtime. Advisory: the login-shell lookup for Engram runs synchronously with a 5 s timeout at daemon start. T28c launched; its smoke must use a private Engram on a temp port so it never touches the user's 7437 server or ~/.engram.-- **Next step:** T28c, then T28d and T28f; grant both permissions, take a screenshot (the Dot must be absent), click and type in a harmless app, a risky "Send" confirmation, ⌥⇧Esc panic, a blocked app (System Settings), and `screencapture -x /tmp/t.png` from the agent's bash must fail (R1); the community tester runs docs/linux-testing.md when the user shares it; T23/S25 before any public release.+- **L83 (2026-10-09):** T28c done: `pnpm package:runtime --target darwin-arm64` stages 346.4 MB (408 MB on disk: daemon/node_modules ~267 MB, Node ~128 MB, Engram 20 MB) in 11 s with cache; Node 24.14.1 and Engram 3.2.1 (latest release; the user's is a dev pseudo-version) checksum-verified; refuses non-host targets. Clean-HOME smoke (`scripts/package/smoke-runtime.mjs`): idle in 23.1 s, private Engram on a temp port from `<rt>/bin/engram`, first-run npm install of the companions, 0 runtime files changed. Read-only smoke: idle, 0 changes, no EACCES/EPERM (risk R1 cleared). Fix: the engine gets a private TMPDIR when none is set (jiti cached in shared /tmp/jiti). Notes for later: transitive deps resolved by npm at staging; `.nvmrc` says only "24"; the engine log says "Gentle AI sends anonymous usage metrics" (privacy/white-label to review); size trims possible (esbuild ~21 MB, @shikijs/cli 17.6 MB). Scratch removed.+- **Next step:** T28d (DMG) and T28f (Linux) in parallel; T28e needs the user's consent; grant both permissions, take a screenshot (the Dot must be absent), click and type in a harmless app, a risky "Send" confirmation, ⌥⇧Esc panic, a blocked app (System Settings), and `screencapture -x /tmp/t.png` from the agent's bash must fail (R1); the community tester runs docs/linux-testing.md when the user shares it; T23/S25 before any public release.