Skip to content

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

fix: 同步最新主线并保留独立修复规格

geng yue2eaec713729f
diff --cc docs/spec/04-ux/08-component-spec.md
index 8ede295b6,f6fe13bea..eade81bb0
--- a/docs/spec/04-ux/08-component-spec.md
+++ b/docs/spec/04-ux/08-component-spec.md
@@@ -1,9 -1,9 +1,13 @@@
# 08. Component Spec
+Live delegation reconstruction crosses system notices as well as steering
+messages. An ordinary user prompt remains the run boundary. A running Task
+behind a system notice must not become aborted on navigation (Refs #1990).
+
+ File Manager Git deadlines settle the command at the deadline even when child
+ output pipes remain open. A failed snapshot omits Git badges and does not block
+ directory listings or file previews indefinitely (Refs #1731).
+
### Copied directory references
Native folder paste adds compact cards in a wrapping row above the editable
diff --cc docs/spec/06-delivery/04-e2e-test-plan.md
index 4adefe706,ce55354e9..a525f0a1d
--- a/docs/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/spec/06-delivery/04-e2e-test-plan.md
@@@ -1,14 -1,13 +1,22 @@@
# 04. E2E Test Plan
+### E2E-SUBAGENT-system-notice-reconstruction
+
+Reconstruct a transcript with a running Task followed by a system notice.
+The production entry builder, live-delegation selector and outcome resolver
+keep the Task running. End the session or add a new ordinary prompt and verify
+that historical Tasks are no longer live. Coverage:
+`live-delegation-system-row.test.mjs`; `turn-process.test.mjs` checks the
+matching turn boundary and `turn-process-header.test.mjs` the rendered labels.
+
+ ### E2E-FILE-MANAGER-git-deadline
+
+ `file-manager-git-timeout.test.mjs` drives actual bundled `fm.list` and `fm.read`
+ against real fixture files with a controlled child-process boundary. Advance
+ the Git deadline while the child never closes: entries and preview complete
+ without Git metadata. Existing Electron directory-location and mutation
+ journeys cover successful reads, saves and directory browsing.
+
## E2E-SCHEDULED-independent-loading-and-route-return
- **Preconditions:** Synthetic tasks; controllable task, latest-run, history and
diff --cc docs/zh-CN/spec/04-ux/08-component-spec.md
index 4e54c6d72,6bfcaf1fd..6c1c7c0a4
--- a/docs/zh-CN/spec/04-ux/08-component-spec.md
+++ b/docs/zh-CN/spec/04-ux/08-component-spec.md
@@@ -1,8 -1,8 +1,11 @@@
# 08. 组件规格
+运行中子代理状态重建跨过系统通知及 steering 消息,普通用户提示仍作为回合边界。
+系统通知之前仍在运行的 Task 不会因导航而显示已停止(Refs #1990)。
+
+ 文件管理器的 Git 截止时间直接结束命令等待,即使子进程输出管道仍未关闭。
+ 快照失败时省略 Git 标记,目录列表和文件预览不会因此无限等待(Refs #1731)。
+
> **翻译说明:** 本页是与 [英文源规格](/spec/04-ux/08-component-spec) 一一对应的机器辅助翻译。代码、协议字段和标识符保持原文;如翻译与英文源事实有歧义,以英文版本为准。
diff --cc docs/zh-CN/spec/06-delivery/04-e2e-test-plan.md
index 27863c555,3928df0f6..be6401264
--- 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,12 -1,12 +1,19 @@@
# 04. E2E 测试 Plan
+### E2E-SUBAGENT-system-notice-reconstruction
+
+重建运行中的 Task 后接系统通知的会话,生产条目构建、运行状态选择及结果
+解析保留 Task 运行状态。结束会话或追加普通用户提示后,历史 Task 不再存活。
+覆盖:`live-delegation-system-row.test.mjs`;`turn-process.test.mjs` 验证对应
+回合边界,`turn-process-header.test.mjs` 验证渲染状态标签。
+
+ ### E2E-FILE-MANAGER-git-deadline
+
+ `file-manager-git-timeout.test.mjs` 对真实测试文件调用内置 `fm.list` 和
+ `fm.read`,仅控制子进程边界。子进程从不关闭时推进 Git 截止时间,目录及
+ 预览仍完成,Git 元数据不可用。原有 Electron 目录定位和文件修改旅程验证
+ 正常读取、保存和目录浏览。
+
## E2E-SCHEDULED-independent-loading-and-route-return
- **Preconditions:** Synthetic tasks; controllable task, latest-run, history and