fix(hooks): remove dead delegate-task-english-directive hook

This commit is contained in:
YeonGyu-Kim
2026-03-14 13:43:56 +09:00
parent 2b8ae214b6
commit 674df1b1b8
11 changed files with 31 additions and 138 deletions
+13
View File
@@ -1,3 +1,5 @@
/// <reference types="bun-types" />
import { describe, expect, test } from "bun:test"
import {
AgentOverrideConfigSchema,
@@ -405,6 +407,17 @@ describe("HookNameSchema", () => {
//#then
expect(result.success).toBe(false)
})
test("rejects removed delegate-task-english-directive hook name", () => {
//#given
const input = "delegate-task-english-directive"
//#when
const result = HookNameSchema.safeParse(input)
//#then
expect(result.success).toBe(false)
})
})
describe("Sisyphus-Junior agent override", () => {
-1
View File
@@ -51,7 +51,6 @@ export const HookNameSchema = z.enum([
"anthropic-effort",
"hashline-read-enhancer",
"read-image-resizer",
"delegate-task-english-directive",
])
export type HookName = z.infer<typeof HookNameSchema>