fix(test): update normalizeAgentForPrompt expectations to dash format
Test expected legacy parenthesized names but display names now use dash format (Sisyphus - Ultraworker, not Sisyphus (Ultraworker)). This was the flaky CI failure on dev.
This commit is contained in:
@@ -203,10 +203,10 @@ describe("getAgentListDisplayName", () => {
|
|||||||
|
|
||||||
describe("normalizeAgentForPrompt", () => {
|
describe("normalizeAgentForPrompt", () => {
|
||||||
it("strips core UI ordering prefixes back to canonical display names", () => {
|
it("strips core UI ordering prefixes back to canonical display names", () => {
|
||||||
expect(normalizeAgentForPrompt(getAgentListDisplayName("sisyphus"))).toBe("Sisyphus (Ultraworker)")
|
expect(normalizeAgentForPrompt(getAgentListDisplayName("sisyphus"))).toBe("Sisyphus - Ultraworker")
|
||||||
expect(normalizeAgentForPrompt(getAgentListDisplayName("hephaestus"))).toBe("Hephaestus (Deep Agent)")
|
expect(normalizeAgentForPrompt(getAgentListDisplayName("hephaestus"))).toBe("Hephaestus - Deep Agent")
|
||||||
expect(normalizeAgentForPrompt(getAgentListDisplayName("prometheus"))).toBe("Prometheus (Plan Builder)")
|
expect(normalizeAgentForPrompt(getAgentListDisplayName("prometheus"))).toBe("Prometheus - Plan Builder")
|
||||||
expect(normalizeAgentForPrompt(getAgentListDisplayName("atlas"))).toBe("Atlas (Plan Executor)")
|
expect(normalizeAgentForPrompt(getAgentListDisplayName("atlas"))).toBe("Atlas - Plan Executor")
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user