From 8f0b5d2e1a0774ac490aca1843d0361bcda8350b Mon Sep 17 00:00:00 2001 From: ismeth Date: Thu, 19 Feb 2026 02:21:17 +0100 Subject: [PATCH] fix(athena): grant task and question tool permissions Add Athena to the task tool allow list and grant explicit question tool permission so it can launch council members and present multi-select prompts. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus --- src/plugin-handlers/tool-config-handler.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/plugin-handlers/tool-config-handler.ts b/src/plugin-handlers/tool-config-handler.ts index e488d2da..522253cd 100644 --- a/src/plugin-handlers/tool-config-handler.ts +++ b/src/plugin-handlers/tool-config-handler.ts @@ -97,6 +97,14 @@ export function applyToolConfig(params: { ...denyTodoTools, }; } + const athena = agentByKey(params.agentResult, "athena"); + if (athena) { + athena.permission = { + ...athena.permission, + task: "allow", + question: questionPermission, + }; + } params.config.permission = { ...(params.config.permission as Record),