Dicklesworthstone/destructive_command_guard
The Destructive Command Guard (dcg) is for blocking dangerous git and shell commands from being executed by agents.
About the project
dcg is a hook for AI coding agents that intercepts destructive git and shell commands (like git reset --hard or rm -rf) before they execute. It works with Claude Code, Codex CLI, Gemini CLI, Copilot, and others.
Useful for
- Block an accidental git reset --hard from an AI agent to avoid losing uncommitted work
- Enable PostgreSQL, Kubernetes, and AWS packs so the agent can't drop tables or namespaces
- Run dcg in scan mode in CI or pre-commit to catch dangerous commands in code
README summarized by DeepSeek V4.1 Flash. Details may be inaccurate.
Why it’s trending
- 0 stars so far today, about 4 expected by the end of the day.
- Over the last two days the pace is 1.7× that of the previous week and a half.
- GitHub Trending Rust today: #17, +11 stars.
Stars per day
Bars are daily stars, the line is the usual pace. Red marks spike days.
Numbers
- Total stars
- 6,027
- Stars in a day
- 4
- Forks
- 246
- Issues and pull requests
- 460
- Watchers
- 21
- Language
- Rust
- Latest release
- v0.14.4 · September 16, 2026
- Created
- January 7, 2026
- Last push
- September 21, 2026
Star trust
Growth looks organic: forks and discussion are in line with active projects, and stars arrive unevenly, the way people give them.
These are heuristics, not a verdict: we judge by the repository’s behavior, not by a list of stargazers.
Spotted in
- September 21, 2026GitHub Trending Rust today: #16, +11 stars
Similar projects
-
9.5
zai-org/ZCode
Z.ai's coding agent workbench: an Electron desktop app, browser UI and terminal Agent CLI. The repo contains the client, backend, shared UI and the agent CLI/runtime sources.
-
9.3
NandhaKishorM/laya
Laya is a non-autoregressive decision engine that answers typed questions (choice, score, noul) over any state (text, email, ticket, JSON) in a single forward pass (~35 ms on GPU) with calibrated probabilities.
-
8.7
browser-use/jev-ultrafast
A browser agent with a dynamic, indexed action space: given one natural-language goal it picks an operation (CLICK, TYPE_TEXT, SELECT, etc.) and an element, using a small LLM to generate text only for typing.
-
7.4
trycua/cua
Open-source toolkit for computer-use agents: cloud and local desktops, an app automation driver, and benchmarks for training and evaluation. For those giving AI agents control of a computer.
-
7.2
typesafe-ai/skills
Agent skills for building with TypeSafe's System One API: typed decisions and probabilities for LLM agents. Installs as a Claude Code plugin or via skills.sh.
-
7.1
vercel-labs/json-render
Generative UI framework: an LLM turns prompts into JSON interfaces constrained to a catalog of components you define, keeping output predictable and safe. Supports React, Vue, Svelte, Solid, React Native, Next.js, 3D,…