# Dependencies
node_modules/

# Environment variables
.env
.env.local
.env.*.local

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

# MongoDB data
data/mongodb/*
!data/mongodb/.gitkeep

# Generated files
public/downloads/*.pdf
public/downloads/*.epub
public/downloads/*.docx

# IDE
.vscode/
.idea/
*.swp
*.swo
*~

# OS
.DS_Store
Thumbs.db

# Testing
coverage/
.nyc_output/

# Build
dist/
build/

# Temporary files
tmp/
temp/
*.tmp

# ============================================
# SECURITY: Private GitHub Protection
# ============================================

# Sensitive internal documentation (keep private, never push)
CLAUDE.md
CLAUDE.md.backup
CLAUDE_Tractatus_Maintenance_Guide.md
SESSION-HANDOFF-*.md
docs/SECURITY_AUDIT_REPORT.md
docs/FRAMEWORK_FAILURE_*.md
old*
*.backup

# Framework session state (regenerated each session)
.claude/session-state.json
.claude/token-checkpoints.json

# Secrets and credentials
*.key
*.pem
*.p12
*.pfx
secrets/
credentials/

# Database dumps and backups
dump/
backups/
*.sql
*.sql.gz
*.dump

# SSH keys (extra safety)
*.ssh/
id_rsa*
id_ed25519*

# Deployment configurations with secrets
deployment-config.json
production.json

# Temporary audit files
/tmp/*.md

# Screenshots and temporary images
Screenshot*.png
*.screenshot.png
