Lead · Practical Usage
An error message on screen can only tell you Claude received a signal worth attending to — it can't tell you the risk has been eliminated.
Adrian Koch
·
September 28, 2026
You wrote a hook on the PostToolUse event that returns exit 2 whenever it detects a file that shouldn't have been touched. The terminal prints a red line: "blocking error." You breathe a sigh of relief, assuming the edit just got blocked — then you open the file and the content is already changed. This isn't a misconfiguration on your part. It's that the PostToolUse event type was never...