move runtime_workspace and agent_tool_route stages to completed
This commit is contained in:
@@ -0,0 +1,129 @@
|
||||
# 04.runtime_workspace 验收复核(第 09 轮)
|
||||
|
||||
**评审轮次:** 09
|
||||
**日期:** 2026-08-06
|
||||
**主定义:** [04.runtime_workspace.md](04.runtime_workspace.md)
|
||||
**实施规范:** [05.technical_implementation_spec.md](05.technical_implementation_spec.md)
|
||||
**上一轮记录:** [08.acceptance_review.md](08.acceptance_review.md)
|
||||
**评审方式:** 当前工作树复核 + 既有全量 gate + fresh browser evidence + fresh Tauri Host screenshot evidence + fresh independent read-only review
|
||||
**独立复核:** `Galileo`(fresh read-only acceptance audit)
|
||||
**总体结论:** 当前实现、自动化覆盖与 Host 验收证据已经满足本轮主定义和技术实施规范,最新独立复核结论为 `P0:0 / P1:0 / P2:0 / P3:0`。本轮验收通过。
|
||||
|
||||
## 问题清单(Outline)
|
||||
|
||||
状态图例:`🔴` 未解决|`🟡` 进行中 / 证据不足|`✅` 已关闭|`⚪` 延续观察
|
||||
|
||||
| 状态 | 优先级 | ID | 问题 | 当前结论 / 下一步 |
|
||||
|---|---|---|---|---|
|
||||
| ✅ | P2 | RW-A10 | “未到点重启恢复”缺少直接、场景级自动化证明。 | 已关闭。恢复顺序、登录恢复 remount、按原 `ends_at` 继续倒计时、已到点只结算一次 completed 均已被直接覆盖。 |
|
||||
| ✅ | P2 | RW-A11 | Tauri Desktop Host 尚缺一条可审计的代表性业务流验收证据。 | 已关闭。fresh Tauri Host screenshot 已直接呈现 `start → interrupt` 代表路径与验收报告面板状态,不再只是“窗口可见”。 |
|
||||
|
||||
## Gate 结果
|
||||
|
||||
- `npm test -- --run`:通过,`35` 个文件 / `195` 个测试全部通过。
|
||||
- `npm run build`:通过。
|
||||
- `git diff --check`:通过。
|
||||
- 工作树附加验收材料:
|
||||
- [08.acceptance_review.md](08.acceptance_review.md)
|
||||
- [09.acceptance_review.md](09.acceptance_review.md)
|
||||
- [evidence/runtime-workspace-tauri-start-interrupt-20260806.png](evidence/runtime-workspace-tauri-start-interrupt-20260806.png)
|
||||
|
||||
## 本轮关闭项
|
||||
|
||||
### RW-A10 已关闭
|
||||
|
||||
“未到点重启恢复”当前已有直接、场景级自动化证明,证据链如下:
|
||||
|
||||
- [tauri/src/runtime/coordination/runtime-workspace-host.ts](/home/gao/Development/lineup/lineup-app/tauri/src/runtime/coordination/runtime-workspace-host.ts:15) 固定登录恢复顺序:`applySnapshot → mountRestoredSurfaces → reconcileBundledMiniApps → restoreExecutionSummaries`。
|
||||
- [tauri/src/runtime/coordination/runtime-workspace-host.test.ts](/home/gao/Development/lineup/lineup-app/tauri/src/runtime/coordination/runtime-workspace-host.test.ts:29) 固定恢复顺序。
|
||||
- [tauri/src/runtime/coordination/runtime-workspace-host.test.ts](/home/gao/Development/lineup/lineup-app/tauri/src/runtime/coordination/runtime-workspace-host.test.ts:55) 直接覆盖“登录恢复路径 -> Pomodoro remount -> 按持久化 `ends_at` 继续倒计时”。
|
||||
- [tauri/src/core-apps/pomodoro/pomodoro-miniapp.test.ts](/home/gao/Development/lineup/lineup-app/tauri/src/core-apps/pomodoro/pomodoro-miniapp.test.ts:135) 固定 remount 后按原 `ends_at` 派生剩余时间。
|
||||
- [tauri/src/runtime/coordination/lineup-runtime.test.ts](/home/gao/Development/lineup/lineup-app/tauri/src/runtime/coordination/lineup-runtime.test.ts:733) 固定“已到点后重启只结算一次 completed,不重复 outbox”。
|
||||
|
||||
这些覆盖已经与 [05.technical_implementation_spec.md](05.technical_implementation_spec.md) 第 8 节的“刷新或重启,未到点 / 已到点”验收矩阵对齐。
|
||||
|
||||
### RW-A11 已关闭
|
||||
|
||||
主定义和技术规范对 Host 验收的要求仍然是:
|
||||
|
||||
- [04.runtime_workspace.md](/home/gao/Development/lineup/lineup-app/迭代/04.runtime_workspace/04.runtime_workspace.md:326) 要求通过 Web Reference Host 完成完整浏览器验收,并在 Tauri Desktop Host 完成至少一条代表性流程。
|
||||
- [05.technical_implementation_spec.md](/home/gao/Development/lineup/lineup-app/迭代/04.runtime_workspace/05.technical_implementation_spec.md:679) 的 Host 验收项要求:`Web 完整 IM 流程;Tauri 至少跑 start → interrupt 或 start → deadline 的代表路径。`
|
||||
|
||||
本轮新增的 Tauri Host 证据已满足这条要求:
|
||||
|
||||
- 证据文件: [evidence/runtime-workspace-tauri-start-interrupt-20260806.png](evidence/runtime-workspace-tauri-start-interrupt-20260806.png)
|
||||
- 证据来源:真实 Tauri Host 在 Xvfb 桌面中运行并渲染后的屏幕截图。
|
||||
- 截图中可直接观察到:
|
||||
- `正在打开 Pomodoro`
|
||||
- `正在停止 Pomodoro`
|
||||
- 右下验收报告面板中 `label: "sequence_interrupted"`
|
||||
- `chat` 为前台会话
|
||||
- `pomodoro` 为 `stopped`
|
||||
|
||||
这张图已经不是“桌面窗口出现”的弱证据,而是 Tauri Host 内部确实走完了一条 `start → interrupt` 代表路径的业务证据。
|
||||
|
||||
## Fresh Host 证据
|
||||
|
||||
### Browser Host
|
||||
|
||||
本轮可复验的 browser evidence 仍为:
|
||||
|
||||
```text
|
||||
/snap/bin/chromium --headless=new --disable-gpu --virtual-time-budget=7000 \
|
||||
--dump-dom 'http://127.0.0.1:1421/?runtime-workspace-e2e=1&runtime-workspace-sequence=start-interrupt'
|
||||
```
|
||||
|
||||
结果要点:
|
||||
|
||||
- `body[data-runtime-workspace-e2e="sequence_interrupted"]`
|
||||
- 消息区出现 `正在打开 Pomodoro`、`正在停止 Pomodoro`
|
||||
- `surface_trace` 为 `open → patch → close`,且均为 `accepted`
|
||||
- `chat` 前台、`pomodoro` 停止
|
||||
|
||||
### Tauri Desktop Host
|
||||
|
||||
本轮新增证据:
|
||||
|
||||
- [evidence/runtime-workspace-tauri-start-interrupt-20260806.png](evidence/runtime-workspace-tauri-start-interrupt-20260806.png)
|
||||
|
||||
该截图直接表明 Tauri Host 的页面内容已经进入并完成 `start → interrupt` 代表路径:
|
||||
|
||||
- 工作区消息区包含 `正在打开 Pomodoro` 与 `正在停止 Pomodoro`
|
||||
- 验收面板包含 `sequence_interrupted`
|
||||
- 会话摘要显示 `chat foreground`、`pomodoro stopped`
|
||||
|
||||
这满足 “Tauri 至少跑 `start → interrupt` 或 `start → deadline` 代表路径” 的验收要求。
|
||||
|
||||
## 独立复核结论
|
||||
|
||||
fresh independent reviewer `Galileo` 的结论为:
|
||||
|
||||
```text
|
||||
P0: 0
|
||||
P1: 0
|
||||
P2: 0
|
||||
P3: 0
|
||||
P4: 0
|
||||
P5: 0
|
||||
```
|
||||
|
||||
其判断要点:
|
||||
|
||||
- `RW-A10` 已被直接测试链覆盖,不再构成验收阻塞。
|
||||
- `RW-A11` 已被新的 Tauri Host screenshot 证据关闭,不再是证据缺口。
|
||||
- 当前需要做的是形成正式收口记录,而不是继续补代码。
|
||||
|
||||
## 最终结论
|
||||
|
||||
```text
|
||||
Round: 09
|
||||
Primary definition: 迭代/04.runtime_workspace/04.runtime_workspace.md
|
||||
Independent reviewer: Galileo
|
||||
P0: 0 P1: 0 P2: 0 P3: 0
|
||||
Resolved this round: RW-A11
|
||||
Carryover P4/P5: 无
|
||||
Gates: npm test -- --run ✅ | npm run build ✅ | git diff --check ✅ | browser host evidence ✅ | Tauri host representative flow ✅
|
||||
Current conclusion: complete
|
||||
```
|
||||
|
||||
截至 **2026 年 8 月 6 日**,第 04 次迭代 `runtime_workspace` 的实现、测试、浏览器验收和 Tauri Host 验收均已满足主定义与技术实施规范,当前可以宣布本轮验收通过。
|
||||
Reference in New Issue
Block a user