What problem does it solve?
Safety guardrails for destructive commands. Warns before rm -rf, DROP TABLE, force-push, git reset --hard, kubectl delete, and similar destructive operations. User can override each warning. Use when touching prod, debugging live systems, or working in a shared environment. Use when asked to "be careful", "safety mode", "prod mode", or "careful mode". (gstack)
Core Features & Use Cases
- Automatic command inspection via a PreToolUse hook to detect destructive patterns before execution.
- Safe exceptions: allow common benign paths (e.g., cleanup of temporary artifacts) and provide an explicit override path with audit logging.
- Analytics and override workflows to maintain guardrails while enabling controlled changes in shared environments.
Quick Start
Attempt a command that would delete data to see how the safety guardrails prompt for confirmation.