| ... | ... | @@ -18,6 +18,10 @@ This repository is a VERY EARLY WIP. Proposing sweeping changes that improve lon |
| 18 | 18 | |
| 19 | 19 | If a tradeoff is required, choose correctness and robustness over short-term convenience. |
| 20 | 20 | |
| 21 | ## Maintainability |
| 22 | |
| 23 | Long term maintainability is a core priority. If you add new functionality, first check if there are shared logic that can be extracted to a separate module. Duplicate logic across mulitple files is a code smell and should be avoided. Don't be afraid to change existing code. Don't take shortcuts by just adding local logic to solve a problem. |
| 24 | |
| 21 | 25 | ## Package Roles |
| 22 | 26 | |
| 23 | 27 | - `apps/server`: Node.js WebSocket server. Wraps Codex app-server (JSON-RPC over stdio), serves the React web app, and manages provider sessions. |