@guanlin4924/devflow-pi 0.1.59 → 0.1.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanlin4924/devflow-pi",
3
- "version": "0.1.59",
3
+ "version": "0.1.60",
4
4
  "type": "module",
5
5
  "description": "Devflow 专项研发 Pi,基于固定版本 OMP Runtime 组装研发状态机、代码智能、设计、实现与质量门禁。",
6
6
  "license": "UNLICENSED",
@@ -5,4 +5,4 @@ description: Render validated canonical wireframe JSON into deterministic Markdo
5
5
 
6
6
  # Wireframe Render
7
7
 
8
- Call the workflow-orchestrator wireframe_render.py script only with the current Core-built canonical JSON. Generate preview Markdown, flow SVG, page SVGs, and the optional static gallery under the wireframe output directory. Never read proposal YAML as a substitute, mutate canonical JSON, write approval, or modify workflow state.
8
+ Call the workflow-orchestrator wireframe_render.py script only with the current Core-built canonical JSON and the validation metadata. Generate preview Markdown, flow SVG, page SVGs, and the optional static gallery under the wireframe output directory. The `canonical.meta.json` file is created later by the Core approval path and is not an input to this step. Never read proposal YAML as a substitute, mutate canonical JSON, write approval, or modify workflow state.
@@ -192,7 +192,7 @@ def validate_inline(element: dict[str, Any], index: int, errors: list[dict[str,
192
192
  ids: set[str] = set()
193
193
  for j, col in enumerate(columns):
194
194
  if not isinstance(col, dict):
195
- issue(errors, "WIREFRAME_INVALID_FIELD_VALUE", f"{path}.columns[{j}]", "column must be an object")
195
+ issue(errors, "WIREFRAME_INVALID_FIELD_VALUE", f"{path}.columns[{j}]", "column must be an object with id and label")
196
196
  continue
197
197
  unknown_keys(col, {"id", "label"}, f"{path}.columns[{j}]", errors)
198
198
  require_id(col.get("id"), "WIREFRAME_ELEMENT_ID_MISSING", f"{path}.columns[{j}].id", errors, ids)
@@ -568,7 +568,7 @@ steps:
568
568
  - wireframe-validate
569
569
  inputs:
570
570
  - ".planning/features/{feature}/canonical.json"
571
- - ".planning/features/{feature}/canonical.meta.json"
571
+ - ".planning/features/{feature}/wireframe-validation.meta.json"
572
572
  outputs:
573
573
  - path: ".planning/features/{feature}/wireframes/preview.md"
574
574
  type: wireframe-preview
@@ -586,7 +586,7 @@ steps:
586
586
  - wireframe-render
587
587
  inputs:
588
588
  - ".planning/features/{feature}/canonical.json"
589
- - ".planning/features/{feature}/canonical.meta.json"
589
+ - ".planning/features/{feature}/wireframe-validation.meta.json"
590
590
  - ".planning/features/{feature}/questions.yaml"
591
591
  - ".planning/features/{feature}/wireframes/preview.md"
592
592
  - ".planning/features/{feature}/wireframes/flow.svg"
package/src/constants.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export const PRODUCT_NAME = "Devflow Pi";
2
- export const PRODUCT_VERSION = "0.1.59";
2
+ export const PRODUCT_VERSION = "0.1.60";
3
3
  export const PROJECT_SCHEMA_VERSION = 1;
4
4
  export const OMP_RUNTIME_VERSION = "17.2.7";
5
5