Commit History
-
[NOTICKET] refactor(api): server-mint message_id only; unwire v1 chat
Rifqi Hafizuddin +1: Claude Opus 4.8message_id is now server-authoritative: - Drop message_id from the /api/v2/chat/stream and /api/v1/tools/help request bodies. Python always mints it (msg_<uuid>) and returns it on the `done` event; any caller-supplied value is ignored. Keeps the /observability correlation key out of client control (FE-security). Resolves contract open-Q #1 (previously "Go mints it and passes it in"). Unwire v1 chat: - Comment out include_router(chat_router) + its import in main.py (file kept: v2 chat and /tools/help import its shared helpers). Also removes the v1 /chat/cache + /retrieval/cache ops routes from the surface. Also: fix pre-existing B904 in help.py; sync API_ENDPOINTS_RESTRUCTURE.md (open-Q #1 resolved, observability marked as a later PR) and DEV_PLAN.md. Verified: ruff clean on changed source; full local suite 284 passed, 7 skipped; route surface asserts v2 chat mounted, v1 chat unwired, /tools/help present. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>7290861 -
feat/ Endpoint Restructure (#5)
- [KM-686] Unwire Non-AI Routers from Main + Swagger (0b2d6785801ecc4d58a32580b1a9ef6238059de2) - [NOTICKET] docs: pr/5 sprint tracker + endpoint-restructure contract + REPO_STATUS banner (ce7be178428cadf1884a77d3d1f1398dccf32f6e) - [KM-687] Add Dedicated /tools/help Endpoint + Regroup Tools List (a881d38851470bf685990fdb554417da4fc1eccd) - [KM-688] feat(api): v2 chat pilot + regroup report under /tools; adopt lead API contracts (ad2ce619b51c234a8cd1c3772417a9a542a9a40d) Co-authored-by: Sofhia Az-Zahra <sofhiaazzhr@users.noreply.huggingface.co>3bacc1d