This commit is contained in:
David Blass
2026-01-20 17:25:06 +00:00
committed by pullfrog[bot]
parent 97001d7d88
commit 4e19178c81
6 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ function buildDisallowedTools(ctx: AgentRunContext): string[] {
// both "disabled" and "restricted" block native bash
// "restricted" means use MCP bash tool instead
const bash = ctx.payload.bash;
if (bash !== "enabled") disallowed.push("Bash");
if (bash !== "enabled") disallowed.push("Bash", "Task(Bash)");
return disallowed;
}