From 78d89e3d353a9ce7770b34f3546e39f415cddc37 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Mon, 2 Mar 2026 09:43:33 -0800 Subject: [PATCH] non-dupicate --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index d36d9009d4a763f9e8a06f5829983a0746bc4e28..b42ebb5e32625f6823ead8b4d5715b398fb49e51 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -18,6 +18,10 @@ This repository is a VERY EARLY WIP. Proposing sweeping changes that improve lon If a tradeoff is required, choose correctness and robustness over short-term convenience. +## Maintainability + +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. + ## Package Roles - `apps/server`: Node.js WebSocket server. Wraps Codex app-server (JSON-RPC over stdio), serves the React web app, and manages provider sessions. -- 2.54.0