What's Changed in v0.17.1
Security & Guardrail Fixes
- Tri-state guardrail proof (
bd-guardrails-global-options):careful_company_running_windows.guardrailsnow returns a tri-stateDcgSegmentAction/DcgControlActionProof(Action/Inert/Unprovable). Static inertdcgargument data (for exampledcg --agent="dcg --robot allow-once abc --yes" allowlist listor escaped-quote values) skips only thedcg-command regex fallback inside proven-inert segments while keeping all self-weakeningdcgcommands, leading env-var overrides (DCG_BYPASS,DCG_DISABLE), dynamic expansions, unknown options, and redirections fail-closed (DENY). - Lookaround rule & exemption fixes (#671): Preserves custom rule lookaround context and binds lookaround exemptions strictly to their own segments so chained commands cannot inherit exemptions across segment boundaries.
Installer & Cross-Platform Fixes
- Minimal-container
install.shwithoutpython3: Whenpython3is unavailable on minimal Linux containers with an existing Claude Codesettings.json,install.shnow delegates hook registration to the newly installed nativedcg installbinary (preserving existing JSON keys) instead of aborting underset -e. Optional agent auto-configuration calls are also guarded so a non-fatal hook merge warning never aborts installation. - Linux
procps-ngCursor detection: Replaced barepgrep -fl "[Cc]ursor"pipelines with acursor_process_running()helper that capturespgrep -fa(Linux) /pgrep -fl(macOS) before filtering, preventing thegrepprocess itself from falsely triggering Cursor IDE detection on Linux.
Dependencies
- Updated
cookie0.18.2→0.18.3(RUSTSEC-2026-0594).cargo auditpasses with 0 vulnerabilities.
Installation
curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/destructive_command_guard/main/install.sh" | bash -s -- --easy-modeOr via Homebrew / Scoop:
brew install dicklesworthstone/tap/dcg
# or upgrade:
brew upgrade dcgscoop update
scoop install dcgVerification
All release archives, installers, and SHA256SUMS are signed with Minisign (keyid: 69B3955C8D2E62A8):
minisign -Vm SHA256SUMS -P RWSoYi6NXJWzaRs1mJmOwwXrZfPWcq6MXnQlNMLBYKzlIQTLwuVQG6uO
sha256sum -c SHA256SUMS --ignore-missingFull Changelog: v0.17.0...v0.17.1