Dev Radar
Support
LiveUpdated 2026-09-22 09:16 UTC

One bad agent command can erase a working tree in seconds.

One bad agent command can erase a working tree in seconds. dcg (Destructive Command Guard) is a command hook for AI…

This is a dev post classified by Jev as AI dev tools (a tool drop), kept by the Dev Radar because it carries real work, not commentary.

One bad agent command can erase a working tree in seconds. dcg (Destructive Command Guard) is a command hook for AI coding agents that blocks destructive shell and Git commands before they execute. It helps you put an approval boundary around risky agent actions by intercepting commands, explaining why they were blocked, and suggesting safer alternatives. Key features: • Pre-execution guard – blocks risky Git and filesystem commands before they run • Agent integrations – supports hooks for Claude Code, Codex CLI, Gemini CLI, GitHub Copilot CLI, Cursor, Hermes Agent, and more • Configurable

Posted by Dan Kornas (99.2k followers) 1 h ago · 9 likes · 573 views · view the original post on X. Kept by the Dev Radar as AI dev tools.

More dev work like this

Every post is read and classified by Jev (TypeSafe): what it is, which market it belongs to, and whether the link is a real tool. 20.7k posts from 4.9k X accounts over the last 21 days, 2.4k tools, 12 markets. Collected every 5 minutes, fully re-ranked every hour — last update 2026-09-22 09:16 UTC. Full method.