refactor(hooks): remove beast-mode system integration

Remove the beast-mode-system hook and all transform wiring so Copilot-specific prompt injection is fully eliminated from the runtime pipeline.
This commit is contained in:
YeonGyu-Kim
2026-02-22 01:57:22 +09:00
parent c97a0f3a2f
commit f1246ef110
9 changed files with 20 additions and 113 deletions
+14
View File
@@ -7,6 +7,7 @@ import {
CategoryConfigSchema,
ExperimentalConfigSchema,
GitMasterConfigSchema,
HookNameSchema,
OhMyOpenCodeConfigSchema,
} from "./schema"
@@ -393,6 +394,19 @@ describe("BuiltinCategoryNameSchema", () => {
})
})
describe("HookNameSchema", () => {
test("rejects removed beast-mode-system hook name", () => {
//#given
const input = "beast-mode-system"
//#when
const result = HookNameSchema.safeParse(input)
//#then
expect(result.success).toBe(false)
})
})
describe("Sisyphus-Junior agent override", () => {
test("schema accepts agents['Sisyphus-Junior'] and retains the key after parsing", () => {
// given
-1
View File
@@ -25,7 +25,6 @@ export const HookNameSchema = z.enum([
"interactive-bash-session",
"thinking-block-validator",
"beast-mode-system",
"ralph-loop",
"category-skill-reminder",