You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add safety approval before executing any command (#6)
Implements the safety approval system requested in issue #5.
## Summary
Adds a comprehensive safety approval system that prompts users before
executing any command with three dropdown options:
- Yes: Execute this command
- Yes, and don't ask again: Execute this and all future commands
- No: Cancel command execution
## Changes
- Add `RequireApproval` configuration setting in `tools.safety`
- Implement interactive approval prompt with session-based tracking
- Integrate approval system into `ToolEngine.ExecuteBash` method
- Add new CLI commands for safety management
- Update documentation with new configuration options
- Safety approval enabled by default for security
## Testing
- All safety commands tested and working
- Build, format, and lint checks pass
- Configuration management verified
Fixes#5
Generated with [Claude Code](https://claude.ai/code)
---------
Signed-off-by: Eden Reich <[email protected]>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Eden Reich <[email protected]>
0 commit comments