fix: pin managed hooks to installed CLI

Merged
40
2mo ago
+57-10

Summary

  • make the captured cliPath authoritative in generated managed hooks
  • fall back to PATH-based commit-echo resolution only when the captured CLI is unavailable
  • add an end-to-end regression test covering PATH conflicts and the fallback

Fixes #308