Skip to content

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

fix: 同步主线并保留双方修复说明

geng yue4c33bd5b55b8
diff --cc docs/spec/06-delivery/04-e2e-test-plan.md
index 631e10350,9c57d7505..9c53031c5
--- a/docs/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/spec/06-delivery/04-e2e-test-plan.md
@@@ -1,11 -1,12 +1,18 @@@
# 04. E2E Test Plan
+### E2E-EXTENSION-thinking-request-state
+
+Set high thinking through the production extension bridge, send a prompt and
+capture the provider stream options. The actual Agent loop sends high, matching
+the extension getter. `runtime.test.ts` mocks only the provider stream.
+
+ ### E2E-SESSION-rejected-stop-state
+
+ Reject a remote Stop at the API boundary: the production session slice keeps
+ its running state and rethrows the error. Retry successfully: both the active
+ indicator and owning session running entry clear. Coverage:
+ `failed-session-stop-state.test.mjs`, without provider execution.
+
### E2E-SUBAGENT-system-notice-reconstruction
Reconstruct a transcript with a running Task followed by a system notice.
diff --cc docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
index 7d29d7cd9,9a88c0058..3bd5f0e26
--- a/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
@@@ -1,10 -1,11 +1,16 @@@
# 04. E2E 测试 Plan
+### E2E-EXTENSION-thinking-request-state
+
+通过生产扩展桥接设置 high,发送提示并捕获提供商流参数。真实 Agent 循环
+发送 high,与扩展查询值一致。`runtime.test.ts` 仅替换提供商流边界。
+
+ ### E2E-SESSION-rejected-stop-state
+
+ 在 API 边界拒绝远端 Stop,生产会话 slice 保留运行状态并传播错误。再次成功
+ 停止后,当前标记和目标会话运行条目清除。覆盖
+ `failed-session-stop-state.test.mjs`,不执行提供商请求。
+
### E2E-SUBAGENT-system-notice-reconstruction
重建运行中的 Task 后接系统通知的会话,生产条目构建、运行状态选择及结果