I see on a daily basis that I prevent Claude Code from running a particular command using PreToolUse hooks, and it proceeds to work around it by writing a bash script with the forbidden command and chmod+x and running it. /facepalm
Maybe that means you need to change the text that comes out of the pre hook?
Maybe that means you need to change the text that comes out of the pre hook?