From 951f004a65e0c1547c68aeac22a51d1668248ad8 Mon Sep 17 00:00:00 2001 From: ismeth Date: Sun, 1 Mar 2026 17:39:10 +0100 Subject: [PATCH] fix(test): align assertions after cherry-pick merge from 3 worktrees Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus --- .../background-agent/council-response-checker.test.ts | 4 ++-- src/tools/council-archive/create-council-finalize.test.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/features/background-agent/council-response-checker.test.ts b/src/features/background-agent/council-response-checker.test.ts index 8df990e39..4ab571c12 100644 --- a/src/features/background-agent/council-response-checker.test.ts +++ b/src/features/background-agent/council-response-checker.test.ts @@ -103,7 +103,7 @@ describe("sessionHasCouncilResponse", () => { }) describe("#given assistant message with complete council response in longer text", () => { - it("#when tag appears mid-text #then should return true", async () => { + it("#when tag appears mid-text #then should return false (structural matching rejects inline tags)", async () => { //#given const client = createMockClient([ { @@ -121,7 +121,7 @@ describe("sessionHasCouncilResponse", () => { const result = await sessionHasCouncilResponse(client, "ses-buried-tag") //#then - expect(result).toBe(true) + expect(result).toBe(false) }) }) diff --git a/src/tools/council-archive/create-council-finalize.test.ts b/src/tools/council-archive/create-council-finalize.test.ts index b3d1d26b4..da741ba7b 100644 --- a/src/tools/council-archive/create-council-finalize.test.ts +++ b/src/tools/council-archive/create-council-finalize.test.ts @@ -252,8 +252,8 @@ describe("createCouncilFinalize", () => { expect(calls[0].priority).toBe("critical") expect(calls[0].content).toContain("") expect(calls[0].content).toContain("intent: PLAN") - expect(calls[0].content).toContain("Execute full plan (Prometheus)") - expect(calls[0].content).toContain("Execute selected phase (Prometheus)") + expect(calls[0].content).toContain("Plan full scope (Prometheus)") + expect(calls[0].content).toContain("Plan selected phase (Prometheus)") expect(calls[0].content).toContain(".sisyphus/athena/notes/") expect(calls[0].content).not.toContain("Hand off to Atlas to save the plan as .md") })