
 RUN  v4.1.9 /home/code/.pi/agent/git/github.com/wassname/pi-goals

 ❯ test/goals-flow.test.ts (21 tests | 1 failed | 20 skipped) 71ms
     × accepts only an approval for the exact clean commit and goal block 70ms

⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯

 FAIL  test/goals-flow.test.ts > /goals flow > accepts only an approval for the exact clean commit and goal block
AssertionError: expected false to be true // Object.is equality

- Expected
+ Received

- true
+ false

 ❯ test/goals-flow.test.ts:318:38
    316|    const cancelled = flow.tools.get("CompleteGoal").execute("cancelled…
    317|    controller.abort(); // Cancel while the background-state lookup yie…
    318|    expect((await cancelled).isError).toBe(true);
       |                                      ^
    319|    expect(readFileSync(planPath, "utf8")).toBe(beforeCancel);
    320|    expect((await flow.tools.get("CompleteGoal").execute("already-cance…

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯


 Test Files  1 failed (1)
      Tests  1 failed | 20 skipped (21)
   Start at  12:28:54
   Duration  734ms (transform 273ms, setup 0ms, import 544ms, tests 71ms, environment 0ms)

