# Dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# DXT Build artifacts
dxt-build/
*.dxt

# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.evaluation

# Keep .env.example for template
!.env.example
!.env.evaluation.example

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

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Coverage directory used by tools like istanbul
coverage/
*.lcov

# nyc test coverage
.nyc_output

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Optional npm cache directory
.npm

# NPM authentication file (contains tokens)
.npmrc
!.npmrc.example

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# VS Code settings
.vscode/
!.vscode/launch.json
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/extensions.json

# MacOS
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# WordPress specific
wp-config.php
uploads/
# cache/ - Comment out to allow src/cache directory with code

# Test files (keep test configurations but exclude temporary test data)
.env.test
test-data/
temp/

# Build artifacts
dist/
build/

# IDE files
*.swp
*.swo
*~

# Package manager lock files (optional - uncomment if you want to exclude)
# package-lock.json
# yarn.lock

# Temporary files
tmp/
temp/
*.tmp

# WordPress MCP Server specific
mcp-wordpress.config.json
example-multisite-config.json
mcp-server.log
wordpress-debug.log

# AI Assistant files (excluding CLAUDE.md which contains project documentation)
.claude/
.cursor/
.cursorrules
.github/copilot-instructions.md
anthropic-instructions.md
claude-instructions.md
ai-instructions.md
cursor-instructions.md
copilot-instructions.md

# AI Assistant conversation files
.ai-conversations/
.claude-conversations/
.cursor-conversations/
claude-conversation-*.md
anthropic-session-*.md

# AI Assistant project files
.ai-project/
.claude-project/
claude-project.md
ai-context.md
project-context.md

# AI Assistant cache and temporary files
.ai-cache/
.claude-cache/
.cursor-cache/
ai-temp/
claude-temp/

# Test results and outputs (CRITICAL: May contain sensitive data)
test-results/
test-outputs/
*-test-results/
*test-results*
*test-outputs*
test-data-*
scripts/test-results/
scripts/test-outputs/

# Phase 2 Testing Infrastructure - Results and Generated Data
tests/results/
tests/baseline/*
!tests/baseline/performance-baseline.json
tests/logs/
tests/pacts/
tests/reports/
performance-*.json
baseline-*.json
contract-*.json
pact-*.json
*-performance-results.json
*-baseline.json
*-contract-results.json

# Configuration backups and temporary config files
mcp-wordpress-*.config.json
!mcp-wordpress.config.json.example
*.config.json.backup
*.config.backup

# Private development files
private/
private/*
private*
PRIVATE*

# Security audit backups (auto-generated)
security-backups/

# Site-specific mojibake scan data
scripts/mojibake-scan-*.json

# Evaluation results (keep config, ignore results)
evaluations/results/
evaluations/reports/
evaluations/config/existing-sites-eval.yaml
.history/
