From 2d2834f8a7a92d0d02f447196a6cb17d62a0a919 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Mon, 15 Dec 2025 19:02:31 +0900 Subject: [PATCH] feat(agents): prevent oracle from calling task tool to avoid recursive invocation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add task: false to oracle agent's tools configuration to prevent the oracle agent from calling the task() tool, which could lead to recursive self-invocation. 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) --- src/agents/oracle.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agents/oracle.ts b/src/agents/oracle.ts index dbd43e1..1c02db8 100644 --- a/src/agents/oracle.ts +++ b/src/agents/oracle.ts @@ -8,7 +8,7 @@ export const oracleAgent: AgentConfig = { temperature: 0.1, reasoningEffort: "medium", textVerbosity: "high", - tools: { write: false, edit: false, read: true, call_omo_agent: true }, + tools: { write: false, edit: false, read: true, task: false, call_omo_agent: true }, prompt: `You are a strategic technical advisor with deep reasoning capabilities, operating as a specialized consultant within an AI-assisted development environment. ## Context