Repository navigation
fix(workspace): 统一文件保留与原子写入并优化会话布局 - #1086
Merged
Merged
Conversation
This was referenced Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
工作区调整和移动项目时保留原文件位置,避免因运行环境恢复或并发写入而静默丢失文件;统一整理桌面和手机输入区域的布局、目录入口与用量展示。
验证:真实 daemon 压力验收 60/60;真实 Cube 沙箱重建后 2,001 个文件逐一校验一致,测试资源已清理。前端全量检查发现的问题已修复,相关 255 项通过;前端 lint/build 与 src mypy 通过。后端全量 9,811 项通过,唯一旧参数断言已同步,相关 23 项通过;完整 CI 作为合并门禁。真实 Cube 结构化文件创建/读取/编辑/删除及跨会话旧版本覆盖拒绝全部通过。
边界:原始 shell/外部写入不受结构化文件锁约束;跨运行环境 FUSE flock 不可靠,因此保留单一有效运行环境约束。持久卷不等于独立备份。客户端源码随本次提交,现有已安装客户端需后续新包才能获得 daemon 修复。