Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

Merge branch 'feat/settings-help-tooltips'

vastsa3eee8086321b
diff --cc docs/spec/08-meta/decisions-log.md
index 6563ad956,0da6be692..08cad88cd
--- a/docs/spec/08-meta/decisions-log.md
+++ b/docs/spec/08-meta/decisions-log.md
@@@ -6401,17 -6401,25 +6401,39 @@@ that was sitting at the bottom — incl
glyphs remain. See ADR 0298, `04-ux/06-settings-ia.md`,
`04-ux/07-ui-design-system.md`, and E2E-126.
+## 2026-09-20 — Stdio MCP spawn uses the login-shell PATH (D600, issue #571)
+
+- Finder/Dock launches Electron with `/usr/bin:/bin:/usr/sbin:/sbin`. User MCP
+ stdio spawn copies that PATH and uses `shell: false`, so a market-installed
+ Fetch server (`uvx mcp-server-fetch`) failed with `spawn uvx ENOENT` even
+ when `uvx` worked in a terminal. Same hole for `npx`.
+- Electron main now probes the login shell the way host-core already does for
+ Bash (ADR 0045): `$SHELL -lic 'printf %s "$PATH"'`, 5s-bounded, cached, last
+ stdout line only. Well-known user bin dirs that exist (`/opt/homebrew/bin`,
+ `~/.local/bin`, `~/.cargo/bin`, …) are merged in. Windows stays on the
+ inherited PATH. Command names stay bare; arguments stay literal.
+- A missing executable is reported as `command not found: <name>` instead of
+ a raw `spawn uvx ENOENT`.
+- See ADR 0045, `03-runtime/03-tools-and-permissions.md`, issue #571.
+ ## 2026-09-20 — Settings explain themselves on demand (D601)
+
+ - Decision D601 is renderer-only. A settings row no longer carries a permanent
+ second line of prose under its title: `SettingsRow.description` is a string
+ that renders behind the question mark beside the title, and `SettingsCard`
+ gains the same `description` for a card heading. `HelpIcon`
+ (`components/ui.tsx`) is the single affordance — a real button, so a keyboard
+ reaches the sentence a pointer hovers, and the sentence itself is its
+ accessible name. `Field`'s `hint` moved to it as well.
+ - A row's live value is not an explanation and stays visible: the pinned
+ default model travels through the new `SettingsRow.detail`, and
+ `NetworkProxySection`'s local copy of the row skeleton is gone in favour of
+ the shared one, so the retired line cannot return through a second renderer.
+ - The mark is a sibling of the element it explains wherever that element is a
+ heading, because a nested button joins the heading's accessible name. A
+ settings `Field` is the deliberate exception: its hint stays inside the
+ `<label>`, so the field's accessible name carries the sentence too. Moving it
+ out would cost click-to-focus on every field, which a longer name does not
+ justify.
+ - No IPC channel, host protocol, storage schema, persisted setting, or i18n key
+ changed: every sentence keeps its key and only its placement moved. See
+ `04-ux/06-settings-ia.md` and `04-ux/07-ui-design-system.md`.