From 96bcd9788a78fd141807a07dff468cba35dbe535 Mon Sep 17 00:00:00 2001 From: justsisyphus Date: Tue, 20 Jan 2026 15:40:34 +0900 Subject: [PATCH] refactor(agents): rename orchestrator-sisyphus to atlas MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename agent file and update all references. Function createOrchestratorSisyphusAgent → createAtlasAgent. Metadata orchestratorSisyphusPromptMetadata → atlasPromptMetadata. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus --- .../{orchestrator-sisyphus.ts => atlas.ts} | 23 ++++++++----------- src/agents/index.ts | 2 +- src/agents/utils.ts | 12 +++++----- 3 files changed, 16 insertions(+), 21 deletions(-) rename src/agents/{orchestrator-sisyphus.ts => atlas.ts} (98%) diff --git a/src/agents/orchestrator-sisyphus.ts b/src/agents/atlas.ts similarity index 98% rename from src/agents/orchestrator-sisyphus.ts rename to src/agents/atlas.ts index 62bfe1d2a..c0a344d95 100644 --- a/src/agents/orchestrator-sisyphus.ts +++ b/src/agents/atlas.ts @@ -29,9 +29,7 @@ function buildAgentSelectionSection(agents: AvailableAgent[]): string { | \`explore\` | Codebase exploration, pattern finding | | \`librarian\` | External docs, GitHub examples, OSS reference | | \`frontend-ui-ux-engineer\` | Visual design, UI implementation | -| \`document-writer\` | README, API docs, guides | -| \`git-master\` | Git commits (ALWAYS use for commits) | -| \`debugging-master\` | Complex debugging sessions |` +| \`document-writer\` | README, API docs, guides |` } const rows = agents.map((a) => { @@ -43,9 +41,7 @@ function buildAgentSelectionSection(agents: AvailableAgent[]): string { | Agent | Best For | |-------|----------| -${rows.join("\n")} -| \`git-master\` | Git commits (ALWAYS use for commits) | -| \`debugging-master\` | Complex debugging sessions |` +${rows.join("\n")}` } function buildCategorySection(userCategories?: Record): string { @@ -119,8 +115,7 @@ function buildDecisionMatrix(agents: AvailableAgent[], userCategories?: Record = { "Momus (Plan Reviewer)": createMomusAgent, // Note: atlas is handled specially in createBuiltinAgents() // because it needs OrchestratorContext, not just a model string - atlas: createOrchestratorSisyphusAgent as unknown as AgentFactory, + atlas: createAtlasAgent as unknown as AgentFactory, } /** @@ -209,10 +209,10 @@ export function createBuiltinAgents( if (!disabledAgents.includes("atlas")) { const orchestratorOverride = agentOverrides["atlas"] const orchestratorModel = orchestratorOverride?.model ?? systemDefaultModel - let orchestratorConfig = createOrchestratorSisyphusAgent({ - model: orchestratorModel, - availableAgents, - }) + let orchestratorConfig = createAtlasAgent({ + model: orchestratorModel, + availableAgents, + }) if (orchestratorOverride) { orchestratorConfig = mergeAgentConfig(orchestratorConfig, orchestratorOverride)