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 T28d and the T28e identity (L84)

Alan Buscaglia7776b0d4b47f
diff --git a/odd/tasks/gentle-dot.md b/odd/tasks/gentle-dot.md
index 7399f67..6fd2f1e 100644
--- a/odd/tasks/gentle-dot.md
+++ b/odd/tasks/gentle-dot.md
@@ -145,9 +145,9 @@ Branch: `feat/gentle-dot` · Delivery strategy: `single-pr` (user choice, L7; fo
| 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) | 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 |
+| T28d | S29.1, S29.2, S29.4 | delegated writer, parallel with T28f | done | `546aa92` | Tauri macOS resources + DMG + `pnpm package:mac`; launch from /Applications copy |
+| T28e | S29.2 | inline; user consented (L84) | in progress | `5ec1d25` script; DR comparison running | Self-signed identity; compare the designated requirement across two builds |
+| T28f | S29.3 | delegated writer, parallel with T28d | in progress | — | Linux .deb (arm64, amd64) and Arch PKGBUILD in containers; clean install smoke |
| T28g | S29.4 | last | pending | — | docs/install.md; Hyprland snippets point at /usr/bin/gentle-dot |
| T22 | S18 (hardening, L47 B1/B2) | delegated writer | done (accepted with documented gaps, L52) | `8651bba`; parent re-ran 328 tests + typecheck | Option A: authoritative in-memory connector state with revert, credential reads blocked, path-independent bash checks, full approval preview, redirect manual, private Engram stop, onboarding overlap fix |
| T23 | S25 | explore → spec → implement (stage 2) | pending | — | Daemon-side MCP proxy with Keychain tokens |
@@ -240,4 +240,5 @@ Environment notes: Node v24.14.1 and pnpm are present. `cargo` is on PATH but `r
- **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.
- **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.
+- **L84 (2026-10-09):** T28d done (`546aa92`): `pnpm package:mac` → `Gentle Dot_0.1.0_aarch64.dmg` 111.2 MB (app 368 MiB); runtime injected with `tauri build --config` (a resource in tauri.macos.conf.json would be copied on every cargo build and fail without a staged runtime); nested Mach-O signed inside-out except `gentle-ai`, whose sha256 gentle-pi checks; codesign --verify --deep --strict valid; mounted-DMG copy smoke idle in 23.1 s and read-only smoke ok, 0 runtime changes; ad-hoc DR changed between builds (57c5… → 43e0…). Biome now ignores `build/` and `.cache/`. Quarantine/Gatekeeper on a downloaded DMG still needs a real second Mac. User consented to T28e ("Sí, crealo"): identity "Gentle Dot Local Signing" created in the login keychain; the trust step was not needed (codesign signs with the untrusted identity and the DR reads `certificate leaf = H"4611e0a8…"`), so the script skips it. Two signed builds running to compare the DR.
+- **Next step:** T28e DR comparison, T28f, then T28g docs; 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.