From 94449e0a24993399832aad6e50c4aba557577e9a Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Wed, 8 Apr 2026 13:33:18 +0900 Subject: [PATCH] test(delegate-task): update isPlanAgent test for exact match fix Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- src/tools/delegate-task/tools.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/delegate-task/tools.test.ts b/src/tools/delegate-task/tools.test.ts index df7ed517c..7c09f16ab 100644 --- a/src/tools/delegate-task/tools.test.ts +++ b/src/tools/delegate-task/tools.test.ts @@ -180,8 +180,8 @@ describe("sisyphus-task", () => { //#given / #when const result = isPlanAgent("planner") - //#then - "planner" contains "plan" so it matches via includes - expect(result).toBe(true) + //#then - "planner" is NOT an exact match for "plan" (T37 exact match fix) + expect(result).toBe(false) }) test("returns true for case-insensitive match 'PLAN'", () => {