@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 +1 -1
- package/plugins/devflow-core/skills/wireframe-render/SKILL.md +1 -1
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/wireframe_validate.py +1 -1
- package/plugins/devflow-core/skills/workflow-orchestrator/templates/feature-development.yaml +2 -2
- package/src/constants.ts +1 -1
package/package.json
CHANGED
|
@@ -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)
|
package/plugins/devflow-core/skills/workflow-orchestrator/templates/feature-development.yaml
CHANGED
|
@@ -568,7 +568,7 @@ steps:
|
|
|
568
568
|
- wireframe-validate
|
|
569
569
|
inputs:
|
|
570
570
|
- ".planning/features/{feature}/canonical.json"
|
|
571
|
-
- ".planning/features/{feature}/
|
|
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}/
|
|
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