fix(release): 完成官方发布身份与 legacy CAS 归属保护
bat-rust / Build and test Rust (push) Canceled after 0s
bat-rust / Build and test Go API (push) Canceled after 0s

This commit is contained in:
2026-09-13 15:34:42 +08:00
parent 5bae90cb14
commit 37d49c9793
11 changed files with 416 additions and 67 deletions
+7 -2
View File
@@ -1,6 +1,6 @@
# 当前实现缺口清单
- **更新时间**2026-09-12
- **更新时间**2026-09-13
- **文档角色**:只记录尚未完成、仍需验证或仍需设计的工作,不重复维护完整实现状态。
- **当前事实**:以源码、测试、稳定契约和 `CURRENT_STATUS.md` 为准。
- **Go 进度**`GO_STATUS.md`
@@ -137,7 +137,12 @@ source/localized mapping identity 和 destination index`release.distribution(
是单条 lookup,返回 exactly one entrysource identity mismatch 会阻断 localized
distribution,完整 identity 校验只在 publish/status/audit 路径执行;分发读取保留 path
ownership、symlink 和文件完整性检查;`release.cleanup execute` 与 official sync 共用
`.official-sync.lock`本轮已关闭两个 Release/CAS P2。其他 P2 尚未由本轮处理:ResourceRepository
`.official-sync.lock`新 official release 还持久化独立的
`official-distribution-publication.json`,把 release ID、完整 mapping identity、manifest
content identity 和 entry count 绑定到发布事实;publication 缺失或 manifest 变化时
official/localized distribution 均被阻断,普通查询不会自动重建。legacy release 仍可
列出和清理,但不视为 distribution-ready。本轮已关闭两个 Release/CAS P2。其他 P2
尚未由本轮处理:ResourceRepository
更完整的查询/权限/损坏恢复、模糊 TM、bat.sock peer credential/perms、FFI 生命周期、
资源大小/限额与更强的持久化 fsync 语义仍按后续专项推进。