@guanlin4924/devflow-pi 0.1.100 → 0.1.101
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/README.md +1 -1
- package/package.json +1 -1
- package/plugins/devflow-core/extensions/devflow-core.ts +4 -2
- package/plugins/devflow-core/skills/workflow-orchestrator/templates/feature-development.yaml +4 -2
- package/plugins/devflow-design/skills/workflow-ui-spec/SKILL.md +1 -1
- package/plugins/devflow-requirements/skills/workflow-requirement-triage/SKILL.md +4 -4
- package/src/constants.ts +1 -1
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1075,8 +1075,10 @@ function isCoreOwnedGovernancePath(filePath: string): boolean {
|
|
|
1075
1075
|
|| /^\.devflow\/planning\/phases\/[^/\\\x00-\x1F\x7F]+\/REVIEW\.md$/u.test(filePath);
|
|
1076
1076
|
}
|
|
1077
1077
|
|
|
1078
|
-
|
|
1079
|
-
|
|
1078
|
+
// Only `requirements/<feature>/...` is feature-scoped; files directly under
|
|
1079
|
+
// requirements/ (baseline.md, baseline.meta.json) are global artifacts.
|
|
1080
|
+
export function planningFeatureFromPath(filePath: string): string | null {
|
|
1081
|
+
const match = filePath.match(/^\.devflow\/planning\/(?:requirements|features)\/([^/\\\x00-\x1F\x7F]+)\//u);
|
|
1080
1082
|
return match?.[1] ?? null;
|
|
1081
1083
|
}
|
|
1082
1084
|
|
package/plugins/devflow-core/skills/workflow-orchestrator/templates/feature-development.yaml
CHANGED
|
@@ -1037,7 +1037,7 @@ steps:
|
|
|
1037
1037
|
outputs:
|
|
1038
1038
|
- path: ".devflow/planning/test-runs/{feature}/human-acceptance-results.json"
|
|
1039
1039
|
type: human-acceptance-results
|
|
1040
|
-
required:
|
|
1040
|
+
required: false
|
|
1041
1041
|
- path: ".devflow/planning/test-runs/{feature}/developer-handoff.md"
|
|
1042
1042
|
type: developer-acceptance-handoff
|
|
1043
1043
|
required: true
|
|
@@ -1054,7 +1054,9 @@ steps:
|
|
|
1054
1054
|
- ".devflow/planning/code-index/index.sqlite"
|
|
1055
1055
|
- ".devflow/planning/code-index/relations.jsonl"
|
|
1056
1056
|
- ".devflow/planning/phases/{phase}/REVIEW.md"
|
|
1057
|
-
- ".devflow/planning/test-runs/{feature}/human-acceptance-results.json"
|
|
1057
|
+
- path: ".devflow/planning/test-runs/{feature}/human-acceptance-results.json"
|
|
1058
|
+
required: false
|
|
1059
|
+
required_at_entry: false
|
|
1058
1060
|
- ".devflow/planning/test-runs/{feature}/developer-handoff.md"
|
|
1059
1061
|
outputs:
|
|
1060
1062
|
- path: ".devflow/planning/features/{feature}/acceptance-test-bindings.json"
|
|
@@ -73,7 +73,7 @@ UI-SPEC 不写代码细节(那是前端技术方案的事),但必须把 UI
|
|
|
73
73
|
- **A. 用户直接提供的截图/图片** → 直接读取分析
|
|
74
74
|
- **B. Figma/蓝湖链接** → 要求用户导出截图后提供,不直接访问
|
|
75
75
|
- **C. 需求基线中的 UI 描述** → 从 baseline.md 提取文字描述
|
|
76
|
-
- **D. 无设计稿** →
|
|
76
|
+
- **D. 无设计稿** → 仍按本文既定结构生成 UI-SPEC.md,使用需求基线中的 UI 描述填充,并在文档顶部声明“未提供设计来源,需求基线中的 UI 描述是本规范的来源”;所有缺少已确认来源的视觉值都写入“待确认事项”,下游步骤继续读取该文件
|
|
77
77
|
|
|
78
78
|
3. 如果设计稿路径为图片(.png/.jpg/.webp),使用 Read 工具读取图片内容进行视觉分析。
|
|
79
79
|
|
|
@@ -26,7 +26,7 @@ Always create or update:
|
|
|
26
26
|
"duplicate_count": 0,
|
|
27
27
|
"prior_rejection_count": 0,
|
|
28
28
|
"blocking_question": "",
|
|
29
|
-
"next_skill": "workflow-
|
|
29
|
+
"next_skill": "workflow-demand-clarify | workflow-wayfinder | none",
|
|
30
30
|
"searched_sources": [],
|
|
31
31
|
"related_code_paths": [],
|
|
32
32
|
"related_history_paths": []
|
|
@@ -118,8 +118,8 @@ Result categories:
|
|
|
118
118
|
|----------|---------|-------|
|
|
119
119
|
| 已实现且一致 | Current behavior already satisfies the request | `already_done` |
|
|
120
120
|
| 已实现但用户可能不知道 | Capability exists but may be hidden, permission-limited, or named differently | `ready_for_human` |
|
|
121
|
-
| 部分重叠 | Existing behavior covers part of request | `
|
|
122
|
-
| 冲突 | Existing behavior contradicts requested behavior | `
|
|
121
|
+
| 部分重叠 | Existing behavior covers part of request | `ready_for_wayfinder` with reuse note |
|
|
122
|
+
| 冲突 | Existing behavior contradicts requested behavior | `ready_for_wayfinder` with conflict note |
|
|
123
123
|
| 未发现 | No reliable overlap after searched sources | Continue triage |
|
|
124
124
|
|
|
125
125
|
## Phase 3 — Prior Rejection / Out-Of-Scope Check
|
|
@@ -149,7 +149,7 @@ If found, route:
|
|
|
149
149
|
|
|
150
150
|
- `wontfix` when the current request exactly repeats a still-valid rejection.
|
|
151
151
|
- `ready_for_human` when the user may intentionally be reversing a prior decision.
|
|
152
|
-
- `
|
|
152
|
+
- `ready_for_wayfinder` when the prior decision is related but not blocking; record the prior decision as context.
|
|
153
153
|
|
|
154
154
|
## Phase 4 — Scale And Fog Routing
|
|
155
155
|
|
package/src/constants.ts
CHANGED