git checkout ad79bbb5ec909524f8f281e62d860c588a86f332 pnpm install --frozen-lockfile --prefer-offline pnpm exec turbo run build pnpm exec turbo run test --filter=@bb/host-daemon --force -- src/command-dispatch.test.ts -t "steers an auto submit when the active turn appears after the server snapshot|rebases auto input onto the daemon's newer active turn|rejects auto input when a pending turn still has no id after the wait" curl --fail --location https://get-bb.github.io/reports/issues/2370/repro/server-failure-repro.patch --output /tmp/bb-2370-server-failure-repro.patch git apply --check /tmp/bb-2370-server-failure-repro.patch git apply /tmp/bb-2370-server-failure-repro.patch cd apps/server pnpm exec vitest run test/threads/thread-send-dispatch.test.ts -t "issue 2370 keeps a live thread active after a pending-start refusal"