From fca70db9090709fa9b65422d02936a3afad62324 Mon Sep 17 00:00:00 2001 From: ismeth Date: Sat, 28 Mar 2026 23:16:41 +0100 Subject: [PATCH] fix(tool-config): remove erroneous global task permission deny task: deny was mistakenly added to config.permission alongside the council tool denials. This globally denied the task delegation tool for all agents, overriding per-agent task: allow for sisyphus, atlas, etc. Only council tools should be globally denied. --- src/plugin-handlers/tool-config-handler.test.ts | 2 -- src/plugin-handlers/tool-config-handler.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/src/plugin-handlers/tool-config-handler.test.ts b/src/plugin-handlers/tool-config-handler.test.ts index f0a71c756..4b0e72e1f 100644 --- a/src/plugin-handlers/tool-config-handler.test.ts +++ b/src/plugin-handlers/tool-config-handler.test.ts @@ -38,7 +38,6 @@ describe("applyToolConfig", () => { const permission = params.config.permission as Record expect(permission.webfetch).toBe("deny") expect(permission.external_directory).toBe("deny") - expect(permission.task).toBe("deny") }) it("#then should allow webfetch and external_directory by default", () => { @@ -49,7 +48,6 @@ describe("applyToolConfig", () => { const permission = params.config.permission as Record expect(permission.webfetch).toBe("allow") expect(permission.external_directory).toBe("allow") - expect(permission.task).toBe("deny") }) }) }) diff --git a/src/plugin-handlers/tool-config-handler.ts b/src/plugin-handlers/tool-config-handler.ts index 54e5f61c7..2fc91e9d0 100644 --- a/src/plugin-handlers/tool-config-handler.ts +++ b/src/plugin-handlers/tool-config-handler.ts @@ -151,7 +151,6 @@ export function applyToolConfig(params: { webfetch: "allow", external_directory: "allow", ...(params.config.permission as Record), - task: "deny", prepare_council_prompt: "deny", council_finalize: "deny", athena_council: "deny",