Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can deterministically force a bash script as a hook.
 help



That is exactly what I do. The bash script runs, determines that a code file was changed, and then is supposed to prevent Claude from stopping until the tests are run.

Claude is periodically refusing to run those tests. That never happened prior to 4.7.


That’s crazy, you mind sharing the gist for that part? Ideally with some examples.

This would be a new level of troublesome/ruthless (insert correct english word here)




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: