# Tier 1: staged files only. Budget < 3s — see .agents/rules/gates.md
#
# Husky v9+: no `husky.sh` sourcing (deprecated in v9, removed in v10).

# Guard the silent-failure mode: if hooks are configured but .husky/_ is
# missing (fresh worktree that never ran `npm install`), this file would not
# execute at all. Nothing we can do from inside it — so verify-hooks.sh exists
# and worktree.sh runs it at creation time.

npx --no-install lint-staged
