What problem does it solve?
When working on production systems, critical codebases, or live debugging environments, accidental execution of destructive commands (like rm -rf, DROP TABLE, or force-push) or unintended edits to files outside your target directory can cause irreversible data loss, system outages, or costly hard-to-reverse mistakes.
Core Features & Use Cases
- Destructive command warnings: Alerts you before running high-risk commands, with the option to override if the action is intentional, preventing accidental system or data damage.
- Directory-scoped edit restrictions: Blocks all file write and edit operations outside a user-specified directory, limiting the blast radius of any changes to only the intended scope.
- Use Case: Ideal for performing maintenance on a single production module, debugging a live system without risking unrelated components, or working on sensitive code where you need to ensure no unintended changes are made outside your target area.
Quick Start
Ask the AI to activate guard mode and provide the directory you want to restrict edits to, and it will enable both destructive command warnings and block all edits outside that specified path.