From 9f804c2a6a2e7b80b0d97d22124a31abdce08187 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Tue, 24 Feb 2026 02:08:30 +0900 Subject: [PATCH] fix(test): sync AGENTS_WITH_TODO_DENY with tool-config-handler implementation --- src/plugin-handlers/config-handler.test.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/plugin-handlers/config-handler.test.ts b/src/plugin-handlers/config-handler.test.ts index cff6c97e..875a8cee 100644 --- a/src/plugin-handlers/config-handler.test.ts +++ b/src/plugin-handlers/config-handler.test.ts @@ -1161,8 +1161,6 @@ describe("per-agent todowrite/todoread deny when task_system enabled", () => { getAgentDisplayName("sisyphus"), getAgentDisplayName("hephaestus"), getAgentDisplayName("atlas"), - ]) - const AGENTS_WITHOUT_TODO_DENY = new Set([ getAgentDisplayName("prometheus"), getAgentDisplayName("sisyphus-junior"), ]) @@ -1206,10 +1204,6 @@ describe("per-agent todowrite/todoread deny when task_system enabled", () => { expect(agentResult[agentName]?.permission?.todowrite).toBe("deny") expect(agentResult[agentName]?.permission?.todoread).toBe("deny") } - for (const agentName of AGENTS_WITHOUT_TODO_DENY) { - expect(agentResult[agentName]?.permission?.todowrite).toBeUndefined() - expect(agentResult[agentName]?.permission?.todoread).toBeUndefined() - } }) test("does not deny todowrite/todoread when task_system is disabled", async () => {