test: fix stale expectations after gpt-5.5 model promotion

Updates test expectations across agent, cli, shared, plugin, and tools tests

to match gpt-5.5 as the new default for oracle, hephaestus, and deep agents.

Includes snapshot updates for model-fallback tests.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-04-24 16:17:44 +09:00
parent 6b46b9b4be
commit 708891dabe
11 changed files with 129 additions and 132 deletions
+7 -7
View File
@@ -23,7 +23,7 @@ describe("getHephaestusPromptSource", () => {
expect(source3).toBe("gpt-5-4");
});
test("returns 'gpt-5-4' for gpt-5.5 models", () => {
test("returns 'gpt-5-5' for gpt-5.5 models", () => {
// given
const model1 = "openai/gpt-5.5";
const model2 = "openai/gpt-5-5";
@@ -35,9 +35,9 @@ describe("getHephaestusPromptSource", () => {
const source3 = getHephaestusPromptSource(model3);
// then
expect(source1).toBe("gpt-5-4");
expect(source2).toBe("gpt-5-4");
expect(source3).toBe("gpt-5-4");
expect(source1).toBe("gpt-5-5");
expect(source2).toBe("gpt-5-5");
expect(source3).toBe("gpt-5-5");
});
test("returns 'gpt-5-3-codex' for GPT 5.3 Codex models", () => {
@@ -113,7 +113,7 @@ describe("getHephaestusPrompt", () => {
expect(prompt).toContain("<tool_usage_rules>");
});
test("GPT 5.5 model returns GPT-5.4 optimized prompt", () => {
test("GPT 5.5 model returns GPT-5.5 optimized prompt", () => {
// given
const model = "openai/gpt-5.5";
@@ -122,8 +122,8 @@ describe("getHephaestusPrompt", () => {
// then
expect(prompt).toContain("You build context by examining");
expect(prompt).toContain("Never chain together bash commands");
expect(prompt).toContain("<tool_usage_rules>");
expect(prompt).toContain("Forbidden stops");
expect(prompt).toContain("Three-attempt failure protocol");
});
test("GPT 5.3-codex model returns GPT-5.3 prompt", () => {