diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index fa41024..8cefffb 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -15,14 +15,18 @@ Minimal autonomous coding agent in Rust with **full machine access** (not sandbo ## Commands ```bash -# Backend -cargo build --release # Build -cargo run --release # Run server (port 3000) -RUST_LOG=debug cargo run # Debug mode +# Backend - ALWAYS use debug builds by default (faster compilation) +cargo build # Build (debug mode - use this by default) +cargo run # Run server (port 3000) +RUST_LOG=debug cargo run # Run with debug logging cargo test # Run tests cargo fmt # Format code cargo clippy # Lint +# Release builds - ONLY use when explicitly requested or for production deployment +cargo build --release # Release build (slower compilation, faster binary) +cargo run --release # Run in release mode + # Dashboard (uses Bun, NOT npm/yarn/pnpm) cd dashboard bun install # Install deps (NEVER use npm install) @@ -34,10 +38,18 @@ bun run build # Production build # - bun add (not npm install ) # - bun run