fix: improve issue ID prefix extraction for word-like suffixes
Refine ExtractIssuePrefix to better distinguish hash IDs from English words in multi-part issue IDs. Hash suffixes now require digits or be exactly 3 chars, preventing "test", "gate", "part" from being treated as hashes. This fixes prefix extraction for IDs like "vc-baseline-test". Also updates git hooks to use -q flag and adds AGENTS.md documentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# bd-hooks-version: 0.30.0
|
||||
# bd-hooks-version: 0.30.1
|
||||
#
|
||||
# bd (beads) post-checkout hook
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# bd-hooks-version: 0.30.0
|
||||
# bd-hooks-version: 0.30.1
|
||||
#
|
||||
# bd (beads) post-merge hook
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# bd-hooks-version: 0.30.0
|
||||
# bd-hooks-version: 0.30.1
|
||||
#
|
||||
# bd (beads) pre-commit hook
|
||||
#
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# bd-hooks-version: 0.30.0
|
||||
# bd-hooks-version: 0.30.1
|
||||
#
|
||||
# bd (beads) pre-push hook
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user