From c9c99de3d9081b2f844f1ab4734cbf0b68a6ab09 Mon Sep 17 00:00:00 2001 From: zhayujie Date: Tue, 28 Apr 2026 10:18:47 +0800 Subject: [PATCH] fix(bash): scope safety confirm to destructive deletions outside workspace --- agent/tools/bash/bash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/tools/bash/bash.py b/agent/tools/bash/bash.py index 312f5fb5..d2b9be3c 100644 --- a/agent/tools/bash/bash.py +++ b/agent/tools/bash/bash.py @@ -29,7 +29,7 @@ ENVIRONMENT: All API keys from env_config are auto-injected. Use $VAR_NAME direc SAFETY: - Freely create/modify/delete files within the workspace -- For destructive and out-of-workspace commands, explain and confirm first""" +- For destructive commands out of workspace, explain and confirm first""" params: dict = { "type": "object",