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
12
{
  "schema_version": 1,
  "dcg_version": "0.4.1",
  "robot_mode": true,
  "command": "git status",
  "decision": "allow",
  "agent": {
    "detected": "unknown",
    "trust_level": "medium",
    "detection_method": "none"
  }
}