完善 xyzbc-trt OPFS 与 AXIS 首屏等效

This commit is contained in:
mes123456
2026-07-02 10:10:54 -04:00
parent 1c8908e3ab
commit 52e54f8089
16 changed files with 925 additions and 28 deletions

View File

@@ -1,5 +1,58 @@
# 05-验收证据
## Web OPFS 与 AXIS 首屏等效验收
### 命令
```bash
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run smoke:node
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run build
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run smoke:browser
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run evidence:web
npm --prefix web-rtcp-5axis-xyzbc-trt-sim-plan/app run evidence:compare
```
### 结果
```text
xyzbc_trt_web_app_smoke=ok
gmoccapy_static_build=ok
xyzbc_trt_browser_smoke=ok
web_xyzbc_trt_evidence=.../working/evidence/web-xyzbc-trt-evidence.json
compare_xyzbc_trt_status=fail fail_count=5
```
### 浏览器 OPFS 断言
```text
machineFileSeedReady.save.storageMode = opfs
machineFileStaging.storageMode = opfs
machineFileStaging.storageCapability.opfsAvailable = true
OPFS readback xyzbc_switchkins.ngc contains M428/M429
saveSession().storageMode = opfs
OPFS readback session contains "machineProfile": "xyzbc-trt"
saveToolDb().storageMode = opfs
OPFS readback tool table contains T2 and Z10
```
### AXIS 首屏证据
```text
web.axisMainUi.ready = true
web.axisMainUi.profileId = xyzbc-trt
web.axisMainUi.coordinates = XYZBC
web.axisMainUi.missingCapabilities = []
web.coverage.axisMainUiEquivalent = true
compare.summary.passCount = 20
compare.summary.failCount = 5
```
结论:
- 目标 Web app 默认不再把 machine files、session、tool table 静默保存到 memory fallback浏览器路径强制 OPFS。
- `smoke:browser` 已从 OPFS 读回程序、会话和刀具表内容,证明不是仅生成 OPFS path。
- Node evidence 仍使用内存存储模拟文件内容,这是非浏览器采集限制;真实 Web 文件系统验收以 browser smoke 为准。
## Tool table 到 tool-offset 闭环验收
### 命令