Problem
From verification of #13 (Logic P3 #10):
Footer direct-commit 計數定義「無任何 open PR ref 的 issue 數」沒指定要不要排除 closed phase issue。--state all 模式會列 closed issue,這些通常無 open PR ref → 會被計入 direct-commit,footer 數字會虛胖。
Type
refactor / counter accuracy
Why P3
--state all 才會踩到,日常 --state open (default) 不影響
- Cosmetic 但會誤導 user
Recommendation
- Footer
direct-commit 計數明文規定「只計 phase != closed 的 issue」
- 或在 footer 顯示時分開:
X open direct-commit; Y closed (when --state all)
Source
surfaced during /idd-verify #13 (Logic P3 #10 finding)
Related: #13
Problem
Type
refactor / counter accuracy
Why P3
--state all才會踩到,日常--state open(default) 不影響Recommendation
direct-commit計數明文規定「只計 phase != closed 的 issue」X open direct-commit; Y closed(when --state all)Source
surfaced during /idd-verify #13 (Logic P3 #10 finding)
Related: #13