Hey, sorry to hear you’re having issues with your Git hooks!
Unfortunately, the execution of Git hooks is entirely managed by the Git binary itself, so my initial assumption would be that this is not a Cursor bug itself.
I’d first confirm what is happening inside your pre-commit script and attempt to run it manually in a terminal, both within and outside of Cursor, to determine if it is a Cursor-specific issue.
Signal 9 is a SIGKILL, which suggests either the OS or Cursor is killing the script. This can be caused by the script itself crashing or due to memory usage too, hence my suggestions above!