Skip to content

[refactor] idd-list footer direct-commit count 應排除 closed phase issue (verify follow-up from #13) #20

@kiki830621

Description

@kiki830621

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions