Merge hook fix: board-item-on-merge.sh targets validation column #227
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/claude-custom#227
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Story (sub-ticket of #209)
Lineage
Parent: #209 (right-side validation pipeline)
Sub-ticket 2 of 3. Independent — can be dispatched in parallel with #226.
Repo
forgejo_admin/claude-customUser Story
As the platform operator
I want merged PRs to move board items to the
validationcolumn instead ofdoneSo that every merge triggers the validation pipeline and no ticket bypasses production validation
Context
board-item-on-merge.shis the hook that fires onmcp__forgejo__merge_approved_pr. Currently line 135 moves items to"done"directly, making thevalidationcolumn dead on arrival. Lines 54, 89, and 134 also reference "done" in log and fallback messages.File Targets
Files to modify:
~/.claude/hooks/board-item-on-merge.sh"done"to"validation"Files NOT to touch:
~/.claude/settings.json— hook registration unchanged~/.claude/hooks/check-board-advance.sh— left-side gate, covered by #161~/.claude/skills/validate-ticket/— covered by #228Acceptance Criteria
board-item-on-merge.shline 135 (or equivalent) moves items to"validation"column instead of"done""validation"instead of"done"Test Expectations
validation(notdone)grep -n '"done"\|"validation"' ~/.claude/hooks/board-item-on-merge.shConstraints
validationcolumn must already exist in the board schema. If the column doesn't exist, the hook will fail silently (fail-open pattern). Verify column exists before testing.Checklist
Related
review-518-2026-03-28— scope review that identified line targetsClosing as redundant
PR #229 (from issue #210, validation-gate hook) already implements this exact change —
board-item-on-merge.shtargetsvalidationcolumn instead ofdone. That PR is currently in QA review.This ticket was created during #209 decomposition but #210 was already in flight covering the same scope.