Context
Current packaged hooks invoke vendor/bin/grumphp.phar directly. This fails for global installs of fast-forward/dev-tools, where local repository vendor/ may not contain that phar.
Goal
Make hook invocation path-agnostic so hooks work in both local and global DevTools setups.
Acceptance criteria
Relation
This is an intermediate fix prior to full extraction for #296.
Context
Current packaged hooks invoke
vendor/bin/grumphp.phardirectly. This fails for global installs offast-forward/dev-tools, where local repositoryvendor/may not contain that phar.Goal
Make hook invocation path-agnostic so hooks work in both local and global DevTools setups.
Acceptance criteria
vendor/bin/grumphp.pharpath../vendor/bin/grumphpwhen available../vendor/bin/grumphp.pharfor compatibility.grumphpfromPATHwhen no local executable exists../grumphp.yml> managed config fallback) is unchanged.Relation
This is an intermediate fix prior to full extraction for #296.