Guard INI context fixture staging

This commit is contained in:
2026-06-13 15:22:21 +08:00
parent dfeedeb675
commit dfa817a0f8
3 changed files with 159 additions and 33 deletions

View File

@@ -625,3 +625,74 @@ state tests 和 blocked runtime promotion。
```bash
git status --short && git log -5 --oneline && tail -n 120 text7.txt && awk '/^[一二三四五六七八九十百]+、/ {print}' text7.txt | sort | uniq -d
```
十三、2026-06-13 继续执行记录INI context direct fixture staging guard
1. 本批目标。
继续 staged path guard inventory 第八轮,处理 Node/browser 成对覆盖的 INI-context
direct file 与 fixed manifest staging
```text
namedparam_semantics.ngc
namedparam_ini_semantics.ngc
ini_tool_table.ini
ini_tool_table.tbl
ini_tool_table.ngc
```
2. 已完成改动。
- `namedparam_semantics.ngc` 两侧均改为 `writeLocalGcodeFixture(...)` 写入;
- `namedparam_ini_semantics.ngc` 两侧均改为 `writeLocalGcodeFixture(...)` 写入;
- Node 侧新增 `writeIniToolTableFixtureStaging(...)`
- browser 侧新增 `writeIniToolTableFixtureStaging(...)`
- `ini_tool_table` 三文件 staging 增加 fixed manifest、duplicate-free 和 root/path
parity guard
- browser 侧仍不枚举目录;
- 未修改 INI 内容、G-code 内容、tool table 内容、canon expected 或 interpreter
语义。
涉及文件:
```text
wasm-port/tests/wasm/node/verify_interp_wasm.mjs
wasm-port/tests/browser/interp_smoke.html
```
3. 已完成的目标验证。
```bash
git diff --check
SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_interp_wasm.sh
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_interp_browser.sh
```
4. 本批剩余建议验证。
```bash
wasm-port/tools/verify_vendor_sync.sh
wasm-port/tools/verify_no_standalone_cnc_semantics.sh
SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_sim_configs_inventory_wasm.sh
wasm-port/tests/host/verify_host_smokes.sh
```
如果通过,提交建议:
```text
Guard INI context fixture staging
```
5. 下一步工作建议。
继续 staged path guard inventory 第九轮,优先处理剩余 direct `/work/...` run-step
代表路径,例如 `minimal_linear_run_steps` 直接使用 `/work/minimal_linear.ngc` 的调用
点,或继续扫描 `verify_interp_wasm.mjs` / `interp_smoke.html` 中未被 helper 覆盖的
单文件 staging继续避开 parameter/tool table runtime state tests 和 blocked
runtime promotion。
下一轮第一条命令仍保持:
```bash
git status --short && git log -5 --oneline && tail -n 120 text7.txt && awk '/^[一二三四五六七八九十百]+、/ {print}' text7.txt | sort | uniq -d
```