Summary
Refactor the command-center backend into focused modules instead of keeping most logic inside one large server.js file.
Why
The app has grown into a real dashboard with GitHub, calendar, tasks, notes, standup, and infra flows. Keeping everything in one file makes changes riskier and slows down iteration.
Proposed scope
- split GitHub, tasks, notes, standup, calendar, infra, and refresh logic into separate modules
- keep the main server entrypoint thin
- preserve existing routes and behavior during the refactor
Acceptance criteria
- backend logic is split into focused files/modules
server.js becomes orchestration rather than implementation-heavy
- behavior stays compatible with existing frontend routes
Summary
Refactor the
command-centerbackend into focused modules instead of keeping most logic inside one largeserver.jsfile.Why
The app has grown into a real dashboard with GitHub, calendar, tasks, notes, standup, and infra flows. Keeping everything in one file makes changes riskier and slows down iteration.
Proposed scope
Acceptance criteria
server.jsbecomes orchestration rather than implementation-heavy