2 results for tag "safety-guard"
PreToolUse-hook safety net that intercepts destructive Bash/Write/Edit operations (rm -rf, git push --force, DROP TABLE, kubectl delete, --no-verify, etc.) and optionally restricts edits to a specific directory tree. Three modes: Careful (warn on destructive commands), Freeze (lock edits to a dir), and Guard (both combined) for autonomous-agent safety.