From 760099eb0300442e5dffbd58a562a6c3d8265512 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Fri, 3 Apr 2026 17:11:42 +0900 Subject: [PATCH] fix(tasks-hook): update default task_system test Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- src/hooks/tasks-todowrite-disabler/index.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/tasks-todowrite-disabler/index.test.ts b/src/hooks/tasks-todowrite-disabler/index.test.ts index ebb7bb798..2f93b6d59 100644 --- a/src/hooks/tasks-todowrite-disabler/index.test.ts +++ b/src/hooks/tasks-todowrite-disabler/index.test.ts @@ -78,7 +78,7 @@ describe("tasks-todowrite-disabler", () => { ).resolves.toBeUndefined() }) - test("should block TodoWrite when experimental is undefined because task_system defaults to enabled", async () => { + test("should not block TodoWrite when experimental is undefined because task_system defaults to disabled", async () => { // given const hook = createTasksTodowriteDisablerHook({}) const input = { @@ -93,7 +93,7 @@ describe("tasks-todowrite-disabler", () => { // when / then await expect( hook["tool.execute.before"](input, output) - ).rejects.toThrow("TodoRead/TodoWrite are DISABLED") + ).resolves.toBeUndefined() }) test("should not block TodoRead when flag is false", async () => {