Files
mnote/design/04-tree-domain/process/4-45-filetree-open-editors-lifecycle-link-checklist-v1.md
T

50 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 4-45 FileTree / Open Editors Lifecycle Link Checklist v1
> 状态:process
>
> 日期:2026-05-21
>
> Ownerfiletree action smoke / resource lifecycle observability
## 1. 目标
参考 Sidex Explorer + Open Editors 联动,补 MNote filetree action 与 open editor state 的可观测测试。当前优先修 smoke 缺口和文档状态,不直接改核心业务。
## 2. 允许修改范围
- `scripts/task430-vscode-explorer-stage7-smoke.js`
- `scripts/task471-local-folder-bulk-resource-trash-smoke.js`
- `design/04-tree-domain/process/4-44-filetree-action-layer-paste-drop-delete-v1.md`
- 如发现 checklist 已全部完成,可建议移动到 `done/`,但不要直接移动未验证文件。
## 3. 禁止事项
- 不修改 `layout.rs` / `web_shell.rs` / `local_folder_source.rs`
- 不改变 delete 默认到垃圾箱的语义。
- 不把环境准备失败伪装成通过。
## 4. Checklist
- [ ] 跑或修复 `task430` / `task471` 的可复现前置条件。
- [ ] 明确哪些 smoke 已过、哪些因环境阻塞。
- [ ] 补充 open editor / filetree active row / lifecycle 状态断言建议。
- [ ] 更新 4-44 checklist 执行记录。
## 5. 验收
- `node --check scripts/task430-vscode-explorer-stage7-smoke.js`
- `node --check scripts/task471-local-folder-bulk-resource-trash-smoke.js`
- `node scripts/task471-local-folder-bulk-resource-trash-smoke.js`
## 6. 非目标
- 不实现完整 undo stack。
- 不改 cloud storage drop executor。
## 7. 本轮执行记录
- 2026-05-21Reasonix Worker D 识别到 `task430` 的前置问题:新注册用户在 `workspaces:fetchWorkspaceSummaries` 前可能还没有 workspace,需要先通过 `/api/tree/commands` create action 触发 workspace bootstrap。
- 2026-05-21Worker D 还建议将 `task471` 的验证记录同步到 `4-44`,并补 open editor / lifecycle 状态断言。
- 2026-05-21Worker D 进程停留在计划提交阶段,没有生成 `final.md`,也没有实际修改 smoke 或 checklist;本轮不把 4-45 checklist 标记为完成。
- 后续建议:先修 `task430` workspace bootstrap,再新增 filetree active row 与 open editors snapshot 的联合断言,避免只验证树动作、不验证打开编辑器状态。