One bad agent command can erase a working tree in seconds.
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
- If you're doing text rendering with @Alibaba_Qwen Qwen-Image-2.1 then this one is for you. — @ItsmeAjayKV
- 🔥最新:DeepSeek Harness v0.1.7-alpha.1 已更新! — @NFT_Chen
- Grok 4.7 High vs Xiaomi MiMo-V2.6 ! — @YouWareAI
- 🚨突发!阶跃星辰 Step Code v0.1.0 正式开源! — @NFT_Chen
- Built a Rocket Launch Scene in Three.js with Grok 4.7 and compared it with Step 5 Preview — @karankendre
- Tencent ARC Lab just released GameHorizon Suite — @HuggingPapers
- The Dot platform has processed 6.18B tokens this week, representing 34.33% of our… — @usedotai
- What is Jev, the tool buzzing across Silicon Valley lately? — @hayden090807
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.