新增 release artifact JSON workflow API
This commit is contained in:
62
text14.txt
62
text14.txt
@@ -3308,6 +3308,68 @@ ui_node_smokes=ok
|
||||
继续只做实质能力推进。优先选择可执行 gate、SDK/API surface、或真实 browser workflow;
|
||||
不要做只整理断言或局部常量化的批次。
|
||||
|
||||
五十二、2026-06-16 继续执行记录:project release readiness artifact JSON workflow API
|
||||
|
||||
本轮继续按“每批必须产出可调用 API、可验证 workflow、可执行 gate、或真实 UI/browser 能力”推进,
|
||||
把 release readiness artifact JSON 文本处理提升为 non-throwing workflow API。外部 CI/dashboard 现在
|
||||
可以一次调用完成 parse、artifact validation、summary view-model 和 action-plan,不需要自行串联 SDK
|
||||
helper 或捕获 JSON parse error。
|
||||
|
||||
完成内容:
|
||||
|
||||
- `runtime/sdk/src/project-release-readiness.js` 新增:
|
||||
- `createProjectReleaseReadinessArtifactJsonWorkflow()`;
|
||||
- 新 workflow 返回:
|
||||
- `apiName: project-release-readiness-artifact-json-workflow`;
|
||||
- `workflowVersion: 1`;
|
||||
- `phase/ready`;
|
||||
- `parsed/parseError`;
|
||||
- `artifactApiName`;
|
||||
- `validation`;
|
||||
- `summaryViewModel`;
|
||||
- `actionPlan`;
|
||||
- `missing`;
|
||||
- display `rows[]`;
|
||||
- ready artifact JSON 返回 parsed/ready workflow 和空 action-plan commands;
|
||||
- stale artifact JSON 返回 parsed/blocked workflow 和 artifact validation action-plan;
|
||||
- invalid JSON 返回 parsed=false 的 blocked workflow,不向外抛异常,并给出相同 next-command action-plan;
|
||||
- `runtime/sdk/src/index.js` re-export 新 workflow API;
|
||||
- `verify_project_release_gate_manifest.mjs` 覆盖 ready/stale/invalid JSON workflow;
|
||||
- `verify_sdk_surface.mjs` 覆盖 SDK export、README 可发现性、ready summary 和 invalid parse;
|
||||
- `runtime/sdk/README.md`、`docs/project-release-handoff.md`、`verify_project_release_handoff_docs.mjs`
|
||||
记录 JSON workflow API;
|
||||
- `PROJECT_COMPLETION_TRACKER.md` 同步 latest completed batch 和 SDK/API surface 状态;
|
||||
- 未新增控制按钮;
|
||||
- 未执行 release gate/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。
|
||||
|
||||
验证已通过(先行 targeted):
|
||||
|
||||
```bash
|
||||
wasm-port/tests/sdk/node/verify_project_release_gate_manifest.sh
|
||||
wasm-port/tests/sdk/node/verify_sdk_surface.sh
|
||||
wasm-port/tests/docs/node/verify_project_release_handoff_docs.sh
|
||||
```
|
||||
|
||||
关键输出:
|
||||
|
||||
```text
|
||||
project_release_gate_manifest_node_smoke=ok
|
||||
sdk_surface_node_smoke=ok
|
||||
project_release_handoff_docs_node_smoke=ok
|
||||
```
|
||||
|
||||
下一步工作计划:
|
||||
|
||||
继续只做实质能力推进。优先选择可执行 gate、SDK/API surface、或真实 browser workflow;
|
||||
不要做只整理断言或局部常量化的批次。
|
||||
|
||||
五十一、2026-06-16 继续执行记录:project release readiness artifact validation action-plan API
|
||||
|
||||
本轮继续按“每批必须产出可调用 API、可验证 workflow、可执行 gate、或真实 UI/browser 能力”推进,
|
||||
|
||||
Reference in New Issue
Block a user