RUN  v4.1.1 /home/sawyer/projects/bb/.claude/worktrees/wf_debcf606-e4a-10/apps/server ❯  @bb/server  test/internal/issue-1646-idle-while-working.test.ts (2 tests | 1 failed) 202ms  × thread stays idle while root commandExecution items stream on the completed turn 131ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯  FAIL   @bb/server  test/internal/issue-1646-idle-while-working.test.ts > issue #1646: provider keeps working after turn/completed > thread stays idle while root commandExecution items stream on the completed turn AssertionError: expected 'idle' to be 'active' // Object.is equality Expected: "active" Received: "idle"  ❯ test/internal/issue-1646-idle-while-working.test.ts:129:56 127| 128| // BUG: the thread is executing commands but reports idle. 129| expect(getThread(harness.db, thread.id)?.status).toBe("active");  | ^ 130| } finally { 131| await harness.cleanup(); ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯  Test Files  1 failed (1)  Tests  1 failed | 1 passed (2)  Start at  04:47:05  Duration  3.05s (transform 1.59s, setup 0ms, import 2.76s, tests 202ms, environment 0ms)