Files
mnote/.codex/reasonix-tasks/2026-05-21-batch-a-worker-a-task430-open-editors.md
T

66 lines
2.2 KiB
Markdown
Raw Normal View History

2026-05-21 11:01:17 +08:00
# Reasonix Batch A Worker A: task430 Explorer / Open Editors Smoke
Project root: `/mnt/Data1T/mnote`
## 背景
用户要求按 `design/01-tree-first-graph-kernel/process/1-8-mvp-post-process-execution-order-v1.md` 分阶段推进。当前执行 Batch A / P0:先清 FileTree action、Open Editors lifecycle、Trash no-refresh 的验证红灯。
事实源:
- 阶段 checklist`design/04-tree-domain/process/4-46-batch-a-filetree-action-trash-smoke-execution-checklist-v1.md`
- 上游:`design/04-tree-domain/process/4-45-filetree-open-editors-lifecycle-link-checklist-v1.md`
- 相关 smoke`scripts/task430-vscode-explorer-stage7-smoke.js`
## Ownership
你负责:
- `scripts/task430-vscode-explorer-stage7-smoke.js`
- `design/04-tree-domain/process/4-45-filetree-open-editors-lifecycle-link-checklist-v1.md`
- 必要时只追加 `.codex/reasonix-tasks/results/batch-a-worker-a-task430.md`
你不是独自在代码库中工作;不要回滚、覆盖、格式化或清理其他人的改动。不要提交 git。
## 任务
1. 检查 `task430` 当前是否仍有 workspace bootstrap 前置问题。
2. 如能小范围修复脚本前置,修复它;优先通过 `/api/tree/commands` create action 触发 workspace bootstrap,而不是硬编码旧 fixture。
3. 补充或确认 FileTree active row / Open Editors / lifecycle 的可观测断言。目标是让失败能区分:
- 3000 / Convex / auth 环境不可用
- workspace bootstrap 不成立
- FileTree / Open Editors 业务回归
4. 更新 `4-45` 的本轮执行记录,不能把未实跑成功的项标为完成。
## 禁止事项
- 不修改 `rust/crates/mnote-web/src/**`
- 不改 delete 默认语义。
- 不把环境失败伪装成通过。
- 不移动 design 文件到 done。
## 验证
至少运行:
```bash
cd /mnt/Data1T/mnote
node --check scripts/task430-vscode-explorer-stage7-smoke.js
```
如本机 3000 / Convex 可用,再运行:
```bash
cd /mnt/Data1T/mnote
node scripts/task430-vscode-explorer-stage7-smoke.js
```
如果不能实跑,必须在报告里写明缺失服务、失败命令和错误摘要。
## 最终回复格式
- 修改文件列表
- 完成的 checklist 项
- 运行过的命令和结果
- 未完成项 / 风险