暴露 workflow overview artifact summary 浏览器 API

This commit is contained in:
2026-06-16 11:22:12 +08:00
parent 82bb02de15
commit 61779cad55
16 changed files with 171 additions and 72 deletions

View File

@@ -3308,6 +3308,74 @@ ui_node_smokes=ok
继续只做实质能力推进。优先选择可执行 gate、SDK/API surface、或真实 browser workflow
不要做只整理断言或局部常量化的批次。
四十八、2026-06-16 继续执行记录workflow overview release artifact validation summary browser API
本轮继续按“每批必须产出可调用 API、可验证 workflow、可执行 gate、或真实 UI/browser 能力”推进,
把 release readiness artifact validation summary 从 SDK helper 暴露到 INI workflow overview iframe 和
launch shell API。外部 browser shell 现在可以通过 workflow overview API 直接获取 artifact validation
summary statusLine 和 dashboard rows不需要导入 SDK 私有路径或解释 validation flags。
完成内容:
- `runtime/ui/ini-panel/ui-shell.js` 新增并导出:
- `createIniPanelShellWorkflowOverviewReleaseReadinessArtifactValidationSummaryViewModel()`
- `createIniPanelShellWorkflowOverviewContract().methodNames` 新增:
- `getWorkflowOverviewReleaseReadinessArtifactValidationSummaryViewModel`
- `createIniPanelLaunchApiManifest().methods` 新增同名 discovery method
- `createIniPanelShellViewModel()` 暴露:
- `createWorkflowOverviewReleaseReadinessArtifactValidationSummaryViewModel`
- `workflow-overview.html` 暴露:
- `window.linuxCncIniPanelWorkflowOverviewApi.getWorkflowOverviewReleaseReadinessArtifactValidationSummaryViewModel()`
- `launch.html` 暴露:
- `window.linuxCncIniPanelLaunchApi.getWorkflowOverviewReleaseReadinessArtifactValidationSummaryViewModel()`
- `runtime/sdk/src/index.js` re-export 新 UI helper
- Browser smoke 不再手写旧 release artifact JSON改为读取
`tests/fixtures/project-release-readiness-ready.json`
- `ini_panel_workflow_overview_smoke.html` 覆盖 workflow overview iframe summary API
- `ini_panel_shell_integration_workflow_smoke.html` 覆盖 launch API 与 workflow overview iframe API summary 一致;
- `release_artifact_url_workflow_smoke.html` 同步 enhanced validation rows
- UI Node smoke、launch manifest smoke、shell integration manifest smoke、entry docs smoke、SDK surface smoke
覆盖新 helper/API
- `docs/panel-entry.md`、`runtime/sdk/README.md`、`PROJECT_COMPLETION_TRACKER.md` 同步新 browser/API 能力;
- 未新增控制按钮;
- 未在 browser/API 中执行 release gate 或 shell command
- 未解析 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。
验证已通过(先行 targeted
```bash
wasm-port/tests/sdk/node/verify_sdk_surface.sh
wasm-port/tests/ui/node/verify_ini_panel_entry_docs.sh
wasm-port/tests/docs/node/verify_project_release_handoff_docs.sh
wasm-port/tests/ui/node/verify_ini_panel_shell_integration_manifest.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
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 wasm-port/tests/browser/verify_release_artifact_url_workflow_browser.sh
```
关键输出:
```text
sdk_surface_node_smoke=ok
ini_panel_entry_docs_node_smoke=ok
project_release_handoff_docs_node_smoke=ok
ini_panel_shell_integration_manifest_node_smoke=ok
ui_node_smokes=ok
browser_ini_shell_integration_workflow_smoke=ok
browser_release_artifact_url_workflow_smoke=ok
```
下一步工作计划:
继续只做实质能力推进。优先选择可执行 gate、SDK/API surface、或真实 browser workflow
不要做只整理断言或局部常量化的批次。
四十七、2026-06-16 继续执行记录project release readiness artifact validation summary view-model API
本轮继续按“每批必须产出可调用 API、可验证 workflow、可执行 gate、或真实 UI/browser 能力”推进,