Files
cnc_wams/text14.txt

1707 lines
70 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
项目整体完成情况与后续执行计划
生成时间2026-06-15 CST
本文件接替 `text13.txt`。后续工作按 `text14.txt` 执行;除非明确要求审计旧记录,
不要再回到 `text1/text2/text3/text4/text5/text6/text7/text8/text9/text10/text11/text12/text13`
扩展进度。`text13.txt` 作为历史归档保留。
一、第一原则:继续加快实质性推进
后续批次仍必须以“实质性能力优先”为第一遵守原则。
1. 优先级从高到低:
- OPFS/session persistence
- SDK/API surface
- browser/UI workflow
- sim config coverage promotion
- host/runtime boundary proof
- 文档化可执行工作流。
2. 每批默认应产出至少一种可直接复用的能力:
- 可调用 helper
- 可复用 API
- 可验证用户流程;
- 可执行 gate
- 可提升覆盖面的 runtime boundary proof
- 能直接指导下一步实现的设计/清单。
3. 暂停低收益推进:
- 不再把“局部常量化、路径变量收敛、断言分组整理”作为主目标;
- 只有当它支撑可复用 workflow/API/gate 时,才允许做测试胶水;
- 禁止为了推进而扩大 CNC 语义边界;
- 禁止启动性能测试,除非已有明确用户流程需要性能基线。
4. LinuxCNC 仍是唯一 CNC 语义来源:
- G-code、remap、tool、parameter、planner、kinematics、user-M、tool DB、Python remap
等语义必须来自 LinuxCNC upstream 或 vendored LinuxCNC C/C++/配置/脚本源码;
- JS/browser 只允许做 build、source sync、runtime shim、filesystem staging、OPFS、
WASM/browser boundary、测试胶水、文档和机器可读 gate/artifact
- 不在 JS 中重写 G-code 或 CNC 语义;
- 不修改 vendored LinuxCNC 源文件来让测试通过;
- 不把 full-process/HAL/UI/Python/tool DB 依赖伪装成 standalone pass
- 不把 expected failure 硬改成 pass除非已有 LinuxCNC-owned runtime proof并且
native、Node、browser gate 都按顺序通过;
- browser 不能依赖目录枚举。
二、续接状态与防重规则
1. 当前续接点。
`text13.txt` 已推进到:
```text
十九、2026-06-15 继续执行记录INI panel workflow overview embedding mount render-state
```
本文件从 `text14.txt` 重新开始记录后续进度。
2. 每轮开始前必须先执行:
```bash
git status --short
git log -5 --oneline
tail -n 120 text14.txt
awk '/^[一二三四五六七八九十百]+、/ {print}' text14.txt | sort | uniq -d
```
执行规则:
- 如果 `git status --short` 是 clean且最新提交已经包含当前建议工作不要重复追加记录
- 每轮只追加一个新的中文编号记录;
- 提交前再次检查标题唯一性;
- `text14.txt` 只记录新的后续进度,不复制 `text13.txt` 的长历史;
- 每批完成后,如果要写记录,先写 `text14.txt`,再提交该批代码和记录;
- 如果发现重复记录,先做 dedupe 清理并提交,再继续新功能或新 guard
- `text13.txt` 不再追加新进度,除非明确要求审计或修正历史记录。
三、当前完成情况摘要
1. 当前工作树状态。
切换到 `text14.txt` 时工作树为 clean。
2. 最近提交:
```text
1a863fa 推进 INI 面板 workflow overview embedding mount render state
fc9e6a3 推进 INI 面板 workflow overview embedding mount display
83df80d 推进 INI 面板 workflow overview embedding mount result
75f71c2 推进 INI 面板 workflow overview embedding DOM renderer
6856721 推进 INI 面板 workflow overview embedding DOM readiness
3cfd4b3 推进 INI 面板 workflow overview embedding DOM contract
f70fc09 推进 INI 面板 workflow overview embedding render-state
4fdbadd 推进 INI 面板 workflow overview embedding display view-model
```
3. 关键基线保持稳定。
- `linuxcnc/nc_files` native Layer 1
- `total 107`
- `pass 101`
- `expected_fail 6`
- `unexpected_fail 0`
- `linuxcnc/configs/sim` native Layer 2
- `total 159`
- `pass 151`
- `expected_fail 8`
- `unexpected_fail 0`
- Node sim-config inventory
- `executed=28`
- `passed=28`
- `skipped=131`
- `unexpected_fail=0`
4. blocked runtime family 仍未 promotion。
仍 blocked不允许 promotion
- `L4-USER-M-PROCESS`
- `L4-TOOL-DB`
- `L4-PYTHON-REMAP`
当前 host 仍按缺少 LinuxCNC host runtime 处理,不执行任何:
```bash
ENABLE_MILLTURN_USER_M_RUNTIME_PROBE=1 bash wasm-port/tests/native/probe_millturn_user_m_runtime.sh
ENABLE_TOOL_DB_RUNTIME_PROBE=1 bash wasm-port/tests/native/probe_tool_db_runtime.sh
ENABLE_PYTHON_REMAP_RUNTIME_PROBE=1 bash wasm-port/tests/native/probe_python_remap_runtime.sh
```
四、当前实质能力进展
1. INI panel/UI helper 能力。
当前 UI helper 已覆盖:
- run summary
- run workflow
- session snapshot summary
- session load summary
- machine file save/load summary
- panel state summary
- session snapshot save/restore workflow
- entry manifest、launcher link view-model、shell view-model
- read-only control-page controller
- read-only control-page refresh workflow
- read-only control-page session readiness workflow
- shell integration readiness、workflow plan、session handoff summary
- shell session handoff summary schema、compatibility report、display view-model、snapshot
- shell handoff package、package report、package display/render state
- shell handoff package mount state、mount display/render state
- shell handoff mount DOM contract、DOM readiness、renderer、mount workflow
- shell handoff workflow summary、display/render state、DOM contract/readiness、renderer、mount workflow
- workflow overview surface
- workflow overview embedding report、display view-model、render-state
- workflow overview embedding DOM contract、DOM readiness、renderer
- workflow overview embedding mount workflow result、mount display view-model、mount render-state。
当前聚合验证入口:
```bash
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
```
2. Browser/UI workflow 验证。
当前 browser INI panel smoke 覆盖真实 OPFS/session persistence workflow、control page、
workflow overview surface 与外部 shell workflow
```bash
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh
```
关键输出:
```text
browser_ini_opfs_smoke=ok
browser_ini_control_page_smoke=ok
browser_ini_launch_smoke=ok
browser_ini_workflow_overview_smoke=ok
browser_ini_shell_integration_workflow_smoke=ok
```
五、当前必须保持通过的验证入口
每批后续改动至少运行:
```bash
git diff --check
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_interp_wasm.sh
SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_sim_configs_inventory_wasm.sh
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
wasm-port/tests/host/verify_host_smokes.sh
```
如果涉及 browser interpreter smoke再运行
```bash
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_interp_browser.sh
```
涉及 native baseline 或大范围 source/staging 改动时,再运行:
```bash
wasm-port/tests/native/verify_nc_files.sh
wasm-port/tests/native/verify_sim_configs.sh
```
六、下一步建议
继续推进 browser/UI workflow。下一批建议新增只读
`createIniPanelShellWorkflowOverviewEmbeddingMountDomContract()` 或等价 helper为 mount render-state
定义 mount/status/rows selectors、dataset keys 与 render-result fields给后续 DOM readiness 和 renderer
提供稳定契约;仍保持只读,不新增控制按钮,不解析 G-code。
七、快速推进完成整个项目的详细工作内容和实现步骤
本节是后续按 `text14.txt` 执行的总路线图。目标不是继续堆叠零散 helper而是把当前
LinuxCNC WASM/browser port 推到“可交付、可验证、可接续维护”的完整状态。
总体完成定义:
- CNC 语义边界清晰所有解释器、G-code、tool、parameter、planner、kinematics、remap
语义仍来自 LinuxCNC upstream 或 vendored LinuxCNC C/C++/配置/脚本源码;
- Browser 可用INI panel、control page、workflow overview、外部 shell handoff、OPFS/session
persistence 都有真实 browser smoke
- SDK 可用:外部调用方能通过稳定 API 完成加载配置、保存/恢复 session、读取只读状态、
获取 workflow report/render-state、执行只读 mount
- Coverage 可解释sim config inventory、promotion/skip 原因、blocked runtime family 都有
机器可读输出和文档说明;
- Gate 可复现Node、browser、host 聚合 smoke 和 source/vendor guard 稳定通过;
- 文档可执行:新接手者只看 `text14.txt`、`README.md`、`docs/panel-entry.md`、coverage
docs 即可继续工作。
推进顺序必须按以下批次执行;每批完成后追加一个新的中文编号记录到 `text14.txt` 并提交。
1. Browser/UI workflow 收口批次。
目标:完成 workflow overview embedding mount render-state 的 DOM contract/readiness/renderer/mount
闭环,让外部 shell 无需手写 DOM 细节即可显示完整 embedding mount 结果。
实现步骤:
- 新增 `createIniPanelShellWorkflowOverviewEmbeddingMountDomContract()`
- 定义默认 selectors
- `[data-workflow-overview-embedding-mount]`
- `[data-workflow-overview-embedding-mount-status]`
- `[data-workflow-overview-embedding-mount-rows]`
- 定义 `mountDatasetKeys`
- `handoffPhase`
- `handoffReady`
- `handoffScope`
- 定义 row dataset prefix默认 `workflowOverviewEmbeddingMount`
- 定义 `renderResultFields`
- `rendered`
- `statusLine`
- `rowCount`
- `rowIds`
- `dataset`
- 新增 `createIniPanelShellWorkflowOverviewEmbeddingMountDomReadiness()`
- 检查 document、mount、status、rows、rowDatasetPrefix
- 返回 `apiName`、`readinessVersion`、`phase`、`ready`、`missing`、`checks`、`contract`
- 新增 `renderIniPanelShellWorkflowOverviewEmbeddingMountState()`
- 输入 mount render-state 与 DOM contract
- 写入 mount dataset
- 写入 status text
- 渲染 `dt/dd` rows
- 返回结构化 render result
- 新增 `mountIniPanelShellWorkflowOverviewEmbeddingMountState()`
- DOM 不 ready 时返回 blocked result
- render 异常时捕获到 `error` 字段;
- 成功时返回 `workflowVersion`、`phase`、`ready`、`statusLine`、`domReadiness`、
`renderState`、`renderResult`、`error`
- 在 `createIniPanelLaunchApiManifest().methods`、`createIniPanelShellViewModel()`、
`launch.html`、`workflow-overview.html` 暴露上述 API
- 更新:
- `verify_ini_panel_ui_shell.mjs`
- `verify_ini_panel_launch_api_manifest.mjs`
- `verify_ini_panel_shell_integration_manifest.mjs`
- `verify_ini_panel_entry_docs.mjs`
- `ini_panel_workflow_overview_smoke.html`
- `ini_panel_shell_integration_workflow_smoke.html`
- `ini_panel_launch_smoke.html`
- `docs/panel-entry.md`。
完成判定:
- 外部 shell 使用自定义 DOM contract 能拿到 ready DOM readiness
- mount render-state 能被真实 browser DOM renderer 渲染;
- mount workflow result 不抛异常,错误通过结构化 `error` 返回;
- `verify_ui_node_smokes.sh` 与 `verify_ini_panel_browser.sh` 通过。
2. SDK/API surface 收口批次。
目标:把当前分散的 UI helper/API 能力整理成外部调用方可稳定消费的 SDK surface。
实现步骤:
- 检查 `runtime/sdk/src/index.js`、`runtime/sdk/src/linuxcnc-ini.js`、
`runtime/sdk/src/linuxcnc-interp.js`、`runtime/sdk/src/sim-config-staging.js`
- 为浏览器 UI workflow 新增或整理 SDK export
- entry manifest helper
- launch API manifest/schema helper
- shell integration manifest/readiness/workflow plan
- session handoff summary/package/workflow helper
- workflow overview embedding report/display/render/mount helper
- OPFS file/session bridge helper
- 保持 SDK 只做 API 聚合、staging、OPFS/session、WASM/browser boundary不加入 CNC 语义;
- 增加 Node SDK smoke
- 验证 export 名称;
- 验证 manifest schema
- 验证 helper 返回稳定 shape
- 验证不依赖 browser 目录枚举;
- 更新 `runtime/sdk/README.md`
- 最小 browser 调用示例;
- Node smoke 命令;
- 不支持项和 blocked family 说明。
完成判定:
- SDK exports 与 UI/browser manifest 一致;
- Node SDK smoke 纳入 `verify_host_smokes.sh` 或明确纳入 UI node 聚合;
- `runtime/sdk/README.md` 可直接指导外部调用方使用。
3. OPFS/session persistence 收口批次。
目标:把 OPFS 文件、session snapshot、control page readonly status、workflow handoff 的真实
browser 使用路径收口为可复用 workflow。
实现步骤:
- 审查 `runtime/opfs/`
- `file-service.js`
- `machine-file-store.js`
- `snapshot-store.js`
- `linuxcnc-machine-session-bridge.js`
- tool/parameter bridge
- 为 UI workflow 增加一个只读 summary/report
- OPFS capability
- session snapshot availability
- loaded machine/session ids
- last save/load status
- readonly control status availability
- Browser smoke 增加一条端到端路径:
- 保存 machine file
- 保存 session snapshot
- reload/load session
- control page 读取 readonly status
- shell workflow 读取 handoff summary
- 不新增控制按钮,不模拟 LinuxCNC runtime不解析 G-code。
完成判定:
- `browser_ini_opfs_smoke=ok` 仍通过;
- 新增 OPFS/session workflow summary 的 Node 与 browser smoke
- 文档说明 browser OPFS 权限、scope、失败原因。
4. Sim config coverage promotion 批次。
目标:把当前 skipped sim configs 转为“有证据的 skip/promotion 矩阵”,能快速推进可 promotion
类别,同时明确 blocked 类别。
实现步骤:
- 读取并更新:
- `docs/sim-configs-coverage-matrix.md`
- `docs/sim-configs-completion-plan.md`
- `docs/compatibility-validation.md`
- `tests/wasm/node/verify_sim_configs_inventory_wasm.mjs`
- 将 skipped configs 按原因分组:
- `ASSET_ONLY`
- `L4_PYTHON_REMAP`
- `L4_TOOL_DB`
- `L4_USER_M_PROCESS`
- `NON_MAIN_CLASS`
- `UPSTREAM_DEMO`
- 对可 promotion 类别只做 LinuxCNC-owned boundary proof
- 先 native probe
- 再 Node/WASM inventory
- 最后 browser/host gate
- 不把 full-process/HAL/UI/Python/tool DB 依赖硬改成 pass
- 对仍 blocked 类别补齐机器可读 skip reason 与文档说明。
完成判定:
- `sim_configs_wasm_node_inventory_unexpected_fail=0`
- 每个 skip family 都有文档解释;
- 可 promotion 项有 native/Node/browser 顺序证据;
- blocked runtime family 不被误 promotion。
5. Host/runtime boundary proof 批次。
目标:把 host/runtime 能力边界从“能跑 smoke”提升为“能说明为什么 pass/skip/blocked”。
实现步骤:
- 审查 native probes
- `probe_millturn_user_m_runtime.sh`
- `probe_tool_db_runtime.sh`
- `probe_python_remap_runtime.sh`
- `verify_native_probes.sh`
- 在没有 LinuxCNC host runtime 的环境下保持 blocked不执行 ENABLE probe
- 如果环境提供真实 LinuxCNC host runtime
- 先单独执行 ENABLE probe
- 记录真实输出;
- 再决定是否 promotion
- 同步 Node/browser/host gate
- 增加或整理 boundary report
- runtime family
- native proof available
- wasm/browser support
- promotion status
- blocking reason。
完成判定:
- `verify_host_smokes.sh` 输出稳定;
- blocked family 有明确边界 report
- 没有把缺 runtime 的情况伪装成 pass。
6. Browser UX 最小完成批次。
目标:让当前 UI 不只是测试可用,也具备外部 shell 可嵌入、可诊断、可解释的最小完成度。
实现步骤:
- 保持现有页面结构:
- `launch.html`
- `index.html`
- `control-page.html`
- `workflow-overview.html`
- 不新增控制按钮;
- 不做营销 landing page
- 增加或收口只读显示:
- launch API manifest/status
- workflow overview embedding mount result
- OPFS/session summary
- blocked reasons
- 保证每个 browser namespace 都有:
- schema/manifest
- readiness
- display view-model
- render-state
- DOM contract/readiness
- renderer 或 mount workflow
- Playwright/browser smoke 验证真实 DOM 不缺节点、status text 与 rows 正确。
完成判定:
- `browser_ini_launch_smoke=ok`
- `browser_ini_workflow_overview_smoke=ok`
- `browser_ini_shell_integration_workflow_smoke=ok`
- 页面 API 与 docs 完全一致。
7. Documentation/release gate 批次。
目标:把项目收口为可交付状态,避免后续只能从聊天记录恢复上下文。
实现步骤:
- 更新 `README.md`
- 项目目标;
- 当前可用能力;
- 快速验证命令;
- 当前不支持/blocked 项;
- 更新 `docs/panel-entry.md`
- browser entry
- API namespace
- shell handoff/workflow overview
- embedding/mount render path
- 更新 `docs/source-reuse-map.md`
- LinuxCNC-owned semantic source
- JS/browser boundary
- 更新 `docs/drift-report.md`
- upstream sync 状态;
- local wrapper/shim 状态;
- 新增或更新最终 checklist
- source/vendor guard
- standalone CNC semantics guard
- Node smoke
- browser smoke
- host smoke
- native baseline 如适用。
完成判定:
- 新开发者可以只按 README/docs/text14 执行;
- 没有必须依赖旧 `text1` 到 `text13` 的隐性步骤;
- 所有命令可复制执行。
8. 最终验收批次。
目标:确认整个项目达到当前 scope 的完成状态。
最终验收命令:
```bash
git diff --check
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_interp_wasm.sh
SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_sim_configs_inventory_wasm.sh
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
wasm-port/tests/host/verify_host_smokes.sh
```
如涉及 native/source/staging 大范围改动,再执行:
```bash
wasm-port/tests/native/verify_nc_files.sh
wasm-port/tests/native/verify_sim_configs.sh
```
最终完成判定:
- 工作树 clean
- 最新提交包含最后一次 `text14.txt` 完成记录;
- 所有必须 gate 通过;
- sim config inventory `unexpected_fail=0`
- browser INI panel smoke 全部 `ok`
- host 聚合输出 `host_wasm_opfs_browser_smokes=ok`
- blocked runtime family 明确保留 blocked不误 promotion
- 文档中下一步建议只剩真实外部依赖或明确 scope 外事项。
八、2026-06-15 继续执行记录INI panel workflow overview embedding mount DOM contract
本轮按 `text14.txt` 执行,从 Browser/UI workflow 收口批次开始快速推进。新增只读
workflow-overview embedding mount DOM contract为 mount render-state 定义 mount/status/rows
selectors、dataset keys 与 render-result fields给后续 DOM readiness 和 renderer 提供稳定契约。
完成内容:
- `ui-shell.js` 新增
`createIniPanelShellWorkflowOverviewEmbeddingMountDomContract()`
- mount DOM contract 输出:
- `apiName: "ini-panel-shell-workflow-overview-embedding-mount-dom-contract"`
- `contractVersion: 1`
- `requiredNodeIds: ["mount", "status", "rows"]`
- 默认 selectors
- `[data-workflow-overview-embedding-mount]`
- `[data-workflow-overview-embedding-mount-status]`
- `[data-workflow-overview-embedding-mount-rows]`
- `mountDatasetKeys`
- `rowDatasetPrefix: "workflowOverviewEmbeddingMount"`
- `rowDatasetKeys`
- `renderResultFields`
- 支持自定义 `rowDatasetPrefix` 与 selectors
- `createIniPanelLaunchApiManifest().methods` 新增
`getWorkflowOverviewEmbeddingMountDomContract`
- `createIniPanelShellViewModel()` 暴露
`createWorkflowOverviewEmbeddingMountDomContract`
- `launch.html` 的 `window.linuxCncIniPanelLaunchApi` 新增真实 browser 入口
`getWorkflowOverviewEmbeddingMountDomContract()`
- `workflow-overview.html` 的 `window.linuxCncIniPanelWorkflowOverviewApi` 新增真实 browser
入口 `getWorkflowOverviewEmbeddingMountDomContract()`
- `verify_ini_panel_ui_shell.mjs` 覆盖默认 contract 与自定义 prefix/selectors
- `verify_ini_panel_launch_api_manifest.mjs` 覆盖 launch manifest 与 launch 页面真实 API
- `verify_ini_panel_shell_integration_manifest.mjs` 覆盖 helper export、launch method count 与文档记录;
- `verify_ini_panel_entry_docs.mjs` 与 `docs/panel-entry.md` 同步记录新 helper/API
- `ini_panel_workflow_overview_smoke.html` 校验 workflow overview iframe 自身 mount DOM contract
- `ini_panel_shell_integration_workflow_smoke.html` 校验外部 shell 自定义 mount DOM contract
- `ini_panel_launch_smoke.html` 校验 launch API 与 workflow overview iframe API 暴露新 contract helper
- 未新增控制按钮;
- 未执行 action-plan
- 未解析 G-code
- 未解释 canonical events
- 未新增 JS CNC 语义;
- 未改变 OPFS/session persistence、LinuxCNC interpreter、tool、parameter、planner 或
LinuxCNC-owned runtime semantics。
验证已通过:
```bash
git diff --check
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh
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_interp_wasm.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
ini_panel_ui_shell_node_smoke=ok
ini_panel_launch_api_manifest_node_smoke=ok
ini_panel_shell_integration_manifest_node_smoke=ok
ini_panel_entry_docs_node_smoke=ok
ui_node_smokes=ok
browser_ini_opfs_smoke=ok
browser_ini_control_page_smoke=ok
browser_ini_launch_smoke=ok
browser_ini_workflow_overview_smoke=ok
browser_ini_shell_integration_workflow_smoke=ok
vendor sync up to date
standalone CNC semantics guard complete
interp_wasm_node_smoke=ok
sim_configs_wasm_node_inventory_executed=28
sim_configs_wasm_node_inventory_passed=28
sim_configs_wasm_node_inventory_skipped=131
sim_configs_wasm_node_inventory_unexpected_fail=0
host_wasm_opfs_browser_smokes=ok
```
下一步建议:
继续推进 Browser/UI workflow 收口批次。下一批建议新增只读
`createIniPanelShellWorkflowOverviewEmbeddingMountDomReadiness()` 或等价 helper检查 mount
render-state contract 所需 document/mount/status/rows 节点是否存在,输出 missing/checks
为后续 renderer 和 mount workflow 提供稳定前置 gate仍保持只读不新增控制按钮不解析 G-code。
九、2026-06-15 继续执行记录INI panel workflow overview embedding mount DOM readiness
本轮按 `text14.txt` 执行,继续推进 Browser/UI workflow 收口批次。新增只读
workflow-overview embedding mount DOM readiness检查 mount render-state contract 所需
document/mount/status/rows 节点是否存在,输出 missing/checks为后续 renderer 和 mount workflow
提供稳定前置 gate。
完成内容:
- `ui-shell.js` 新增
`createIniPanelShellWorkflowOverviewEmbeddingMountDomReadiness()`
- mount DOM readiness 输出:
- `apiName: "ini-panel-shell-workflow-overview-embedding-mount-dom-readiness"`
- `readinessVersion: 1`
- `phase: "ready" | "blocked"`
- `ready`
- `missing`
- `checks.document`
- `checks.mount`
- `checks.status`
- `checks.rows`
- `checks.rowDatasetPrefix`
- `contract`
- 支持传入自定义 contract、documentRef、mountNode、statusNode、rowsNode
- `createIniPanelLaunchApiManifest().methods` 新增
`getWorkflowOverviewEmbeddingMountDomReadiness`
- `createIniPanelShellViewModel()` 暴露
`createWorkflowOverviewEmbeddingMountDomReadiness`
- `launch.html` 的 `window.linuxCncIniPanelLaunchApi` 新增真实 browser 入口
`getWorkflowOverviewEmbeddingMountDomReadiness()`
- `workflow-overview.html` 的 `window.linuxCncIniPanelWorkflowOverviewApi` 新增真实 browser
入口 `getWorkflowOverviewEmbeddingMountDomReadiness()`
- `verify_ini_panel_ui_shell.mjs` 覆盖 missing document/nodes 与 ready nodes 两种 shape
- `verify_ini_panel_launch_api_manifest.mjs` 覆盖 launch manifest 与 launch 页面真实 API
- `verify_ini_panel_shell_integration_manifest.mjs` 覆盖 helper export、launch method count 与文档记录;
- `verify_ini_panel_entry_docs.mjs` 与 `docs/panel-entry.md` 同步记录新 helper/API
- `ini_panel_workflow_overview_smoke.html` 动态创建 mount render-state DOM 节点并校验 ready readiness
- `ini_panel_shell_integration_workflow_smoke.html` 校验外部 shell 自定义 mount DOM contract 的 blocked readiness
- `ini_panel_launch_smoke.html` 校验 launch API 与 workflow overview iframe API 暴露新 readiness helper
- `PROJECT_COMPLETION_TRACKER.md` 同步当前完成批次与下一步任务;
- 未新增控制按钮;
- 未执行 action-plan
- 未解析 G-code
- 未解释 canonical events
- 未新增 JS CNC 语义;
- 未改变 OPFS/session persistence、LinuxCNC interpreter、tool、parameter、planner 或
LinuxCNC-owned runtime semantics。
验证已通过:
```bash
git diff --check
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh
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_interp_wasm.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
ini_panel_ui_shell_node_smoke=ok
ini_panel_launch_api_manifest_node_smoke=ok
ini_panel_shell_integration_manifest_node_smoke=ok
ini_panel_entry_docs_node_smoke=ok
ui_node_smokes=ok
browser_ini_opfs_smoke=ok
browser_ini_control_page_smoke=ok
browser_ini_launch_smoke=ok
browser_ini_workflow_overview_smoke=ok
browser_ini_shell_integration_workflow_smoke=ok
vendor sync up to date
standalone CNC semantics guard complete
interp_wasm_node_smoke=ok
sim_configs_wasm_node_inventory_executed=28
sim_configs_wasm_node_inventory_passed=28
sim_configs_wasm_node_inventory_skipped=131
sim_configs_wasm_node_inventory_unexpected_fail=0
host_wasm_opfs_browser_smokes=ok
```
下一步建议:
继续推进 Browser/UI workflow 收口批次。下一批建议新增只读
`renderIniPanelShellWorkflowOverviewEmbeddingMountState()` 或等价 helper使用 mount render-state 与
mount DOM readiness/contract 渲染 status 与 rows并返回结构化 render result仍保持只读
不新增控制按钮,不解析 G-code。
十、2026-06-15 继续执行记录INI panel workflow overview embedding mount DOM renderer
本轮按 `text14.txt` 执行,继续推进 Browser/UI workflow 收口批次。新增只读
workflow-overview embedding mount DOM renderer使用 mount render-state 与 mount DOM
readiness/contract 渲染 status 与 rows并返回结构化 render result。
完成内容:
- `ui-shell.js` 新增
`renderIniPanelShellWorkflowOverviewEmbeddingMountState()`
- renderer 在 DOM readiness ready 时写入:
- mount dataset
`handoffPhase`、`handoffReady`、`handoffScope`
- status text
- rows `<dt>/<dd>` 与 contract 定义的 row dataset keys
- renderer 返回结构化 render result
- `rendered`
- `statusLine`
- `rowCount`
- `rowIds`
- `dataset`
- DOM readiness blocked 时保持抛错行为,与既有 workflow/embedding renderer 模式一致;
- `createIniPanelLaunchApiManifest().methods` 新增
`renderWorkflowOverviewEmbeddingMountState`
- `createIniPanelShellViewModel()` 暴露
`renderWorkflowOverviewEmbeddingMountState`
- `launch.html` 的 `window.linuxCncIniPanelLaunchApi` 新增真实 browser 入口
`renderWorkflowOverviewEmbeddingMountState()`
- `workflow-overview.html` 的 `window.linuxCncIniPanelWorkflowOverviewApi` 新增真实 browser
入口 `renderWorkflowOverviewEmbeddingMountState()`
- `verify_ini_panel_ui_shell.mjs` 覆盖 renderer 返回 shape、dataset 写入与 rows dataset
- `verify_ini_panel_launch_api_manifest.mjs` 覆盖 launch manifest 与 launch 页面真实 API
- `verify_ini_panel_shell_integration_manifest.mjs` 覆盖 helper export、launch method count 与文档记录;
- `verify_ini_panel_entry_docs.mjs` 与 `docs/panel-entry.md` 同步记录新 helper/API
- `ini_panel_workflow_overview_smoke.html` 在真实 workflow overview browser 页面中执行 mount
render-state DOM 渲染并校验 render result、row count、dataset 与 status text
- `ini_panel_launch_smoke.html` 校验 launch API 与 workflow overview iframe API 暴露新 renderer
- `ini_panel_shell_integration_workflow_smoke.html` 校验外部 shell launch API 暴露新 renderer
- `PROJECT_COMPLETION_TRACKER.md` 同步当前完成批次与下一步任务;
- 未新增控制按钮;
- 未执行 action-plan
- 未解析 G-code
- 未解释 canonical events
- 未新增 JS CNC 语义;
- 未改变 OPFS/session persistence、LinuxCNC interpreter、tool、parameter、planner 或
LinuxCNC-owned runtime semantics。
验证已通过:
```bash
git diff --check
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh
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_interp_wasm.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
ini_panel_ui_shell_node_smoke=ok
ini_panel_launch_api_manifest_node_smoke=ok
ini_panel_shell_integration_manifest_node_smoke=ok
ini_panel_entry_docs_node_smoke=ok
ui_node_smokes=ok
browser_ini_opfs_smoke=ok
browser_ini_control_page_smoke=ok
browser_ini_launch_smoke=ok
browser_ini_workflow_overview_smoke=ok
browser_ini_shell_integration_workflow_smoke=ok
vendor sync up to date
standalone CNC semantics guard complete
interp_wasm_node_smoke=ok
sim_configs_wasm_node_inventory_executed=28
sim_configs_wasm_node_inventory_passed=28
sim_configs_wasm_node_inventory_skipped=131
sim_configs_wasm_node_inventory_unexpected_fail=0
host_wasm_opfs_browser_smokes=ok
```
下一步建议:
继续推进 Browser/UI workflow 收口批次。下一批建议新增只读
`mountIniPanelShellWorkflowOverviewEmbeddingMountState()` 或等价非抛错 wrapper将 mount DOM
readiness、render-state、renderer 与 render-result 聚合成稳定 mount workflow result供外部 shell
直接调用;仍保持只读,不新增控制按钮,不解析 G-code。
十一、2026-06-15 继续执行记录INI panel workflow overview embedding mount DOM wrapper
本轮按 `text14.txt` 执行,继续推进 Browser/UI workflow 收口批次。新增只读
workflow-overview embedding mount DOM wrapper将 mount DOM readiness、mount render-state、
renderer 与 render-result 聚合为非抛错 mount workflow result供外部 shell 直接调用。
完成内容:
- `ui-shell.js` 新增
`mountIniPanelShellWorkflowOverviewEmbeddingMountState()`
- wrapper 输出稳定 workflow result
- `apiName: "ini-panel-shell-workflow-overview-embedding-mount-dom-mount"`
- `workflowVersion: 1`
- `phase: "ready" | "blocked"`
- `ready`
- `statusLine`
- `contract`
- `domReadiness`
- `renderState`
- `renderResult`
- `error`
- DOM readiness blocked 时返回 structured blocked result不抛错
- renderer 抛错时捕获为 structured blocked result
- DOM ready 时调用
`renderIniPanelShellWorkflowOverviewEmbeddingMountState()` 并回填 `renderResult`
- `createIniPanelLaunchApiManifest().methods` 新增
`mountWorkflowOverviewEmbeddingMountState`
- `createIniPanelShellViewModel()` 暴露
`mountWorkflowOverviewEmbeddingMountState`
- `launch.html` 的 `window.linuxCncIniPanelLaunchApi` 新增真实 browser 入口
`mountWorkflowOverviewEmbeddingMountState()`
- `workflow-overview.html` 的 `window.linuxCncIniPanelWorkflowOverviewApi` 新增真实 browser
入口 `mountWorkflowOverviewEmbeddingMountState()`
- `verify_ini_panel_ui_shell.mjs` 覆盖 ready DOM wrapper result 与 missing document/nodes
blocked result
- `verify_ini_panel_launch_api_manifest.mjs` 覆盖 launch manifest 与 launch 页面真实 API
- `verify_ini_panel_shell_integration_manifest.mjs` 覆盖 helper export、launch method count 与文档记录;
- `verify_ini_panel_entry_docs.mjs` 与 `docs/panel-entry.md` 同步记录新 helper/API
- `ini_panel_workflow_overview_smoke.html` 在真实 workflow overview browser 页面中执行 wrapper
校验 API、render row count、error 与 readiness
- `ini_panel_shell_integration_workflow_smoke.html` 校验外部 shell 自定义 mount DOM contract 的
missing DOM blocked wrapper result
- `ini_panel_launch_smoke.html` 校验 launch API 与 workflow overview iframe API 暴露新 wrapper
- `PROJECT_COMPLETION_TRACKER.md` 同步当前完成批次与下一步 SDK/API surface consolidation
- 未新增控制按钮;
- 未执行 action-plan
- 未解析 G-code
- 未解释 canonical events
- 未新增 JS CNC 语义;
- 未改变 OPFS/session persistence、LinuxCNC interpreter、tool、parameter、planner 或
LinuxCNC-owned runtime semantics。
验证已通过:
```bash
git diff --check
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh
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_interp_wasm.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
ini_panel_ui_shell_node_smoke=ok
ini_panel_launch_api_manifest_node_smoke=ok
ini_panel_shell_integration_manifest_node_smoke=ok
ini_panel_entry_docs_node_smoke=ok
ui_node_smokes=ok
browser_ini_opfs_smoke=ok
browser_ini_control_page_smoke=ok
browser_ini_launch_smoke=ok
browser_ini_workflow_overview_smoke=ok
browser_ini_shell_integration_workflow_smoke=ok
vendor sync up to date
standalone CNC semantics guard complete
interp_wasm_node_smoke=ok
sim_configs_wasm_node_inventory_executed=28
sim_configs_wasm_node_inventory_passed=28
sim_configs_wasm_node_inventory_skipped=131
sim_configs_wasm_node_inventory_unexpected_fail=0
host_wasm_opfs_browser_smokes=ok
```
下一步工作计划:
进入 SDK/API surface consolidation。下一批建议审计 `wasm-port/runtime/sdk/src/index.js` 与
`wasm-port/runtime/sdk/README.md`,确认外部调用方可复用的稳定 API 是否覆盖 INI panel shell
handoff、workflow overview embedding、OPFS/session persistence 与 sim-config staging优先补
SDK export/README 说明和 Node smoke不扩大 CNC 语义边界,不新增解释器语义。
十二、2026-06-15 继续执行记录SDK/API surface exports and smoke
本轮按 `text14.txt` 执行,进入 SDK/API surface consolidation。审计并扩展
`wasm-port/runtime/sdk/src/index.js`,让外部调用方可以从 SDK stable entrypoint 直接使用核心
LinuxCNC WASM wrappers、sim-config staging、OPFS/session persistence以及 INI panel shell
handoff / workflow overview embedding helper。
完成内容:
- `runtime/sdk/src/index.js` 保留既有 core exports
- `createLinuxCncIniSdk()`
- `createLinuxCncInterpSdk()`
- `planIniFileContextStaging()`
- `planSimConfigStaging()`
- `analyzeIniRuntimeBoundaries()`
- SDK stable entrypoint 新增 OPFS/path/file/session exports
- `getOpfsRoot()`
- `saveTextFile()`
- `loadTextFile()`
- `machineIniPath()`
- `toolTablePath()`
- `parameterFilePath()`
- `gcodeProgramPath()`
- `sessionSnapshotPath()`
- `defaultMachinePaths()`
- `normalizeOpfsPath()`
- session snapshot helpers
- machine text/G-code file helpers
- parameter/tool-table OPFS bridge helpers
- `loadMachineSessionFromOpfs()`
- SDK stable entrypoint 新增 INI panel shell/workflow overview helper exports
- launch API manifest/schema helpers
- shell integration manifest/readiness/schema/workflow helpers
- shell session handoff summary/package/mount helpers
- workflow overview contract/readiness helpers
- workflow overview embedding report/display/render/DOM/mount helpers
- `mountIniPanelShellWorkflowOverviewEmbeddingMountState()`
- 新增 `wasm-port/tests/sdk/node/verify_sdk_surface.mjs`
- 新增 `wasm-port/tests/sdk/node/verify_sdk_surface.sh`
- SDK surface smoke 覆盖:
- core exports
- OPFS/session persistence exports
- workflow overview embedding mount wrapper exports
- path helper runtime shape
- launch manifest compatibility
- shell view-model method exposure
- README/tracker 文档记录;
- `wasm-port/tests/host/verify_host_smokes.sh` 纳入
`wasm-port/tests/sdk/node/verify_sdk_surface.sh`
- `wasm-port/runtime/sdk/README.md` 增补 stable imports、OPFS/session persistence exports、
INI panel shell handoff exports、workflow overview embedding helper说明与边界说明
- `PROJECT_COMPLETION_TRACKER.md` 同步当前完成批次与下一步 OPFS/session persistence
project-level summary / release-gate docs
- 未新增控制按钮;
- 未执行 action-plan
- 未解析 G-code
- 未解释 canonical events
- 未新增 JS CNC 语义;
- 未改变 LinuxCNC interpreter、tool、parameter、planner 或 LinuxCNC-owned runtime semantics。
验证已通过:
```bash
git diff --check
wasm-port/tests/sdk/node/verify_sdk_surface.sh
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh
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_interp_wasm.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
sdk_surface_node_smoke=ok
ini_panel_ui_shell_node_smoke=ok
ini_panel_launch_api_manifest_node_smoke=ok
ini_panel_shell_integration_manifest_node_smoke=ok
ini_panel_entry_docs_node_smoke=ok
ui_node_smokes=ok
browser_ini_opfs_smoke=ok
browser_ini_control_page_smoke=ok
browser_ini_launch_smoke=ok
browser_ini_workflow_overview_smoke=ok
browser_ini_shell_integration_workflow_smoke=ok
vendor sync up to date
standalone CNC semantics guard complete
interp_wasm_node_smoke=ok
sim_configs_wasm_node_inventory_executed=28
sim_configs_wasm_node_inventory_passed=28
sim_configs_wasm_node_inventory_skipped=131
sim_configs_wasm_node_inventory_unexpected_fail=0
host_wasm_opfs_browser_smokes=ok
```
下一步工作计划:
继续推进 OPFS/session persistence 与 release-gate 文档收口。下一批建议新增项目级
OPFS/session persistence summary 或 release workflow 文档,串联 SDK stable imports、browser
OPFS smoke、session snapshot/machine-file helpers、host gate 命令和 blocked runtime family 说明;
优先让新接手者能按文档复现支持面与验证入口,不扩大 CNC 语义边界。
十三、2026-06-15 继续执行记录OPFS/session persistence release-gate docs
本轮按 `text14.txt` 执行,继续推进 OPFS/session persistence 与 release-gate 文档收口。新增
项目级 OPFS/session persistence handoff 文档,串联 SDK stable imports、browser OPFS smoke、
session snapshot/machine-file helpers、host gate 命令和 blocked runtime family 说明。
完成内容:
- 新增 `wasm-port/docs/opfs-session-persistence.md`
- 文档定义项目级 OPFS/session persistence 支持面:
- OPFS text/file helpers
- OPFS path helpers
- session snapshot helpers
- machine file and G-code helpers
- parameter/tool-table OPFS bridge helpers
- `loadMachineSessionFromOpfs()`
- UI/session helper docs 入口;
- 文档记录 persistence workflow
- machine INI/parameter/tool-table OPFS 保存路径;
- optional G-code OPFS 保存路径;
- session snapshot OPFS 保存路径;
- `loadMachineSessionFromOpfs()` 如何使用 LinuxCNC-backed INI SDK 读取
`[RS274NGC]PARAMETER_FILE`、`[EMCIO]TOOL_TABLE` 与
`[EMCIO]RANDOM_TOOLCHANGER`
- parameter/tool-table bridge 如何复制 OPFS text 到 WASM FS 并调用 LinuxCNC-backed
interpreter SDK
- 文档记录 browser OPFS/session smoke
- `browser_ini_opfs_smoke=ok`
- `browser_ini_control_page_smoke=ok`
- `browser_ini_launch_smoke=ok`
- `browser_ini_workflow_overview_smoke=ok`
- `browser_ini_shell_integration_workflow_smoke=ok`
- 文档记录 release gate 命令:
- `git diff --check`
- vendor/source guard
- SDK surface smoke
- OPFS file-service smoke
- UI Node smoke
- interpreter WASM smoke
- sim-config inventory WASM smoke
- browser INI panel smoke
- host aggregate smoke
- 文档记录仍 blocked 的 runtime families
- `L4-USER-M-PROCESS`
- `L4-TOOL-DB`
- `L4-PYTHON-REMAP`
- 文档明确 OPFS/session persistence 不解锁 full LinuxCNC runtime family不执行 opt-in runtime probes
- 文档记录 failure modes
- missing OPFS support
- invalid OPFS paths
- invalid snapshot format/version/session id/payload/machine id
- missing host files
- tool/parameter/remap/planner/kinematics 仍由 LinuxCNC-owned runtime semantics 提供;
- `wasm-port/README.md` 增加 `docs/opfs-session-persistence.md` 项目级入口;
- 新增 `wasm-port/tests/docs/node/verify_opfs_session_docs.mjs`
- 新增 `wasm-port/tests/docs/node/verify_opfs_session_docs.sh`
- docs smoke 覆盖:
- OPFS/session release-gate 文档存在;
- SDK stable entrypoint 记录;
- persistence helpers 记录;
- browser/host gate 输出记录;
- blocked runtime family 记录;
- README、SDK README、host smoke 与 browser smoke 交叉引用;
- `wasm-port/tests/host/verify_host_smokes.sh` 纳入
`wasm-port/tests/docs/node/verify_opfs_session_docs.sh`
- `PROJECT_COMPLETION_TRACKER.md` 同步当前完成批次与下一步 sim-config coverage/release-gate docs
- 未新增控制按钮;
- 未执行 action-plan
- 未解析 G-code
- 未解释 canonical events
- 未新增 JS CNC 语义;
- 未改变 LinuxCNC interpreter、tool、parameter、planner、kinematics 或 LinuxCNC-owned runtime
semantics。
验证已通过:
```bash
git diff --check
wasm-port/tests/docs/node/verify_opfs_session_docs.sh
wasm-port/tests/sdk/node/verify_sdk_surface.sh
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh
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_interp_wasm.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
opfs_session_docs_node_smoke=ok
sdk_surface_node_smoke=ok
ini_panel_ui_shell_node_smoke=ok
ini_panel_launch_api_manifest_node_smoke=ok
ini_panel_shell_integration_manifest_node_smoke=ok
ini_panel_entry_docs_node_smoke=ok
ui_node_smokes=ok
browser_ini_opfs_smoke=ok
browser_ini_control_page_smoke=ok
browser_ini_launch_smoke=ok
browser_ini_workflow_overview_smoke=ok
browser_ini_shell_integration_workflow_smoke=ok
vendor sync up to date
standalone CNC semantics guard complete
interp_wasm_node_smoke=ok
sim_configs_wasm_node_inventory_executed=28
sim_configs_wasm_node_inventory_passed=28
sim_configs_wasm_node_inventory_skipped=131
sim_configs_wasm_node_inventory_unexpected_fail=0
host_wasm_opfs_browser_smokes=ok
```
下一步工作计划:
继续推进 sim-config coverage/release-gate 文档收口。下一批建议新增或收敛
sim-config coverage handoff 文档/测试,明确 `ASSET_ONLY`、`L4_PYTHON_REMAP`、`L4_TOOL_DB`、
`L4_USER_M_PROCESS`、`NON_MAIN_CLASS`、`UPSTREAM_DEMO` 等 skip reasons 与当前 inventory
输出之间的对应关系,并把 release gate 中的 `sim_configs_wasm_node_inventory_*` 输出作为
机器可审计基线;仍不 promotion blocked runtime family不扩大 CNC 语义边界。
十四、2026-06-15 继续执行记录sim-config coverage release-gate docs
本轮按 `text14.txt` 执行,继续推进 sim-config coverage/release-gate 文档收口。新增短版
sim-config coverage handoff 文档与 docs smoke明确 skip reason、inventory 输出、artifact 路径、
blocked runtime family policy 与 release gate 的对应关系。
完成内容:
- 新增 `wasm-port/docs/sim-configs-coverage-handoff.md`
- 文档记录当前 Node/WASM inventory gate
`SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_sim_configs_inventory_wasm.sh`
- 文档固定当前 machine-readable baseline
- `sim_configs_wasm_node_inventory_executed=28`
- `sim_configs_wasm_node_inventory_passed=28`
- `sim_configs_wasm_node_inventory_skipped=131`
- `sim_configs_wasm_node_inventory_unexpected_fail=0`
- `sim_configs_wasm_node_inventory_skip_ASSET_ONLY=65`
- `sim_configs_wasm_node_inventory_skip_L4_PYTHON_REMAP=53`
- `sim_configs_wasm_node_inventory_skip_L4_TOOL_DB=1`
- `sim_configs_wasm_node_inventory_skip_L4_USER_M_PROCESS=1`
- `sim_configs_wasm_node_inventory_skip_NON_MAIN_CLASS=10`
- `sim_configs_wasm_node_inventory_skip_UPSTREAM_DEMO=1`
- 文档记录关键 generated artifacts
- `summary.tsv`
- `skip-summary.tsv`
- `boundary-summary.tsv`
- `blocked-dependency-summary.tsv`
- `full-process-boundary-summary.tsv`
- `python-remap-boundary-summary.tsv`
- `runtime-boundary-promotion-blockers.tsv`
- `runtime-boundary-host-readiness-rollup.tsv`
- `runtime-boundary-opt-in-probe-dispatch-rollup.tsv`
- 文档明确 artifact reason 与 shell metric suffix 的映射:
- `ASSET-ONLY` -> `ASSET_ONLY`
- `L4-PYTHON-REMAP` -> `L4_PYTHON_REMAP`
- `L4-TOOL-DB` -> `L4_TOOL_DB`
- `L4-USER-M-PROCESS` -> `L4_USER_M_PROCESS`
- `NON_MAIN_CLASS` -> `NON_MAIN_CLASS`
- `UPSTREAM-DEMO` -> `UPSTREAM_DEMO`
- 文档记录 release promotion policy
- 必须有 LinuxCNC-owned runtime proof
- native proof 先通过;
- Node/WASM proof 后通过;
- browser/host proof 最后通过;
- standalone CNC semantics guard 仍通过;
- generated inventory artifacts 与 docs 一致;
- 文档重申不得从 JS glue promotion
- `L4-PYTHON-REMAP`
- `L4-TOOL-DB`
- `L4-USER-M-PROCESS`
- 文档记录 sim-config coverage release gate 与 host aggregate 必须输出;
- 文档记录 blocked runtime opt-in probes 仍非当前 release gate
- 新增 `wasm-port/tests/docs/node/verify_sim_configs_coverage_docs.mjs`
- 新增 `wasm-port/tests/docs/node/verify_sim_configs_coverage_docs.sh`
- docs smoke 覆盖:
- handoff 文档存在;
- inventory baseline 输出;
- skip reason map
- artifact path
- standalone CNC semantics guard
- blocked runtime family
- matrix/completion-plan/tracker/host gate 交叉引用;
- 若 `skip-summary.tsv` 已存在,则校验当前 skip reason counts
- `wasm-port/README.md` 增加 `docs/sim-configs-coverage-handoff.md` 项目级入口;
- `wasm-port/tests/host/verify_host_smokes.sh` 纳入
`wasm-port/tests/docs/node/verify_sim_configs_coverage_docs.sh`
- `PROJECT_COMPLETION_TRACKER.md` 同步当前完成批次与下一步 host/runtime boundary reports
- 未新增控制按钮;
- 未执行 action-plan
- 未解析 G-code
- 未解释 canonical events
- 未新增 JS CNC 语义;
- 未 promotion blocked runtime family
- 未改变 LinuxCNC interpreter、tool、parameter、planner、kinematics、remap 或 LinuxCNC-owned
runtime semantics。
验证已通过:
```bash
git diff --check
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/docs/node/verify_sim_configs_coverage_docs.sh
wasm-port/tests/docs/node/verify_opfs_session_docs.sh
wasm-port/tests/sdk/node/verify_sdk_surface.sh
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
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_ini_panel_browser.sh
wasm-port/tests/host/verify_host_smokes.sh
```
关键输出:
```text
sim_configs_coverage_docs_node_smoke=ok
opfs_session_docs_node_smoke=ok
sdk_surface_node_smoke=ok
ini_panel_ui_shell_node_smoke=ok
ini_panel_launch_api_manifest_node_smoke=ok
ini_panel_shell_integration_manifest_node_smoke=ok
ini_panel_entry_docs_node_smoke=ok
ui_node_smokes=ok
browser_ini_opfs_smoke=ok
browser_ini_control_page_smoke=ok
browser_ini_launch_smoke=ok
browser_ini_workflow_overview_smoke=ok
browser_ini_shell_integration_workflow_smoke=ok
vendor sync up to date
standalone CNC semantics guard complete
interp_wasm_node_smoke=ok
sim_configs_wasm_node_inventory_executed=28
sim_configs_wasm_node_inventory_passed=28
sim_configs_wasm_node_inventory_skipped=131
sim_configs_wasm_node_inventory_unexpected_fail=0
sim_configs_wasm_node_inventory_skip_ASSET_ONLY=65
sim_configs_wasm_node_inventory_skip_L4_PYTHON_REMAP=53
sim_configs_wasm_node_inventory_skip_L4_TOOL_DB=1
sim_configs_wasm_node_inventory_skip_L4_USER_M_PROCESS=1
sim_configs_wasm_node_inventory_skip_NON_MAIN_CLASS=10
sim_configs_wasm_node_inventory_skip_UPSTREAM_DEMO=1
host_wasm_opfs_browser_smokes=ok
```
下一步工作计划:
继续推进 host/runtime boundary reports 与最终 release-gate 文档收口。下一批建议新增或收敛
host/runtime boundary handoff 文档/测试,聚合 blocked runtime family 的 host readiness、
promotion blockers、opt-in probe dispatch/skip evidence、native evidence acceptance gate以及
当前 host 为什么保持 `blocked_missing_host_runtime`;仍不运行 opt-in runtime probes不 promotion
`L4-USER-M-PROCESS`、`L4-TOOL-DB`、`L4-PYTHON-REMAP`。
十五、2026-06-15 继续执行记录host/runtime boundary release-gate docs
本轮按 `text14.txt` 执行,继续推进 host/runtime boundary reports 与最终 release-gate 文档收口。
新增短版 host/runtime boundary handoff 文档与 docs smoke聚合 blocked runtime family 的 host
readiness、promotion blockers、opt-in probe dispatch/skip evidence、native evidence acceptance gate
并明确当前 host 为什么保持 blocked。
完成内容:
- 新增 `wasm-port/docs/host-runtime-boundary-handoff.md`
- 文档记录当前 blocked runtime families
- `L4-USER-M-PROCESS`
- `L4-TOOL-DB`
- `L4-PYTHON-REMAP`
- 文档记录关键 generated artifacts
- `runtime-boundary-host-readiness-rollup.tsv`
- `runtime-boundary-promotion-blockers.tsv`
- `runtime-boundary-opt-in-probe-dispatch-rollup.tsv`
- `runtime-boundary-native-evidence-acceptance-gate.tsv`
- `runtime-boundary-opt-in-probe-skip-evidence-rollup.tsv`
- `blocked-runtime-promotion-lock.tsv`
- 文档固定当前 host readiness rollup
- `host_readiness_status=host_blocked_for_all_opt_in_native_probes`
- `family_count=3`
- `host_ready_family_count=0`
- `host_blocked_family_count=3`
- `blocked_families=L4-PYTHON-REMAP,L4-TOOL-DB,L4-USER-M-PROCESS`
- `missing_host_requirements=halcmd,halrun,linuxcnc,milltask`
- `ready_opt_in_command_count=0`
- `execution_enabled=0`
- `promotion_allowed=0`
- 文档记录 current promotion blockers
- `host_runtime_requirements_missing`
- `native_runtime_probe_not_passed`
- `native_pass_evidence_not_ready`
- `node_inventory_gate_not_complete`
- `browser_smoke_gate_not_complete`
- `promotion_lock_active`
- `manual_lock_update_required`
- 文档固定 opt-in probe dispatch state
- `dispatch_status=dispatch_blocked_for_all_opt_in_native_probes`
- `probe_count=3`
- `dispatch_allowed_count=0`
- `dispatch_blocked_count=3`
- `dispatch_actions=skip_missing_host_requirements`
- `execution_enabled=0`
- `promotion_allowed=0`
- 文档记录仍 blocked 的 opt-in probe commands
- `ENABLE_MILLTURN_USER_M_RUNTIME_PROBE=1 bash wasm-port/tests/native/probe_millturn_user_m_runtime.sh`
- `ENABLE_TOOL_DB_RUNTIME_PROBE=1 bash wasm-port/tests/native/probe_tool_db_runtime.sh`
- `ENABLE_PYTHON_REMAP_RUNTIME_PROBE=1 bash wasm-port/tests/native/probe_python_remap_runtime.sh`
- 文档记录 native evidence acceptance gate 当前状态:
- `current_probe_status=skipped_missing_host_runtime`
- `native_evidence_status=pending_until_native_pass`
- `skip_evidence_status=skip_valid_until_host_requirements_available`
- `node_gate_status=blocked_until_native_pass_evidence`
- `browser_gate_status=blocked_until_node_gate_complete`
- `native_evidence_gate=blocked_until_host_requirements_available`
- `evidence_acceptance_allowed=0`
- 文档明确 skipped opt-in probe 不是 native pass只证明当前 host 正确 blocked
- 文档记录 release gate 与 promotion rule
- 新增 `wasm-port/tests/docs/node/verify_host_runtime_boundary_docs.mjs`
- 新增 `wasm-port/tests/docs/node/verify_host_runtime_boundary_docs.sh`
- docs smoke 覆盖:
- handoff 文档存在;
- host readiness artifact
- promotion blocker artifact
- opt-in dispatch artifact
- native evidence acceptance artifact
- blocked runtime family
- blocked opt-in commands
- full-process docs、sim-config handoff、inventory test、README、tracker、host gate 交叉引用;
- 若 generated host readiness / dispatch rollup artifacts 已存在,则校验当前 blocked 状态;
- `wasm-port/README.md` 增加 `docs/host-runtime-boundary-handoff.md` 项目级入口;
- `wasm-port/tests/host/verify_host_smokes.sh` 纳入
`wasm-port/tests/docs/node/verify_host_runtime_boundary_docs.sh`
- `PROJECT_COMPLETION_TRACKER.md` 同步当前完成批次与下一步最终 README/docs acceptance checklist
- 修正 `verify_sim_configs_coverage_docs.mjs` 对 tracker 文案的断言,使其接受当前
`Sim config coverage` 表述;
- 未新增控制按钮;
- 未执行 action-plan
- 未解析 G-code
- 未解释 canonical events
- 未新增 JS CNC 语义;
- 未运行 opt-in runtime probes
- 未 promotion blocked runtime family
- 未改变 LinuxCNC interpreter、tool、parameter、planner、kinematics、remap 或 LinuxCNC-owned
runtime semantics。
验证已通过:
```bash
git diff --check
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/docs/node/verify_host_runtime_boundary_docs.sh
wasm-port/tests/docs/node/verify_sim_configs_coverage_docs.sh
wasm-port/tests/docs/node/verify_opfs_session_docs.sh
wasm-port/tests/sdk/node/verify_sdk_surface.sh
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
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_ini_panel_browser.sh
wasm-port/tests/host/verify_host_smokes.sh
```
关键输出:
```text
host_runtime_boundary_docs_node_smoke=ok
sim_configs_coverage_docs_node_smoke=ok
opfs_session_docs_node_smoke=ok
sdk_surface_node_smoke=ok
ini_panel_ui_shell_node_smoke=ok
ini_panel_launch_api_manifest_node_smoke=ok
ini_panel_shell_integration_manifest_node_smoke=ok
ini_panel_entry_docs_node_smoke=ok
ui_node_smokes=ok
browser_ini_opfs_smoke=ok
browser_ini_control_page_smoke=ok
browser_ini_launch_smoke=ok
browser_ini_workflow_overview_smoke=ok
browser_ini_shell_integration_workflow_smoke=ok
vendor sync up to date
standalone CNC semantics guard complete
interp_wasm_node_smoke=ok
sim_configs_wasm_node_inventory_executed=28
sim_configs_wasm_node_inventory_passed=28
sim_configs_wasm_node_inventory_skipped=131
sim_configs_wasm_node_inventory_unexpected_fail=0
sim_configs_wasm_node_inventory_skip_ASSET_ONLY=65
sim_configs_wasm_node_inventory_skip_L4_PYTHON_REMAP=53
sim_configs_wasm_node_inventory_skip_L4_TOOL_DB=1
sim_configs_wasm_node_inventory_skip_L4_USER_M_PROCESS=1
sim_configs_wasm_node_inventory_skip_NON_MAIN_CLASS=10
sim_configs_wasm_node_inventory_skip_UPSTREAM_DEMO=1
host_wasm_opfs_browser_smokes=ok
```
下一步工作计划:
继续推进最终 README/docs acceptance checklist 与项目完成 handoff。下一批建议刷新
`wasm-port/README.md`、`PROJECT_COMPLETION_TRACKER.md` 和必要 docs 索引,形成新接手者不阅读
`text1` 到 `text13` 也能完成验证的最终路径;重点是收敛 required gates、supported workflows、
blocked runtime families、SDK/API surface 与 browser/UI workflow 入口,不新增功能或 CNC 语义。
十六、2026-06-16 继续执行记录project release handoff docs
本轮按 `text14.txt` 执行,推进最终 README/docs acceptance checklist 与项目完成 handoff。
新增项目级 release handoff 文档和 docs smoke把 README、panel entry、SDK、OPFS/session、
sim-config coverage、host/runtime boundary、source reuse、drift report 与 tracker 串成新接手者可直接
执行的验收路径。
完成内容:
- 新增 `wasm-port/docs/project-release-handoff.md`
- 新增 `wasm-port/tests/docs/node/verify_project_release_handoff_docs.mjs`
- 新增 `wasm-port/tests/docs/node/verify_project_release_handoff_docs.sh`
- `wasm-port/README.md` 增加当前 release handoff 入口、最小 release validation commands、
expected handoff smoke outputs、browser/UI 与 SDK 入口;
- `wasm-port/docs/panel-entry.md` 增加项目级 handoff 入口、SDK 稳定导入说明、
workflow overview embedding helpers 概括与 release validation 引用;
- `wasm-port/docs/source-reuse-map.md` 增加 project release handoff 交叉引用;
- `wasm-port/docs/drift-report.md` 增加 project release handoff 交叉引用;
- `wasm-port/tests/host/verify_host_smokes.sh` 纳入
`wasm-port/tests/docs/node/verify_project_release_handoff_docs.sh`
- `PROJECT_COMPLETION_TRACKER.md` 同步:
- latest completed batch 更新为 `project release handoff docs`
- OPFS/session persistence、SDK/API surface、Browser/UI workflow、Workflow overview embedding、
Documentation/release gate 标记为 current scope stable
- Host/runtime boundary proof 标记为 stable blocked state
- Documentation/Release Gate 工作项标记完成;
- Final Acceptance Checklist 增加 project release handoff docs smoke
- 当前下一步收敛为 final required gate set、clean working tree 与最终 completion record
- 未新增控制按钮;
- 未执行 action-plan
- 未解析 G-code
- 未解释 canonical events
- 未新增 JS CNC 语义;
- 未运行 opt-in runtime probes
- 未 promotion blocked runtime family
- 未改变 LinuxCNC interpreter、tool、parameter、planner、kinematics、remap 或 LinuxCNC-owned
runtime semantics。
验证已通过:
```bash
git diff --check
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_interp_wasm.sh
SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_sim_configs_inventory_wasm.sh
wasm-port/tests/docs/node/verify_project_release_handoff_docs.sh
wasm-port/tests/docs/node/verify_opfs_session_docs.sh
wasm-port/tests/docs/node/verify_sim_configs_coverage_docs.sh
wasm-port/tests/docs/node/verify_host_runtime_boundary_docs.sh
wasm-port/tests/sdk/node/verify_sdk_surface.sh
wasm-port/tests/ui/node/verify_ini_panel_entry_docs.sh
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh
wasm-port/tests/host/verify_host_smokes.sh
```
关键输出:
```text
project_release_handoff_docs_node_smoke=ok
opfs_session_docs_node_smoke=ok
sim_configs_coverage_docs_node_smoke=ok
host_runtime_boundary_docs_node_smoke=ok
sdk_surface_node_smoke=ok
ini_panel_entry_docs_node_smoke=ok
ui_node_smokes=ok
vendor sync up to date
standalone CNC semantics guard complete
interp_wasm_node_smoke=ok
sim_configs_wasm_node_inventory_executed=28
sim_configs_wasm_node_inventory_passed=28
sim_configs_wasm_node_inventory_skipped=131
sim_configs_wasm_node_inventory_unexpected_fail=0
sim_configs_wasm_node_inventory_skip_ASSET_ONLY=65
sim_configs_wasm_node_inventory_skip_L4_PYTHON_REMAP=53
sim_configs_wasm_node_inventory_skip_L4_TOOL_DB=1
sim_configs_wasm_node_inventory_skip_L4_USER_M_PROCESS=1
sim_configs_wasm_node_inventory_skip_NON_MAIN_CLASS=10
sim_configs_wasm_node_inventory_skip_UPSTREAM_DEMO=1
browser_ini_opfs_smoke=ok
browser_ini_control_page_smoke=ok
browser_ini_launch_smoke=ok
browser_ini_workflow_overview_smoke=ok
browser_ini_shell_integration_workflow_smoke=ok
browser_interp_smoke=ok
host_wasm_opfs_browser_smokes=ok
```
下一步工作计划:
进入最终 clean-tree acceptance closeout。下一批建议在本批提交后从 clean working tree 重新执行
`docs/project-release-handoff.md` 的最小 release validation commands若全部通过则把
`PROJECT_COMPLETION_TRACKER.md` 的 Final Acceptance Checklist 勾选为当前 scope complete并在
`text14.txt` 追加最终完成记录。仍不新增功能、不扩大 CNC 语义、不 promotion blocked runtime family。
十七、2026-06-16 继续执行记录final clean-tree acceptance closeout
本轮按 `text14.txt` 执行,从 clean working tree 重新执行
`docs/project-release-handoff.md` 的最小 release validation commands。所有 required gates 均通过,
随后将 `PROJECT_COMPLETION_TRACKER.md` 的 Final Acceptance Checklist 勾选为当前 scope complete
并追加本最终完成记录。
完成内容:
- 从 clean working tree 重新执行 release validation commands
- `PROJECT_COMPLETION_TRACKER.md` 同步:
- latest completed batch 更新为 `final clean-tree acceptance closeout`
- current scope status 标记为 complete after final clean-tree release validation
- Remaining Work 标记为当前 scope 无剩余必需工作;
- Final Acceptance Checklist 全部勾选;
- `text14.txt` 追加当前 scope final completion record
- 未新增控制按钮;
- 未执行 action-plan
- 未解析 G-code
- 未解释 canonical events
- 未新增 JS CNC 语义;
- 未运行 opt-in runtime probes
- 未 promotion blocked runtime family
- 未改变 LinuxCNC interpreter、tool、parameter、planner、kinematics、remap 或 LinuxCNC-owned
runtime semantics。
验证已通过:
```bash
git diff --check
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_interp_wasm.sh
SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_sim_configs_inventory_wasm.sh
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh
wasm-port/tests/ui/node/verify_ui_node_smokes.sh
wasm-port/tests/host/verify_host_smokes.sh
```
关键输出:
```text
vendor sync up to date
standalone CNC semantics guard complete
interp_wasm_node_smoke=ok
sim_configs_wasm_node_inventory_executed=28
sim_configs_wasm_node_inventory_passed=28
sim_configs_wasm_node_inventory_skipped=131
sim_configs_wasm_node_inventory_unexpected_fail=0
sim_configs_wasm_node_inventory_skip_ASSET_ONLY=65
sim_configs_wasm_node_inventory_skip_L4_PYTHON_REMAP=53
sim_configs_wasm_node_inventory_skip_L4_TOOL_DB=1
sim_configs_wasm_node_inventory_skip_L4_USER_M_PROCESS=1
sim_configs_wasm_node_inventory_skip_NON_MAIN_CLASS=10
sim_configs_wasm_node_inventory_skip_UPSTREAM_DEMO=1
browser_ini_opfs_smoke=ok
browser_ini_control_page_smoke=ok
browser_ini_launch_smoke=ok
browser_ini_workflow_overview_smoke=ok
browser_ini_shell_integration_workflow_smoke=ok
ui_node_smokes=ok
project_release_handoff_docs_node_smoke=ok
host_wasm_opfs_browser_smokes=ok
```
当前 scope 完成状态:
```text
complete_for_current_scope=1
working_tree_clean_after_commit_required=1
blocked_runtime_families=L4-USER-M-PROCESS,L4-TOOL-DB,L4-PYTHON-REMAP
blocked_runtime_promotion_allowed=0
```
下一步工作计划:
当前 scope 已完成。后续只在出现新范围请求或真实 LinuxCNC host runtime 可用时继续推进:
若 host runtime 可用,按 native -> Node/WASM -> browser/host 顺序验证
`L4-USER-M-PROCESS`、`L4-TOOL-DB`、`L4-PYTHON-REMAP`,否则保持 blocked若进入新功能范围
继续遵守 LinuxCNC 作为唯一 CNC 语义来源、JS/browser 只做边界 glue 与 UI/OPFS/SDK workflow。
十八、2026-06-16 继续执行记录project release gate wrapper
本轮在当前 scope complete 后继续快速推进可维护性,不新增运行时功能。新增单入口 project
release gate wrapper把 `docs/project-release-handoff.md` 中的最小 release validation commands
固化为可执行脚本,减少后续维护者手动拼命令的漂移风险。
完成内容:
- 新增 `wasm-port/tests/host/verify_project_release_gate.sh`
- 脚本执行当前 scope 最小 release validation commands
- `git diff --check`
- `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_interp_wasm.sh`
- `SKIP_INTERP_BUILD=1 wasm-port/tests/wasm/node/verify_sim_configs_inventory_wasm.sh`
- `SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_ini_panel_browser.sh`
- `wasm-port/tests/ui/node/verify_ui_node_smokes.sh`
- `wasm-port/tests/host/verify_host_smokes.sh`
- 脚本成功时输出 `project_release_gate=ok`
- `wasm-port/docs/project-release-handoff.md` 增加单入口 release gate 命令和输出;
- `wasm-port/README.md` 增加单入口 release gate 命令和输出;
- `PROJECT_COMPLETION_TRACKER.md` 增加 Project release gate wrapper 状态与 checklist 项;
- `wasm-port/tests/docs/node/verify_project_release_handoff_docs.mjs` 增加 release gate wrapper
文档/脚本漂移检查;
- 未新增控制按钮;
- 未执行 action-plan
- 未解析 G-code
- 未解释 canonical events
- 未新增 JS CNC 语义;
- 未运行 opt-in runtime probes
- 未 promotion blocked runtime family
- 未改变 LinuxCNC interpreter、tool、parameter、planner、kinematics、remap 或 LinuxCNC-owned
runtime semantics。
验证已通过:
```bash
git diff --check
wasm-port/tests/docs/node/verify_project_release_handoff_docs.sh
wasm-port/tests/host/verify_project_release_gate.sh
```
关键输出:
```text
project_release_handoff_docs_node_smoke=ok
vendor sync up to date
standalone CNC semantics guard complete
interp_wasm_node_smoke=ok
sim_configs_wasm_node_inventory_unexpected_fail=0
browser_ini_shell_integration_workflow_smoke=ok
ui_node_smokes=ok
host_wasm_opfs_browser_smokes=ok
project_release_gate=ok
```
下一步工作计划:
若本批验证通过并提交,后续可以继续做低风险可维护性推进:为 project release gate 增加短文档索引或
CI 入口说明;或者在真实 LinuxCNC host runtime 可用前,保持 blocked runtime family 不 promotion
只维护 guard、docs 和 workflow/API 边界。
二十、2026-06-16 继续执行记录OPFS machine session readiness SDK helper
本轮按“功能实质性推进为主”继续推进,新增可直接复用的 OPFS/session readiness helper。该 helper
允许外部 SDK/UI 调用方在真正加载 machine session 到 WASM 前,结构化检查 persisted INI、参数文件、
工具表、可选 G-code 和可选 session snapshot 是否存在且 snapshot envelope 有效。
完成内容:
- 新增 `wasm-port/runtime/opfs/machine-session-readiness.js`
- 新增 `readMachineSessionReadiness(machineId, options)`
- helper 返回:
- `machineId`
- `ready`
- `phase`
- `paths`
- `checks`
- `snapshotCheck`
- `snapshot`
- `missing`
- `errors`
- 支持默认 machine file paths
- 支持显式 `iniOpfsPath`、`parameterOpfsPath`、`toolTableOpfsPath`
- 支持 `gcodeFilename`、`gcodeOpfsPath` 和 `gcodeRequired`
- 支持 `sessionId` 与 `snapshotFilename`,并复用现有 `loadMachineSessionSnapshot()` 做 snapshot
envelope/machine id 校验;
- `wasm-port/runtime/sdk/src/index.js` re-export `readMachineSessionReadiness()`
- `wasm-port/tests/opfs/node/verify_file_service.mjs` 覆盖 ready session、missing session、
snapshot check、G-code check 与 invalid OPFS path
- `wasm-port/tests/sdk/node/verify_sdk_surface.mjs` 覆盖 SDK export
- `wasm-port/runtime/sdk/README.md` 记录新 SDK helper
- `wasm-port/docs/opfs-session-persistence.md` 记录 readiness workflow
- `wasm-port/tests/docs/node/verify_opfs_session_docs.mjs` 覆盖 docs drift
- `PROJECT_COMPLETION_TRACKER.md` 同步 OPFS/session 与 SDK/API surface 状态;
- 未新增控制按钮;
- 未执行 action-plan
- 未解析 G-code
- 未解释 canonical events
- 未新增 JS CNC 语义;
- 未运行 opt-in runtime probes
- 未 promotion blocked runtime family
- 未改变 LinuxCNC interpreter、tool、parameter、planner、kinematics、remap 或 LinuxCNC-owned
runtime semantics。
已通过的定向验证:
```bash
git diff --check
wasm-port/tests/opfs/node/verify_file_service.sh
wasm-port/tests/sdk/node/verify_sdk_surface.sh
wasm-port/tests/docs/node/verify_opfs_session_docs.sh
```
关键输出:
```text
opfs_file_service_node_smoke=ok
sdk_surface_node_smoke=ok
opfs_session_docs_node_smoke=ok
```
下一步工作计划:
继续以实质能力推进为主。下一批建议把 `readMachineSessionReadiness()` 接入 INI panel/session
workflow 或 external shell handoff view-model让 UI 在加载 session 前显示结构化 ready/blocked
原因;仍保持只读,不新增控制按钮,不解析 G-code不扩大 LinuxCNC 语义边界。