When git hooks run, the shell profile is not sourced so nvm-managed Node installations are not in PATH. This caused 'node: command not found' errors on every commit for users relying on nvm. Add a PATH-extension fallback in both pre-commit and run-node-tool.sh that walks ~/.nvm/versions/node/*/bin/node and prepends the first found binary to PATH, mirroring how nvm itself resolves the runtime.