Repository navigation
Conversation
QAyong
force-pushed
the
codex/feature-workspace-file-management
branch
2 times, most recently
from
October 8, 2026 05:48
bc76a25 to
a66e8a9
Compare
QAyong
force-pushed
the
codex/feature-workspace-file-management
branch
from
October 8, 2026 06:00
a66e8a9 to
03b2db2
Compare
Contributor
|
当前看起来有一些问题:
这部分修改你看是你继续调整,还是我进行追加? |
This branch has not been deployed
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.
背景与关联 / Context and related issue
$RECYCLE.BIN时,柄取回的真实路径与请求路径只差大小写,比较失败会让该卷所有"移到回收站"都被拒绝。主要改动 / Changes
file_mutation模块:按句柄逐级 pin 目录、拒绝重解析点、用句柄真实路径校验请求路径,失败一律 fail-closed(不删除、不覆盖、不移动);--mutate-entry支持新建、重命名、删除、移到回收站。WorkspaceFileMutationGuard与WorkspaceFileOperations:操作前校验资源仍在授权目录内;被拒绝时视图标记 blocked(编辑器转只读并提示);删除已打开且未保存的文件时必须由用户选择保存/放弃/取消;重命名后同步编辑副本、工作台视图路径、标签标题与目录范围。验证 / Verification
cargo fmt --check、cargo clippy -D warnings、cargo test --locked --manifest-path apps/buddy/native/Cargo.toml --workspace;buddy 的 unit/runtime/platform 相关 vitest 用例(file mutation、workspace file operations、space file service、file tree menu)。pnpm lint未执行。兼容与风险 / Compatibility and risks
界面变更 / UI changes