ai-git-tools 2.1.11 → 2.1.12

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": "ai-git-tools",
3
- "version": "2.1.11",
3
+ "version": "2.1.12",
4
4
  "description": "AI-powered Git automation tools for commit messages and PR generation",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -94,7 +94,8 @@ export function buildIssueAnalysisPrompt({ issue, evidence }) {
94
94
  - implementationDetails 必須整理 3~6 個實際完成事項。
95
95
  - behaviorRules 必須使用 scenario/behavior 物件描述不同情境的行為。
96
96
  - impactScope 必須描述受到影響的功能、API、頁面或模組。
97
- - 若能從實際流程推導出可靠的流程,才產生 flowcharts;每張流程圖必須有穩定 id、title、source evidence。
97
+ - 只要 Issue 或 Git evidence 能推導出頁面、API、驗證或狀態之間的實際步驟,flowcharts 必須至少產生一張 Mermaid 流程圖,不得因為已有文字摘要而省略。
98
+ - 只有在證據不足以描述任何流程時,flowcharts 才能回傳空陣列;每張流程圖必須有穩定 id、title、source 與 evidence。
98
99
  - 沒有明確測試或驗證證據時,verification 必須是空陣列。
99
100
  - 不要產生 suggestedStatus、coverage 或 confidence,也不要決定 Redmine status。
100
101