# Node modules
node_modules
**/node_modules

# Build artifacts
.next
**/.next
.vercel
**/.vercel
.cloudflare
**/.cloudflare
.wrangler
**/.wrangler
dist
out
.turbo
**/.turbo
build
.cache
**/.cache

# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Local secrets and DB artifacts
**/.dev.vars
.env
**/.env
.env.local
**/.env.local
.env.*.local
**/.env.*.local
!.env.example
!**/.env.example

# Python environments and cache
.venv/
venv/
**/.venv/
**/venv/
__pycache__/
**/__pycache__/
*.pyc
*.pyo
*.pyd

# OS / local artifacts
.DS_Store
**/.DS_Store

# Local data / generated artifacts (do not commit from workstations)
*.zip
*.db
*.db-shm
*.db-wal
*.sqlite
*.sqlite*
*.sqlite3*

# ML weight artifacts (store outside git)
*.pt
**/*.pt
*.onnx
*.bin
*.safetensors

# Package manager caches
.pnpm-store/
**/.pnpm-store/
.yarn/cache
.yarn/install-state.gz

# Ruflo / claude-flow runtime (config is tracked, runtime state is not)
.swarm/
**/.swarm/
.claude-flow/data/
.claude-flow/logs/
.claude-flow/sessions/
.claude-flow/metrics/
**/.claude-flow/data/
**/.claude-flow/logs/
**/.claude-flow/sessions/
**/.claude-flow/metrics/

# Misc temp
tmp_deployment_test/
**/tmp_deployment_test/
tmp/
**/tmp/
*.log
**/*.log

# Editor noise
.vscode/
.idea/
*.swp
*.swo

# Build caches & local agent tooling (not source)
*.tsbuildinfo
**/*.tsbuildinfo
.claude/*
**/.claude/*
# ...except skills, which are team process rather than local tooling: they encode
# how sprints are planned here and are useless if they live on one laptop.
# settings.local.json and everything else under .claude/ stays ignored.
!.claude/skills/
!**/.claude/skills/

# Bench desktop app: local venv, build output, bundled runtime
PLATFORM/pnotp-bench/backend/.venv/
PLATFORM/pnotp-bench/**/target/
PLATFORM/pnotp-bench/**/dist/

# Python packaging metadata (generated by pip install -e)
*.egg-info/
**/*.egg-info/

# Bench frontend build output
PLATFORM/pnotp-bench/frontend/out/
PLATFORM/pnotp-bench/frontend/.next/

# Bench desktop build artifacts (the sidecar binary is 24MB, rebuilt by `npm run sidecar`)
PLATFORM/pnotp-bench/src-tauri/binaries/
PLATFORM/pnotp-bench/backend/build/
PLATFORM/pnotp-bench/backend/dist/
PLATFORM/pnotp-bench/src-tauri/gen/

# Bench: tauri icon generates Android/iOS sets we do not ship
PLATFORM/pnotp-bench/src-tauri/icons/android/
PLATFORM/pnotp-bench/src-tauri/icons/ios/

# Staging local (pnotp-app/backend/scripts/staging_local.py): throwaway DB + Render rail secrets
**/.staging-local/
