What problem does it solve?
Guard mode provides a unified safety layer that warns about destructive commands and enforces a directory-boundary to prevent accidental production edits, reducing the risk of high-impact mistakes during maintenance or debugging.
Core Features & Use Cases
- Destructive command warnings: Intercepts and warns on dangerous commands (e.g., rm -rf, DROP TABLE, force-push) before execution.
- Edit boundary enforcement: Restricts file edits to a user-specified directory, blocking edits outside the boundary.
- Use Case: Use during critical production changes or debugging sessions to minimize inadvertent damage and enforce change-control discipline.
Quick Start
Ask for the directory to restrict edits to, then activate guard mode to enable warnings and the edit boundary.