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 <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -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)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
@@ -252,8 +252,8 @@ describe("createCouncilFinalize", () => {
|
||||
expect(calls[0].priority).toBe("critical")
|
||||
expect(calls[0].content).toContain("<athena_runtime_guidance>")
|
||||
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")
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user