Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
fix(mods): resolve Goal PR conflicts with current main
new-Beginner28dcdd4db1e0
diff --cc docs/spec/06-delivery/04-e2e-test-plan.mdindex 2ef76b1c6,5de406860..40b2349d4--- a/docs/spec/06-delivery/04-e2e-test-plan.md+++ b/docs/spec/06-delivery/04-e2e-test-plan.md@@@ -20843,16 -20875,30 +20875,44 @@@ does not qualify native Electron interaBuild two actual runtimes with identical configuration and different scratch directories. Their leading runtime system sections match; each trailing context retains its own path. Check PowerShell/POSIX guidance and custom system prompt behavior. Coverage: runtime.test.ts. No paid provider requests or cache-hit claims.+#### E2E-ISSUE-2350: Delegation connector centers and stem endpoints++- Serve `apps/desktop` locally and open+ `test/fixtures/subagent-connector-layout.html` in a browser. This isolated+ fixture loads the production stylesheet and publishes `window.layoutResult`.+- Verify `passed: true` and an empty `errors` array across mixed-height+ 70/88/112px cards, a single card, and both 760px and 420px topology widths.+ Branches meet card centers, vertical segments remain continuous and end at+ the outer branch centers, and narrow incoming lines share the stem axis.+- Repeat the rendered delegation user path with running/settled workers and+ wrapped descriptions; preserve detail navigation, Stop and responsive layout.+- Qualification: isolated Chromium geometry checks cover this layout regression;+ installed-client and live-provider checks remain separate.+++ ### E2E-GOAL-completion-channel: Completion and blockers stop autonomous rounds++ - **Environment**: Isolated Host data and `PI_DESKTOP_AGENTS_DIR`, production+ sidecar/proxy, production Main claim/settlement services, deterministic+ loopback-only model endpoint; no real provider or user Desktop instance.+ - **Command**: After JS/runtime and Host builds, run+ `node scripts/e2e-goal-completion.mjs` with `PI_SCRATCH_DIR` and+ `PI_DESKTOP_HOST_BIN`. `PI_DESKTOP_SIDECAR_ENTRY` can select the sidecar+ extracted from the installer for payload validation.+ - **Steps**: Submit a completed report with the Goal artifact, a legacy+ summary/artifact call, a blocked report with unfinished evidence, and a+ completion-channel failure. Also complete a stage with a real Bash exit gate.+ Repeat settlement and restart the isolated Host for each scenario.+ - **Expected**: Success reaches `finished`; blocked remains non-success+ `waiting/blocked` with durable outcomes/reason; infrastructure failure emits+ `MODE_COMPLETE_STAGE_FAILED` and settles `waiting/error`. Each scenario uses+ exactly one model request, returns `continue: false`, releases its claim,+ and schedules no next autonomous round. Gate results traverse the production+ proxy and use Host-recorded execution, not a model verdict. Restart preserves+ terminal/waiting state; duplicate settlement cannot recharge accounting.+ - **Companion negatives**: Runtime/Host tests cover invalid/oversized reports,+ original exit gates, stale/cross-session claims, paused/stopped runs and input+ edits. The stdio proxy tests retain denies for start/control/update/resolve/+ settlement and configuration methods. Saved snapshots gain reporting guidance+ without changing frozen objectives or gates.+ - **Scope**: Host validates authorization, report structure and state; it does+ not independently prove model-reported acceptance evidence true.