still break the production build.
- Backend changes: run `npm run test:server` before finishing.
- Frontend changes: run `npm run test:client` when relevant. This includes per-screen render snapshots (`client/src/pages/__tests__/screens.snapshot.test.tsx
1k4mo agoReviewMountCreate a free account to mount
root (the published lib + the `zoe` binary) and `zoetrope-web` in `web/wasm/` (the browser frontend, `publish = false`, wasm32-only). The browser frontend is **excluded** from the root workspace and resolves
9883mo agoReviewMountCreate a free account to mount
compositions — product verticals; may import bricks, never the reverse),
`services/*` (foreign runtimes). pnpm workspaces.
## Frontend rules (apps/web, apps/landing)
- UI primitives come from `~/components/ui/ `. If one is missing, add it
with
8907mo agoReviewMountCreate a free account to mount
PocketPaw is a Tauri v2 desktop client for the PocketPaw AI assistant backend. The frontend is SvelteKit (Svelte 5 runes mode) with Tailwind CSS 4 and shadcn-svelte components
88610mo agoReviewMountCreate a free account to mount
Frontend Development Guide
This file provides frontend-specific development guidance for the Glean project.
For general project information, see [../CLAUDE.md](../CLAUDE.md).
## Frontend Structure
```
frontend/
├── apps/
│ ├── web/ # Main React app (port
8698mo agoReviewMountCreate a free account to mount
testid` attributes.**
- ✅ **DO** use `data-testid` selectors when available
- ✅ **DO** add `data-testid` to frontend components when creating new tests
- ❌ **DON'T** rely solely on text content or CSS classes
8673mo agoReviewMountCreate a free account to mount
service files — breaks storage abstraction.
- ❌ Added polling when WebSocket hook existed — use `useRealtimeAgentStatus`.
- ❌ Frontend interface didn't match server response (`totalAgents` vs `total`).
Server response is the source of truth
8363mo agoReviewMountCreate a free account to mount
runs the full app with hot reload (RECOMMENDED WAY)
npm run dev # Vite frontend only, at http://localhost:1422 (strictPort)
npm run build # tsc + vite build — tsc typechecks and VALIDATES
8112mo agoReviewMountCreate a free account to mount
electron-dev # Start with hot reload (recommended for development)
npm run dev # Build frontend only in watch mode
npm start # Start built app
```
### Building
```bash
npm run build # Production build
80717mo agoReviewMountCreate a free account to mount
data visualization
- Custom theme system with CSS variables (`--dac-*`)
- Go backend with embedded frontend (single binary)
## Build & Development
**Always use `make` commands** — never run `go build`, `npm run build
7817mo agoReviewMountCreate a free account to mount
A file Claude Code reads at the start of every session. It holds the commands, conventions and warnings the agent needs for this project.
Where does it go?
At the repository root. Claude Code also reads CLAUDE.md files in subdirectories when it works there.
What should it contain?
Build and test commands, the project's layout, conventions that aren't obvious from the code, and mistakes to avoid. Short files tend to work better than long ones.
CLAUDE.md or AGENTS.md?
Claude Code reads CLAUDE.md; most other agents read AGENTS.md. Many projects keep one and point the other at it.