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 <clio-agent@sisyphuslabs.ai>
This commit is contained in:
ismeth
2026-02-19 02:21:17 +01:00
committed by YeonGyu-Kim
parent 5bc530590d
commit f43bf361a4
@@ -122,6 +122,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 = {
webfetch: "allow",