What problem does it solve?
When working on production systems or debugging live environments, accidental execution of destructive commands (e.g., rm -rf, DROP TABLE, force-push) or unintended edits to files outside your target directory can lead to data loss, service outages, and costly rollbacks.
Core Features & Use Cases
- Dual Safety Protections: Combines real-time warnings for high-risk destructive commands (rm -rf, DROP TABLE, force-push, git reset --hard, etc.) with strict edit boundary enforcement to prevent unintended file changes.
- Scoped Edit Restrictions: Locks all file edit operations to a user-specified directory, blocking any modifications to files outside the chosen path to avoid accidental changes to critical system files.
- Use Case: Ideal for production deployments, live system debugging, or any scenario where you need maximum guardrails to prevent accidental data loss or service disruption.
Quick Start
Activate guard mode by asking the AI to enable full safety mode and provide the directory path you want to restrict all file edits to.