A PreToolUse hook in Claude Code intercepts rm access.log error.log, decides the deletion should be blocked, and returns exactly the JSON shape shown in Anthropic's own hooks documentation:...

3 points•northbridgedev•5 days ago•0 comments•

0 comments

No comments yet.

Related stories