新增 release artifact URL workflow action plan API

This commit is contained in:
2026-06-16 15:01:39 +08:00
parent b7ec759645
commit e11c29533f
9 changed files with 230 additions and 4 deletions

View File

@@ -3308,6 +3308,69 @@ ui_node_smokes=ok
继续只做实质能力推进。优先选择可执行 gate、SDK/API surface、或真实 browser workflow
不要做只整理断言或局部常量化的批次。
五十六、2026-06-16 继续执行记录project release artifact URL workflow action-plan SDK API
本轮继续按“每批必须产出可调用 API、可验证 workflow、可执行 gate、或真实 UI/browser 能力”推进,
把 SDK 侧 release artifact URL workflow 的 blocked 状态提升为 workflow-level action-plan API。外部
CI/dashboard 现在可以区分缺调用输入、URL fetch 问题和可执行 gate 命令,不需要从 summary rows 或
validation action-plan 里自行推断下一步。
完成内容:
- `runtime/sdk/src/project-release-readiness.js` 新增:
- `createProjectReleaseReadinessArtifactUrlWorkflowActionPlan()`
- 新 action-plan 返回:
- `apiName: project-release-readiness-artifact-url-workflow-action-plan`
- `planVersion: 1`
- `phase/ready`
- `missing`
- `actionCount/commandCount`
- `nextActionId/nextCommand`
- `actions[]`
- `commands[]`
- `shellScript`
- display `rows[]`
- ready URL workflow 返回空 actions 和 ready shellScript
- missing URL/fetch 返回 input actions 加 validation command actions
- HTTP failure 和 thrown fetch 返回 fetch action 加 validation command actions
- `runtime/sdk/src/index.js` re-export 新 action-plan API
- `verify_project_release_artifact_url_workflow.mjs` 覆盖 ready、missing input、HTTP failure、thrown fetch
的 workflow-level action-plan
- `verify_sdk_surface.mjs` 覆盖 SDK export、README 可发现性和 ready shellScript
- `runtime/sdk/README.md`、`docs/project-release-handoff.md`、`verify_project_release_handoff_docs.mjs`
记录 URL workflow action-plan API
- `PROJECT_COMPLETION_TRACKER.md` 同步 latest completed batch 和 SDK/API surface 状态;
- 未新增控制按钮;
- 未执行 opt-in runtime probes
- 未解析 G-code
- 未解释 canonical events
- 未新增 JS CNC 语义;
- 未 promotion blocked runtime family
- 未改变 LinuxCNC interpreter、tool、parameter、planner、kinematics、remap 或 LinuxCNC-owned
runtime semantics。
验证已通过(先行 targeted
```bash
wasm-port/tests/sdk/node/verify_project_release_artifact_url_workflow.sh
wasm-port/tests/sdk/node/verify_sdk_surface.sh
wasm-port/tests/docs/node/verify_project_release_handoff_docs.sh
```
关键输出:
```text
project_release_artifact_url_workflow_node_smoke=ok
sdk_surface_node_smoke=ok
project_release_gate_manifest_node_smoke=ok
project_release_handoff_docs_node_smoke=ok
```
下一步工作计划:
继续只做实质能力推进。优先选择可执行 gate、SDK/API surface、或真实 browser workflow
不要做只整理断言或局部常量化的批次。
五十五、2026-06-16 继续执行记录project release artifact URL workflow SDK gate
本轮继续按“每批必须产出可调用 API、可验证 workflow、可执行 gate、或真实 UI/browser 能力”推进,