Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
Merge pull request #2270 from caulif/fix/macos-background-exit-cleanup
vastsa1593e7f31aee
diff --cc docs/spec/06-delivery/04-e2e-test-plan.mdindex dde0b3a75,4f5bcabbc..4933cb207--- a/docs/spec/06-delivery/04-e2e-test-plan.md+++ b/docs/spec/06-delivery/04-e2e-test-plan.md@@@ -20530,12 -20504,13 +20530,15 @@@ Scenario: E2E-REVIEW-ROUNDS (local deskPlan-mode access is rejected.- Runtime tests cover new input/parent abort during a pending Host wait, lateHost rejection, old Host/remote capability behavior, conflicting/malformed- delegation selectors and mixed Bash selector rejection, existing delegation- controls and registration without a subagent catalog.+ delegation selectors, harmless Bash defaults and conflicting/malformed Bash+ selector rejection, existing delegation controls and registration without a+ subagent catalog. Plain-job timeout/abort cases remain intact; additional+ cases exercise both `all` and `any` defaults through those same lifecycles.- Host tests cover pre-settled observation, repeatable output, Unicode clipping,ownership lookup, idempotent stop and stop acknowledgement before termination.+ On macOS, after a successful group stop and child exit, check that a cleanup+ denial followed by a missing group settles as stopped; a persistent denial+ or still-present group must retain the cleanup failure.Existing Windows child/grandchild cleanup tests remain required; record nativefailures separately from protocol success.- Exercise a late stop with an already reaped child before the supervisor drains the pipes. Verify the original exit outcome, final output and stable elapsed time across reads. Stall capability discovery or the first Host observation to exercise the overall wait deadline. The Electron transcript fixture renders a pending Bash stop and a mixed job list.