# ADR-0003: Team mode stays in the repository but is not built or shipped - Status: Accepted - Date: 2026-10-14 ## Context Team mode spans the team server runtime (`packages/server/src/index.ts` with its routes, services, database, scheduler and WebSocket layer), WaggleDance, the worker and the team screens in the web UI. The local sidecar loads the team server dynamically, which pulls Clerk, BullMQ, ioredis, postgres and drizzle into every build. ## Decision Team mode code stays in the repository as a separate package. It is not built, bundled or shipped in v1, and the team screens are removed from the UI. ## Consequences - P1.1 separates the team runtime from the local sidecar and removes the dynamic team server start, so the sidecar bundle no longer carries Clerk, BullMQ, ioredis, postgres or drizzle. - P1.3a removes the team screens. - Team code receives no new features until a later decision.