From e6a572824c95d8873dcb7e0c7b6a368b46a254b2 Mon Sep 17 00:00:00 2001 From: MotorwaySouth9 Date: Wed, 14 Jan 2026 14:46:11 +0800 Subject: [PATCH] fix(migration): normalize Orchestrator-Sisyphus name --- src/shared/migration.test.ts | 2 ++ src/shared/migration.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/src/shared/migration.test.ts b/src/shared/migration.test.ts index 506736499..8f8325f43 100644 --- a/src/shared/migration.test.ts +++ b/src/shared/migration.test.ts @@ -55,6 +55,7 @@ describe("migrateAgentNames", () => { const agents = { SISYPHUS: { model: "test" }, "planner-sisyphus": { prompt: "test" }, + "Orchestrator-Sisyphus": { model: "openai/gpt-5.2" }, } // #when: Migrate agent names @@ -63,6 +64,7 @@ describe("migrateAgentNames", () => { // #then: Case-insensitive lookup should migrate correctly expect(migrated["Sisyphus"]).toEqual({ model: "test" }) expect(migrated["Prometheus (Planner)"]).toEqual({ prompt: "test" }) + expect(migrated["orchestrator-sisyphus"]).toEqual({ model: "openai/gpt-5.2" }) }) test("passes through unknown agent names unchanged", () => { diff --git a/src/shared/migration.ts b/src/shared/migration.ts index 7c3897d5a..ffc993c8f 100644 --- a/src/shared/migration.ts +++ b/src/shared/migration.ts @@ -20,6 +20,7 @@ export const AGENT_NAME_MAP: Record = { "frontend-ui-ux-engineer": "frontend-ui-ux-engineer", "document-writer": "document-writer", "multimodal-looker": "multimodal-looker", + "orchestrator-sisyphus": "orchestrator-sisyphus", } export const BUILTIN_AGENT_NAMES = new Set([