修复审核发现的并发与工作台边界

拒绝维护目标符号链接并补充回归测试
为 manifest 写入增加跨进程锁与并发不可变校验
实时同步 Supervisor manifest 到资源、任务和版本工作台
在 Agent DB 截断时关闭不完整依赖推导
补齐依赖图文本等价、焦点恢复和对比度门禁
同步更新产品、技术、运维与项目记忆文档
This commit is contained in:
2026-08-04 18:38:35 +08:00
parent 2e0ef02fda
commit 208ea3e6ff
21 changed files with 781 additions and 53 deletions
+5 -1
View File
@@ -11,7 +11,11 @@ replace_file_atomically() {
local source_file="$1"
local target_file="$2"
if [[ -d "${target_file}" && ! -L "${target_file}" ]]; then
if [[ -L "${target_file}" ]]; then
echo "[maintenance] 原子替换目标不能是符号链接: ${target_file}" >&2
exit 1
fi
if [[ -d "${target_file}" ]]; then
echo "[maintenance] 原子替换目标不能是目录: ${target_file}" >&2
exit 1
fi