destructive_command_guard 0.4.3

A Claude Code hook that blocks destructive commands before they execute
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Core pack - fundamental git and filesystem protections.
//!
//! This pack is always enabled and cannot be disabled.
//! It provides protection against:
//! - Git commands that destroy uncommitted work
//! - Git commands that rewrite history
//! - Git commands that destroy stashes
//! - Filesystem commands that recursively delete outside temp directories

pub mod filesystem;
pub mod git;