# ============================================
# Node / Dependencies
# ============================================
*/node_modules/
*/venv/
venv/
node_modules/
.pnpm-store/
.npm/
.yarn/

# ============================================
# Build Outputs
# ============================================
dist/
build/
.out/
.vite/

# ============================================
# Logs
# ============================================
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# ============================================
# Environment Variables
# ============================================
.env
.env.*
!.env.example

# ============================================
# OS Files
# ============================================
.DS_Store
Thumbs.db

# ============================================
# IDE / Editor
# ============================================
.vscode/
.idea/
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# ============================================
# TypeScript
# ============================================
*.tsbuildinfo

# ============================================
# Vite Specific
# ============================================
vite.config.ts.timestamp-*
vite.config.js.timestamp-*

# ============================================
# Testing
# ============================================
coverage/
*.lcov

# ============================================
# Local Certificates (IMPORTANT for your project)
# ============================================
certs/
*.pem
*.key
*.crt

# ============================================
# Cache / Temp
# ============================================
.cache/
.temp/
tmp/

# ============================================
# Misc
# ============================================
*.local

# ============================================
# Zustand Persist (optional, but recommended)
# ============================================
# If you ever export local storage dumps
*.sqlite
*.db

# ============================================
# Debug
# ============================================
debug.log

# ============================================
# Secrets / keys (NEVER commit) — belt-and-suspenders on top of .env/*.pem above
# ============================================
.secret
*.secret
*.pem
*.key
*.p12
*.pfx
id_rsa
id_ed25519
secrets/
**/certs/

# ============================================
# Large build artifacts (exceed GitHub 100MB; keep on disk, not in git)
# ============================================
*.tar
*.zip
*.tar.gz
*.tgz
# Desktop app installers (built by CI, served from disk via nginx bind-mount — not tracked)
website/public/infrastructure/logicharts/*.dmg
website/public/infrastructure/logicharts/*.exe
# Stray large tar backups (e.g. hawkmt5.tar.bak.YYYYMMDD)
*.tar.bak.*

# ============================================
# Backend runtime config (contains DB creds / Redis / secrets)
# ============================================
backend/config.json
backend/active_config.json
backend/_config.json
# cargo pool-agent local secrets/artifacts
cargo/.pool_agent_api_key.local
cargo/.venv/
cargo/**/__pycache__/
