接入 WASM blocker 自检

结论:native/source-link 必跑入口已执行 blocker 分析器负路径自检,防止坏 manifest、缺失源根、重复条目和缺失替换映射退化。
This commit is contained in:
cnc
2026-06-05 23:26:02 +08:00
parent e928b32e69
commit 6bd1c6a429
4 changed files with 15 additions and 0 deletions

View File

@@ -74,6 +74,10 @@ Required tracked core examples:
- `test-native.sh`, `test-linuxcnc-source-link.sh`, and `build-wasm.sh` must
run `./check-linuxcnc-wasm-blockers-source-map.sh` before consuming blocker
analyzer output, source-linked LinuxCNC objects, or browser artifacts.
- `test-native.sh` and `test-linuxcnc-source-link.sh` must run
`test-linuxcnc-wasm-blockers.sh` with `CNC_SIM_WASM_BLOCKERS_SELF_CHECKS=1`
so bad manifests, missing LinuxCNC roots, duplicate entries, and missing
blocked-source replacements stay executable failures.
- The WASM blockers source-map guard validates LinuxCNC source/blocker
ownership and manifest drift only; it does not interpret G-code.