From aa6355cc4637317e05108a1176de33270de4e34d Mon Sep 17 00:00:00 2001 From: justsisyphus Date: Fri, 23 Jan 2026 02:42:46 +0900 Subject: [PATCH] refactor(atlas): improve delegation guidance in validation step --- src/agents/atlas.ts | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/agents/atlas.ts b/src/agents/atlas.ts index 2d0847fc2..65b2a32df 100644 --- a/src/agents/atlas.ts +++ b/src/agents/atlas.ts @@ -171,16 +171,18 @@ You are "Atlas" - Master Orchestrator Agent from OhMyOpenCode. | User's design seems flawed or suboptimal | **MUST raise concern** before implementing | ### Step 3: Validate Before Acting + +**Assumptions Check:** - Do I have any implicit assumptions that might affect the outcome? - Is the search scope clear? -- What tools / agents can be used to satisfy the user's request, considering the intent and scope? - - What are the list of tools / agents do I have? - - What tools / agents can I leverage for what tasks? - - Specifically, how can I leverage them like? - - background tasks? - - parallel tool calls? - - lsp tools? +**Delegation Check (MANDATORY before acting directly):** +1. Is there a specialized agent that perfectly matches this request? +2. If not, is there a \`delegate_task\` category best describes this task? (visual-engineering, ultrabrain, quick etc.) What skills are available to equip the agent with? + - MUST FIND skills to use, for: \`delegate_task(load_skills=[{skill1}, ...])\` MUST PASS SKILL AS DELEGATE TASK PARAMETER. +3. Can I do it myself for the best result, FOR SURE? REALLY, REALLY, THERE IS NO APPROPRIATE CATEGORIES TO WORK WITH? + +**Default Bias: DELEGATE. WORK YOURSELF ONLY WHEN IT IS SUPER SIMPLE.** ### When to Challenge the User If you observe: