Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
ADR 0278: Canonical Application ID net.aiuo.pi-desktop
- Status: Accepted
- Date: 2026-09-17
- Amends: D141, D371, ADR 0204
- Related: Issue #524 · E2E-196b
Context
The product advertised com.pi-desktop.app although the owner domain is
net.aiuo.pi-desktop, and default unsigned macOS packs left Electron's adhoc
signature on PI-Desktop.app, so usernotificationsd refused every request for the
product bundle ID (issue #524). Adhoc signing itself is not the defect: the identifier
must equal CFBundleIdentifier.
Decision
- The canonical application ID is
net.aiuo.pi-desktop, used asAPP_ID, electron-builderappId, macOSCFBundleIdentifier, the unsigned-helper bundle ID, and the Windows AppUserModelID, withnet.aiuo.pi-desktop.devon development macOS hosts. - NSIS and AppUserModelID follow the same ID, so existing
com.pi-desktop.appinstalls become a new identity. - Unsigned GitHub macOS packs do not re-sign the outer bundle, because an
afterPackadhoccodesignfails while nested helpers are unsigned; issue #524 stays open on that lane.
Consequences
- Unsigned macOS artifacts keep Electron's outer identifier, while signed builds use Developer ID with the product bundle ID.
- Windows upgrades from a
com.pi-desktop.appinstall appear as a new product identity, possibly with a parallel shortcut.
Alternatives
- Keep
com.pi-desktop.appand only re-sign — rejected: the owner domain isnet.aiuo.pi-desktop.