I Built a PreToolUse Hook to Require Confirmation for Selected Commands—even in Claude Code's Auto Mode
用PreToolUse Hook给Claude Code Auto模式加道安全锁,防止危险命令悄悄执行。
I built an open-source tool called PolicyApprovalGate . It uses local rules to deny commands or require confirmation immediately before Claude Code or…