@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 CHANGED
@@ -11,7 +11,7 @@ Devflow Pi 是一个面向项目研发交付的独立 OMP 产品入口,内置
11
11
  安装与启动:
12
12
 
13
13
  ```bash
14
- npm install -g @guanlin4924/devflow-pi@0.1.100
14
+ npm install -g @guanlin4924/devflow-pi@0.1.101
15
15
  cd /path/to/your-project
16
16
  devflow-pi init
17
17
  devflow-pi doctor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanlin4924/devflow-pi",
3
- "version": "0.1.100",
3
+ "version": "0.1.101",
4
4
  "type": "module",
5
5
  "description": "Devflow 专项研发 Pi,基于固定版本 OMP Runtime 组装研发状态机、代码智能、设计、实现与质量门禁。",
6
6
  "license": "UNLICENSED",
@@ -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
- function planningFeatureFromPath(filePath: string): string | null {
1079
- const match = filePath.match(/^\.devflow\/planning\/(?:requirements|features)\/([^/\\\x00-\x1F\x7F]+)(?:\/|$)/u);
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
 
@@ -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: true
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. 无设计稿** → 标记为待确认,UI-SPEC.md 不生成,下游功能点梳理和前端方案直接使用基线描述
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-requirement-baseline | workflow-demand-clarify | workflow-wayfinder | none",
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 | `ready_for_baseline` with reuse note |
122
- | 冲突 | Existing behavior contradicts requested behavior | `ready_for_baseline` with conflict note |
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
- - `ready_for_baseline` when the prior decision is related but not blocking; record it as context.
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
@@ -1,5 +1,5 @@
1
1
  export const PRODUCT_NAME = "Devflow Pi";
2
- export const PRODUCT_VERSION = "0.1.100";
2
+ export const PRODUCT_VERSION = "0.1.101";
3
3
  export const PROJECT_SCHEMA_VERSION = 1;
4
4
  export const OMP_RUNTIME_VERSION = "17.2.7";
5
5