Problem: server.ts is a monolithic bootstrap (~1600 LOC) that constructs and wires most services inline, making changes risky and testing difficult.\n\nGoal: extract route registration and controller wiring into services/api/src/routes/* and make server.ts a thin bootstrap that loads modules from a DI container.\n\nDeliverables:\n- Move route registration into services/api/src/routes/ and controllers into services/api/src/controllers/\n- Add a small Container/DI bootstrap in services/api/src/container.ts\n- Ensure no change in runtime behavior.\n\nTests: server starts and routes are registered (integration smoke).\n\nPriority: P0 — high blast radius.\n\nSuggested branch: hotfix/extract-server-routes
Problem: server.ts is a monolithic bootstrap (~1600 LOC) that constructs and wires most services inline, making changes risky and testing difficult.\n\nGoal: extract route registration and controller wiring into services/api/src/routes/* and make server.ts a thin bootstrap that loads modules from a DI container.\n\nDeliverables:\n- Move route registration into services/api/src/routes/ and controllers into services/api/src/controllers/\n- Add a small Container/DI bootstrap in services/api/src/container.ts\n- Ensure no change in runtime behavior.\n\nTests: server starts and routes are registered (integration smoke).\n\nPriority: P0 — high blast radius.\n\nSuggested branch: hotfix/extract-server-routes