mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
将 Vault/Git/MCP/AI、壳层主题密度、25 工具真实闭环与 desktopTest 638 项及 DIFF-065–471 文档/证据一并纳入仓库,便于持续对齐验收;产品窗 IME/冲突与三平台发行仍待验。 Co-authored-by: Cursor <cursoragent@cursor.com>
931 B
931 B
DIFF-377:随手记 prepare 保存失败回滚树选中
背景
JSON DIFF-375~DIFF-376 在 prepareJsonVaultContext flush 失败时回滚 vaultSelectedPath。
随手记 prepareQuickNoteVaultContext 在开头写 vaultSelectedPath,saveIfNeeded 失败时仍指向目录/目标笔记,与 DIFF-360 树单击目录语义不一致。
行为
- 目录/切换笔记:先
saveIfNeeded;成功后再更新vaultSelectedPath并清空或open;失败恢复 flush 前选中(空则currentFile),不清空编辑器。
测试
- 更新
QuickNoteVaultPrepareContextTest.prepareContextSaveConflictWritesErrorAndReturnsFalse - 新增
prepareContextDirectorySaveConflictKeepsTreeSelection
验收
- F01 Vault;
desktopTest --offline。