feat(tasks-todowrite-disabler): improve error message with actionable workflow guidance

This commit is contained in:
YeonGyu-Kim
2026-02-03 14:11:27 +09:00
parent 671e320bf3
commit 1a0cc424b3
2 changed files with 18 additions and 7 deletions
@@ -19,7 +19,7 @@ describe("tasks-todowrite-disabler", () => {
// when / then
await expect(
hook["tool.execute.before"](input, output)
).rejects.toThrow("TodoRead/TodoWrite are disabled")
).rejects.toThrow("TodoRead/TodoWrite are DISABLED")
})
test("should block TodoRead tool", async () => {
@@ -37,7 +37,7 @@ describe("tasks-todowrite-disabler", () => {
// when / then
await expect(
hook["tool.execute.before"](input, output)
).rejects.toThrow("TodoRead/TodoWrite are disabled")
).rejects.toThrow("TodoRead/TodoWrite are DISABLED")
})
test("should not block other tools", async () => {