# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules/
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
Evidence/
# Allow API Evidence route implementation under app directory
!app/api/optimizations/**/Evidence/
!app/api/optimizations/**/Evidence/route.ts

# next.js
.next/
out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
redis.log

# local env files
.env*.local
.env

# scripts that may contain secrets
scripts/testing/run-*.sh

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# IDE
.idea
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# Generated files
dependency-graph.svg
di-graph.svg

# Profile storage (development only)
.profile-storage/
dependency-report.html
.cursor/

# Log files
/lib/logs/

# Ignore frequently changing log files
logs/daily optimizatin run log.txt

# Ignore optimization run logs
logs/*.log

**/.claude/settings.local.json
mcps/

# Playwright test artifacts
test-results/
playwright-report/
playwright/.cache/
*.png
*.jpg
*.jpeg
*.webm
*.mp4
*.trace.zip

# But allow logo files and founder photo
!public/favicon*.png
!public/apple-touch-icon.png
!public/images/logos/*.png
!public/images/product/*.png
!public/images/oren-cohen.jpg
!docs-site/public/*.png

# Test screenshots and logs (root-level only, not public/)
/optimization-*.png
real-*.png
login-*.png
auth-debug*.log
/tmp/auth-debug*.log

# Other test residuals
*.log
!dailyrun.log
!README.md

# Selenium Chrome profile
selenium-chrome-profile/
# Optimization review artifacts (except investigation resources)
reports/
variant-diff*.json
# Keep investigation resources in docs
!docs/investigation-resources/*.log
!docs/investigation-resources/*.txt
data/demo-backups/
postmortems/
design-partner-acquisition/

# Agent skills (AI assistant instructions, not runtime code)
.agent/
.agents/
.claude/skills/
.windsurf/
skills-lock.json
