# AGENTS.md ## Documentation Discipline - Keep API documentation current whenever backend/frontend API behavior changes. - If request/response shapes, stream events, auth behavior, or endpoint semantics change, update docs in `docs/api/` in the same change. - Treat `docs/api/rest.md` and `docs/api/streaming-chat.md` as the source-of-truth contract for non-web clients (including iOS).