Skip to content

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

Merge latest main for Stop navigation validation

vastsa7a4588f66761
diff --cc docs/spec/04-ux/08-component-spec.md
index 404c20a93,c4a0c514e..c6459557e
--- a/docs/spec/04-ux/08-component-spec.md
+++ b/docs/spec/04-ux/08-component-spec.md
@@@ -1,7 -1,7 +1,9 @@@
# 08. Component Spec
+Composer Stop completion owns only the session that requested it. Switching to another running session while Stop hydrates history must retain that session's Stop button, transcript and running flag. The original session clears its flag and releases the matching submitted draft. (Refs #1990)
+
+ A confirmed Native Pi or remote Stop updates its running flag before requesting source details. If that follow-up read fails, the session remains stopped and keeps its known transcript; the refresh error stays visible. A rejected Stop still retains running state. (Refs #1990)
+
Workspace file index Git queries settle at their deadline or output limit,
even when inherited child pipes do not close. Composer file search and the
Files index then use the existing bounded filesystem fallback (Refs #1731).
diff --cc docs/spec/06-delivery/e2e/conversation.md
index c318b9c89,32a8074a7..eb09e0a39
--- a/docs/spec/06-delivery/e2e/conversation.md
+++ b/docs/spec/06-delivery/e2e/conversation.md
@@@ -1,9 -1,9 +1,13 @@@
# E2E Scenarios: Conversation and Sessions
+## E2E-stop-navigation-running-state
+
+Hold the history read after a successful local Stop, switch to another running session, then resolve the older session's history. Verify only the stopped session is settled, the new transcript remains and its toolbar still offers Stop. Also navigate synchronously during the hydration commit to exercise the final state writer. Coverage: `stop-navigation-running-state.test.mjs`, related smart-stop/terminal regressions, and `scripts/e2e-stop-navigation-running-state.mjs` using the production store and ComposerToolbar in Electron.
+
+ ## E2E-native-stop-refresh-failure
+
+ Click the production Composer Stop button for a Native Pi source. Let abort succeed and reject the follow-up session detail read. Verify the toolbar returns to Send, the session running flag clears, the prior transcript remains, and the read error is shown. The regression also covers remote and rejected Stop. Coverage: `native-stop-refresh-failure.test.mjs` and `scripts/e2e-native-stop-refresh-failure.mjs` with real Electron, production store/toolbar and controlled API results.
+
> Part of the [E2E test plan](../04-e2e-test-plan.md). Sessions, transcripts, the composer, streaming, queueing, context, and review.
> Scenario template, gates, and traceability live in the plan.