From f408d440631a6a6813e260d49f1ace037af2b709 Mon Sep 17 00:00:00 2001 From: ismeth Date: Thu, 12 Feb 2026 14:36:02 +0100 Subject: [PATCH] feat(05-02): allow Athena task tool delegation --- src/agents/athena/agent.ts | 2 +- src/shared/agent-tool-restrictions.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agents/athena/agent.ts b/src/agents/athena/agent.ts index 7068dd0c..28c8239a 100644 --- a/src/agents/athena/agent.ts +++ b/src/agents/athena/agent.ts @@ -48,7 +48,7 @@ Output requirements: - Explicitly identify disagreement areas and false-positive risk.` export function createAthenaAgent(model: string): AgentConfig { - const restrictions = createAgentToolRestrictions(["write", "edit", "task"]) + const restrictions = createAgentToolRestrictions(["write", "edit"]) const base = { description: diff --git a/src/shared/agent-tool-restrictions.ts b/src/shared/agent-tool-restrictions.ts index 018ebc5f..7a3e1a14 100644 --- a/src/shared/agent-tool-restrictions.ts +++ b/src/shared/agent-tool-restrictions.ts @@ -14,7 +14,7 @@ const EXPLORATION_AGENT_DENYLIST: Record = { } const ATHENA_RESTRICTIONS = permissionToToolBooleans( - createAgentToolRestrictions(["write", "edit", "task"]).permission + createAgentToolRestrictions(["write", "edit"]).permission ) const AGENT_RESTRICTIONS: Record> = {