#!/bin/bash # Git pre-commit hook: enforce the device branch-prefix rule # (.agents/rules/branch-naming.md) via .githooks/branch-guard.sh source "$(dirname "$0")/branch-guard.sh" guard_branch_name "$(git branch --show-current)"