diff --git a/profiles.json b/profiles.json index 535fe04..aa88fe3 100644 --- a/profiles.json +++ b/profiles.json @@ -1,15 +1,15 @@ { "reviewer-token": "v1:XFUvCI9PnXVaW-ig:_3S9BvXywUp29cVYGA_EzFScKwC5oHkV9x2Ld8k-V_uiG7iA8n3fmjXCArzh2Lz-JDgy3IMTHoY", "profiles": [ - { - "type": "CODEX", - "model": "gpt-5.6-terra" - }, { "type": "CLAUDE", "model": "claude-sonnet-5", "token": "v1:-dyfF6ZicEhjPk4C:WCuMaGd09tYjtzUCl7abloRzPITvP5C35WpR372w3O_tcaD-ls-yV5sJBdU8iIVApZVCC98sY2gOyM3o9RMa8ciJq8Fuys7KxlYOp8QiluL9AYMSQi6rEsSH71EPWnxSACgo3uDQY8bWQpUlEZvXH9O-ZN9A58dh6b3vRg" }, + { + "type": "CODEX", + "model": "gpt-5.6-terra" + }, { "type": "OPENCODE", "model": "openrouter/qwen/qwen3.8-27b", diff --git a/tests/workflow.test.ts b/tests/workflow.test.ts index 45c9afc..477ddeb 100644 --- a/tests/workflow.test.ts +++ b/tests/workflow.test.ts @@ -229,7 +229,7 @@ test("profile preparation does not receive provider credentials", async () => { expect(runner.includes("prepareProfile(profile, token)")).toBe(false); }); -test("central profiles fall back from Codex to Claude to OpenCode", async () => { +test("central profiles fall back from Claude to Codex to OpenCode", async () => { const credentials: unknown = JSON.parse( await readFile("profiles.json", "utf8"), ); @@ -238,8 +238,8 @@ test("central profiles fall back from Codex to Claude to OpenCode", async () => "profiles", ); expect(profiles.map((profile) => profile.get("type"))).toStrictEqual([ - "CODEX", "CLAUDE", + "CODEX", "OPENCODE", ]); expect(profiles[2]?.get("model")).toBe("openrouter/qwen/qwen3.8-27b");