Skip to content

Commit 6eabb06

Browse files
committed
docs: explain destructive command guard
1 parent 8019120 commit 6eabb06

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

docs/features/auto-approving-actions.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,19 @@ The dropdown shows a grid of permission tiles. Controls:
9292

9393
---
9494

95+
### Destructive Command Guard
96+
97+
The **Enable destructive command guard** setting is available under the **Execute** permission in Auto-Approve Settings. When the Execute permission and this setting are enabled, Zoo evaluates terminal commands with Destructive Command Guard (DCG) before running them automatically.
98+
99+
- Commands allowed by DCG run automatically.
100+
- Commands blocked by DCG show the matched reason or rule and require an explicit one-time decision.
101+
- Choosing **Deny** does not run the command; choosing **Approve** runs that command once.
102+
- While DCG is enabled, Zoo's allowed and denied command-prefix lists do not apply.
103+
104+
Zoo verifies the DCG download when you enable the setting. If DCG is unavailable for your platform or cannot be installed, Zoo leaves the setting disabled and shows an error.
105+
106+
---
107+
95108
## Global Enabled Switch
96109

97110
<img src="/img/auto-approving-actions/auto-approving-actions-21.png" alt="Auto-Approve dropdown; Enabled at bottom-right and All/None chips at bottom-left" width="600" />

0 commit comments

Comments
 (0)