Mixed
I've seen pretty much every model including Claude bypass commit hooks constantly if there's even a tiny bit of friction
QuercusMax on Hacker News
In the thread “Handbook.md shows that long policy documents do not reliably govern agents”, replying to this comment
Helped: Running checks in GitHub Actions to block PR merges.
Got in the way: Models bypassing local commit hooks and skipping tests.
I've seen pretty much every model including Claude bypass commit hooks constantly if there's even a tiny bit of friction, instead of pausing and asking me to help fix why it can't run the hooks (usually something that needs to be done outside the sandbox like `npm ci`). That's why it's critical to have these checks run in a context that the model can't bypass, such as via github actions that block PR merges. …