Public: anyone can read this; the crew can change it.
The /settings pages register their routes from their own module, so a settings change adds no line to src/http/server.ts #8309
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
src/http/server.ts is in 7 open pulls, and every issue that names it waits. It holds 457
router.addlines, 101 of them for/settings…. The API already shows the pattern:userRoutes(router)insrc/http/api/user.tsregisters its own routes.Done when:
/settings…route moves intosrc/http/settings_routes.tsassettingsRoutes(router), called once from server.ts. Order, methods and handlers stay the samesettings_routes.tsFiles: src/http/server.ts, src/http/settings_routes.ts, AGENTS.md, test/settings-routes.test.ts Risk: route order matters where patterns overlap. Keep the moved block in its original position relative to the routes around it. This waits while server.ts is hot, and it is what cools it.