@winspan/claude-forge 1.76.0 → 1.78.0

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.
@@ -11,6 +11,12 @@
11
11
 
12
12
  ## 判断逻辑(按优先级)
13
13
 
14
+ 0. **是否是执行已有规划的指令?**(优先级最高)
15
+ - 如果用户说"按照规划进行"、"根据方案实施"、"执行计划"、"按照你的设计"等
16
+ - 且 {{planSection}} 显示存在活跃计划(有进行中或待处理任务)
17
+ - → moderate,requiresPipeline=false,suggestedPhases=["code","test"],skipPhases=["analyze","design"]
18
+ - reasoning 中明确说明:检测到执行已有规划的意图,跳过前期分析阶段
19
+
14
20
  1. **这个需求是否涉及代码改动?**
15
21
  - 不涉及(纯对话、提问、查看、运行命令)→ simple
16
22
  - 涉及 → 继续判断
@@ -40,6 +46,7 @@
40
46
  "reasoning": "判断理由:为什么是这个复杂度,预估改动哪些文件/模块,为什么需要或不需要编排",
41
47
  "estimatedFiles": 预估改动文件数(数字),
42
48
  "suggestedPhases": ["analyze", "design", "code", "test", "review"],
49
+ "skipPhases": [],
43
50
  "clarifyQuestions": ["需要向用户确认的问题(当需求不明确时)"],
44
51
  "searchKeywords": ["相关最佳实践关键词"],
45
52
  "confidence": 0.0-1.0 置信度(必填)
@@ -49,6 +56,11 @@
49
56
  - simple 时 suggestedPhases 为空数组,requiresPipeline 为 false
50
57
  - moderate 时 requiresPipeline 为 false,suggestedPhases 可包含 code/test
51
58
  - complex 时 requiresPipeline 为 true,suggestedPhases 包含完整流程
59
+ - skipPhases 触发条件:
60
+ * 用户明确表达"按照规划"、"根据方案"、"执行计划"等执行意图
61
+ * 且存在活跃计划(planSection 显示有进行中或待处理任务)
62
+ * 此时设置 skipPhases=["analyze","design"],直接进入实施阶段
63
+ * 不满足以上条件时,skipPhases 为空数组 []
52
64
  - clarifyQuestions 触发条件(满足任一即必须填写):
53
65
  * 需求中有歧义词("优化"、"改进"、"处理"、"搞一下"等,没有明确目标)
54
66
  * 涉及多个可能的实现方案,需要用户选择