# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
#   git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler config.
/.bundle

# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal
/db/*.sqlite3-*

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*

# Test coverage reports
/coverage/
!/log/.keep
!/tmp/.keep

# Ignore pidfiles, but keep the directory.
/tmp/pids/*
!/tmp/pids/
!/tmp/pids/.keep

# Ignore uploaded files in development.
/storage/*
!/storage/.keep
/tmp/storage/*
!/tmp/storage/
!/tmp/storage/.keep

/public/assets

# Ignore master key for decrypting credentials and more.
/config/master.key

/public/packs
/public/packs-test
node_modules/
/yarn-error.log
yarn-debug.log*
.yarn-integrity

# Ignore application configuration
/config/application.yml

# Ignore .env files
.env
.env.*
.env-*

# Analysis and working files
EMAIL_TEMPLATES.md
ADDITIONAL_CRITICAL_ISSUES.md
DAILY_EXECUTION_TRACKER.md
FRONTEND_INTEGRATION_GUIDE.md

# Analysis scripts (contain DB access patterns)
analyze_*.rb
*_analysis.rb
run_comprehensive_analysis.rb
corrected_user_analysis.rb

# Shell scripts (operational/one-time use)
*.sh

# Python scripts (temporary tools)
*.py

# Monthly outreach generator
monthly_outreach_generator.rb

# Analysis documentation (contains sensitive business intel)
/docs/analysis/vendor/bundle/
verify_*.rb
test_*_fix.rb
simple_verify_*.rb

# DO NOT COMMIT SECRETS
.do/secrets.env
app_spec.yaml
app_spec_*.yaml
vendor/

# Test scripts and results (root level only, not test/ directory)
/test_*.rb
production_*.rb
production_*.json
production_*.csv
production_*.md
production_*.log
complete_*.rb
comprehensive_*.rb
simple_*.rb
performance_*.rb
sample_*.rb
capture_*.rb
clear_*.rb
*_test_*.json
*_test_*.csv
test_results_*.json
sample_responses_*.json
response_samples_*.json
error_analysis_*.json
test_matrix_*.csv
API_DOCUMENTATION_*.md
PRODUCTION_*.md

.env.master
# Trigger redeploy for new Google Maps API key
.do/app-spec-update.yaml

# Session review outputs
*_REVIEW*.md
*_REVIEW*.json
REVIEW_*.md
REVIEW_*.txt
SECURITY_*.md
PERFORMANCE_*.md
CODE_REVIEW_*.md
ARCHITECTURE_*.md
invoice.*
*.csv
*.pdf
coverage/

# MCP server sensitive files
llm-integrations/mcp-server/.mcpregistry_*
llm-integrations/mcp-server/.smithery/
llm-integrations/mcp-server/server.json

# User profile exports
user_profiles/

# Newsletter build artifacts
/tmp/newsletter_*.html
/tmp/newsletter_*.txt
