spec-canon 0.1.8 → 0.1.9

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": "spec-canon",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "CLI toolkit for Spec-Driven Development (SDD)",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -35,7 +35,10 @@ Change Spec 生成顺序(后者依赖前者作为上下文):
35
35
  | 中等需求 | `01` + `02_interface` + `AI_CHANGELOG` | 回填接口 + 业务规则 |
36
36
  | 复杂需求 | 完整 `00`→`01`→`02`→`03`→`04` + `AI_CHANGELOG` | 完整回填 + 检查跨域依赖 |
37
37
 
38
- 裁剪原则:`00_context` 的必要性取决于 AI 是否需要理解系统现状;归档回填的必要性取决于是否产生系统级变更(新接口/新规则/数据模型变更)。
38
+ 裁剪三问(逐项判断最小文档集):
39
+ 1. AI 是否需要理解系统现状?→ 是则需要 `00_context`
40
+ 2. 是否涉及接口或数据模型变更?→ 是则需要 `02_interface`
41
+ 3. 是否产生需要长期保留的系统级知识?→ 是则需要归档回填 `domain_spec`
39
42
 
40
43
  ### 日常工作流
41
44