From 3ffdf411fc1b2c3befd8596e870dc9e2746ef68c Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Tue, 30 Jun 2026 01:01:24 +0800 Subject: [PATCH] =?UTF-8?q?docs(CLAUDE.md):=20=E6=A0=87=E6=98=8E=20app/+de?= =?UTF-8?q?sign=20=E4=B8=BA=E5=9C=A8=E7=94=A8=20React=20=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=8F=B0=E3=80=81web/=20=E4=B8=BA=E9=81=97=E7=95=99=E2=80=94?= =?UTF-8?q?=E2=80=94=E7=BA=A0=E6=AD=A3=20planner=20=E5=AF=B9=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E7=9B=AE=E6=A0=87=E7=9A=84=E8=AF=AF=E5=88=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- CLAUDE.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index b962e0e..89fbe57 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -53,7 +53,11 @@ Communication between daemon and worker is **file + signal only** (`job.json`, ` | `src/api/server.ts` | Fastify REST + WebSocket server | | `src/mcp/` | MCP server tools exposed to Claude Code sessions | | `src/sync/` | One-way sync from legacy `todo.json` files | -| `web/` | Dashboard SPA (multi-project, real-time WS, inline approve/reject) | +| `app/` | **Active console (the dashboard users actually use)** — React SPA on `:4519` (vite dev; proxies `/api`+`/ws` to `:4517`). Data & wiring live here: `src/api.js`, `src/app.jsx`, `src/adapt.js`. | +| `design/ui_kits/console/` | **Active console UI** — React UI components, the single source of truth for the console; `app/` loads them via vite. **Frontend UI changes go here; data/actions go in `app/src/`.** Strings go through `i18n.js` (5 langs). | +| `web/` | **⚠️ Legacy / deprecated** — old vanilla-JS dashboard served directly by the daemon. Superseded by the `app/` + `design/ui_kits/console/` React console. **Do NOT add new features, config entries, or UI here** — build them in `app/` + `design/ui_kits/console/`. | + +> **Frontend rule of thumb:** the live console is **`design/ui_kits/console/` (UI) + `app/src/` (data/wiring)** on `:4519`. `web/` is legacy — never target it for new work. ### Task Lifecycle