fix(athena): restore opportunistic retry flow and include athena-junior builtin name

This commit is contained in:
ismeth
2026-03-04 00:40:18 +01:00
committed by YeonGyu-Kim
parent 169118c9e1
commit 1ae6089bb3
3 changed files with 16 additions and 1 deletions
+11
View File
@@ -35,6 +35,17 @@ describe("agent name schemas", () => {
expect(result.success).toBe(true)
})
test("BuiltinAgentNameSchema accepts athena-junior", () => {
//#given
const candidate = "athena-junior"
//#when
const result = BuiltinAgentNameSchema.safeParse(candidate)
//#then
expect(result.success).toBe(true)
})
test("OverridableAgentNameSchema accepts athena", () => {
//#given
const candidate = "athena"
+1
View File
@@ -13,6 +13,7 @@ export const BuiltinAgentNameSchema = z.enum([
"atlas",
"sisyphus-junior",
"athena",
"athena-junior",
"council-member",
])