Skip to content

commit-msg hook accepts subtask IDs (TASK-N.M) - #22

Closed
Akku wants to merge 2 commits into
mainfrom
learning/commit-msg-subtask-ids
Closed

Akku wants to merge 2 commits into
mainfrom
learning/commit-msg-subtask-ids

Conversation

@Akku

@Akku Akku commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Problem: Backlog.md subtasks carry IDs like TASK-8.2. The commit-msg hook only matched TASK-<n> and rejected commits of subtasks.

Change: the regex accepts TASK-<n>.<m>, also in comma lists (TASK-1, TASK-8.2: ...); the commit-message bullet of R-STATE-COHERENCE and the CHANGELOG (Unreleased) mention it.

Evidence: mechanical, 4 hand-run cases: TASK-8.2: x and TASK-1, TASK-8.2: x pass, TASK-8.: x and TASK-8.2 x are rejected. No fixture test added (STEM has no hook test harness).

🤖 Generated with Claude Code

@Akku

Akku commented Nov 27, 2026

Copy link
Copy Markdown
Owner Author

Superseded: landed on main as ab1d90e (TASK-457), since this branch conflicted with main.

Akku added a commit that referenced this pull request Nov 27, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Akku Akku closed this Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant