From ceb9d0d30b1cbb2fd62fecfdd14c718fa5f5f901 Mon Sep 17 00:00:00 2001 From: igor Date: Fri, 5 Jun 2026 18:13:16 +0200 Subject: [PATCH] updated AGENTS.md --- AGENTS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 0bd3b19..94d8ac5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -13,12 +13,12 @@ ## Build, Test, and Development Commands - `make frontend-build`: installs web dependencies, runs Vite production build, copies `web/dist` to `internal/static/dist`. - `make backend-build`: builds Go binary at `bin/supervisor`. -- `make build`: full build (frontend + backend). +- `make build`: runs `scripts/build-all.sh` for the full build pipeline (frontend + backend). - `make run`: builds everything and starts the app. - `cd web && npm run dev`: frontend dev server with proxy to backend (`:8080`). - `go test ./...`: run backend unit tests (when tests are present). -Do not edit `internal/static/dist` by hand; it is generated from `web/dist` by `make frontend-build`. +Do not edit `internal/static/dist` by hand; it is generated from `web/dist` by `make frontend-build` and refreshed during `make build`. The full build restores the tracked `internal/static/dist/index.html` placeholder after embedding generated assets. ## Coding Style & Naming Conventions - Go: format with `gofmt`; package names lowercase; exported symbols in `CamelCase`; errors as `err` with wrapped context.