fix: persist release outcomes and guard active native backup sessions

This commit is contained in:
阿白叔 committed 2026-11-06 12:08:54 +08:00
1 parent d40192ee58
commit 5eb4b2d7ed
10 files changed
+669 -69

No files matched your search

@@ -0,0 +1,75 @@
{
"date": "2026-11-06",
"review_comments": [
275,
283,
286
],
"tests": {
"backend_full": {
"tests": 1385,
"errors": 0,
"failures": 0,
"skipped": 0,
"xml_file": "cbb-refresh-verify-795-backend-fixes-fixes.xml",
"xml_sha256": "b1af9d0025abbbbcf25fe134b02da980c9402dd22c0fa39e1f96b9f8124183ee"
},
"backend_read_guard": {
"tests": 9,
"errors": 0,
"failures": 0,
"skipped": 0,
"xml_file": "cbb-refresh-verify-795-backend-fixes-fixes-focused.xml",
"xml_sha256": "25dac539945d9ba71f2f9dafeb342e8f6110e094c62364369013e16e551b1f94"
},
"ui_integration": {
"tests": 29,
"errors": 0,
"failures": 0,
"skipped": 0,
"xml_file": "cbb-refresh-verify-795-ui-fixes-fixes.xml",
"xml_sha256": "9eeeff28c6fcd31d8f2e6d7fb38e0bdf01b0058ba7b7f9e5df2f173f71a4fca0"
},
"final_integrated": {
"tests": 1631,
"errors": 0,
"failures": 0,
"skipped": 0,
"xml_file": "cbb-refresh-verify-795-review-stack-fixes-full.xml",
"xml_sha256": "7d75049e4feecb4a6026062321d4a0fcb1c92e30f8f1ba23d11a4ea28ee19c9c"
},
"final_release_focused": {
"tests": 63,
"errors": 0,
"failures": 0,
"skipped": 0,
"xml_file": "cbb-refresh-verify-795-review-stack-fixes-focused.xml",
"xml_sha256": "469923faf0919ab2e3dffac183f2cb44a6b606aa15edacce92a88da1bde81424"
}
},
"compileall": "passed",
"git_diff_check": "passed",
"source_and_tests_sha256": "6fe6f02a3e0e731c4c9d2ff2f2c5e86e537139ef5e59f15441a9059522109526",
"post_full_suite_change": "GUI proof path comparison now uses lexical absolute paths, with no filesystem resolution; final 63 release regressions cover this one-line change. No further full-suite run was performed for this isolated UI comparison.",
"ui_preview": {
"file": "2026-11-06-release-preview.png",
"sha256": "e13645ed6b8234a2d46f6c462a262c7ef2092459c8e94f60a9fa273fd02c3613",
"mode": "offscreen simulated sessions; local Windows fonts loaded for visual inspection"
},
"red_regressions": {
"initial_backend": 6,
"initial_release": 12,
"ui_outcomes": 2,
"additional": "report storage, prelaunch evidence/probe timeout, cancel release propagation"
},
"scope": "Historical records trigger actual ownership proof; no automatic repair, server termination, native lock/address deletion or library backup.",
"native_cancel": "Only a unique enabled standard Cancel/取消 (IDCANCEL=2) on a current matching Project Backup window; identity, user/session, title, desktop and button rechecked; request does not prove cancellation.",
"not_verified": [
"actual Mentor native cancellation",
"actual Mentor force termination",
"field ICDB recovery",
"new frozen package",
"Windows 10",
"cross-machine shared-library concurrency"
]
}
+9 -1
View File
@@ -12,7 +12,7 @@
## 强制客户端操作的契约
支持 Expedition PCB、Library Manager、viewdraw 和 iCDB Project Backup。操作员须知晓客户端中其他工程可能一并退出、未保存更改可能丢失、写入中的工程可能需要恢复。确认名单先持久记录为库外 `consent.json`,失败则不执行;派发与进程句柄两处复核,PID 复用、用户或 Windows 会话变化时拒绝。
支持 Expedition PCB、Library Manager、viewdraw 和 iCDB Project Backup。操作员须知晓客户端中其他工程可能一并退出、未保存更改可能丢失、写入中的工程可能需要恢复。确认名单先持久记录为库外 `consent.json`,失败则不执行;派发处复核身份和预览范围,句柄处复核创建时间、完整映像、用户 SID、Windows 会话与原生活动;变化时拒绝。
数据库服务器可能服务同库其他用户,命令行归属不构成独占授权。本工具不会强制结束任何 ICDB 服务器;它仍活跃或库状态未知时保留 PARTIAL,不能通过结束客户端伪造释放或修复成功。
@@ -29,3 +29,11 @@ PR #3 comment 249 的修复通过服务器排除、确认记录失败、PID 复
此前 r10 的原生隔离检查与界面排队证据只证明该候选包已记录的打开/释放行为,不能当成新强制客户端功能的现场验收。现场服务器失联恢复、ICDB 自动修复、Windows 10 和共享库跨机器并发仍未验收。
规范:[SOP](../../SOP.md)、[ICDB 手动修复手册](../ICDB-MANUAL-REPAIR-AND-UPDATE.md)。依赖和拆分顺序见 PR #3 的独立审查链。
## 2026-11-06 审查修正
- 校验和管理统一复核历史占用,释放经过先留证;PASS 不再重复计入无法确认。
- 管理增加目标工程及共享依赖的写后差分,明确不覆盖其他 CBB 内容;报告失败不制造未完成原生事务。
- 释放逐项持久保存,快照异常保留已完成/未执行项;报告保存失败与独立释放证明分别展示。
- 预览与强制执行前读取原生活动,正在 Backup/Restore/Repair 或无法确认的备份客户端不可强制结束;显示后台提示、映像路径与桌面,并对唯一已识别的 Cancel/取消按钮提供确认请求。取消后的实际状态仍需复核。
- 本轮自动测试不包含真实 Mentor 的强制结束或原生取消验收;ICDB 自动修复继续暂停。