Skip to content

bug: idd-update 的 git log --grep="#$NUMBER" 無詞界,#10 命中 #107 (sibling concern from #347) #348

Description

@kiki830621

Problem

Original text(idd-update SKILL.md Step 3「Related Commits」):
「```bash
git log --oneline --grep="#$NUMBER" | head -10

— Source: `skills/idd-update/SKILL.md`

--grep="#10" 是子字串比對,會命中 #100#109#1000… 任何以 #10 開頭的引用。2026-09-15 對一張 #10 跑 idd-update 時,Related Commits 抓到一個 commit message 寫的是 bestASR #107,與該 issue 無關。當下是人眼看出來手動改成 (none);若是 unattended chain,這條假 commit 會被寫進 Current Status。

Type

bug

Expected

用詞界限制引用:

git log --oneline --grep="#${NUMBER}\b" | head -10        # 或 -E '(^|[^0-9])#'"$NUMBER"'([^0-9]|$)'

idd-issue Step 4.8 的 umbrella pre-flight、idd-close 的 commit 掃描若用同一 pattern,一併修。

Actual

子字串比對;issue 編號越小、repo 越活躍,假陽性越多(#1 會命中所有 #1x#1xx)。

Impact

Current Status 的 Commits 小節是 close gate 與人讀進度的依據;假 commit 會讓一張沒動過的 issue看起來已有實作。


Filed as a sibling concern surfaced during /idd-issue for #347(IC_R011 linked-context sweep,同 session 實際踩到)。Parent context: #347

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions