# ============================================================================
# .gitignore
# Based on: github.com/b17z/engineering_principles/templates/gitignore.template
# ============================================================================

# ============================================================================
# SECRETS & SENSITIVE FILES (NEVER COMMIT)
# ============================================================================

# Environment files
.env
.env.*
*.env
*.env.*
!.env.example
.envrc
.envrc.*
*.local

# Private keys & certificates
*.pem
*.key
*.p12
*.pfx
*.crt

# Credentials files
credentials.json
secrets.json
*.secret
*.secrets

# ============================================================================
# OS & EDITOR
# ============================================================================

# macOS
.DS_Store
._*

# Windows
Thumbs.db
Desktop.ini

# Local MCP config
.mcp.json

# IDEs
.vscode/
.idea/
*.sublime-workspace
*.code-workspace

# Vim/Neovim
*.swp
*.swo
Session.vim

# ============================================================================
# DEPENDENCIES
# ============================================================================

# Node.js
node_modules/
.pnpm-store/
.npm/
.yarn/

# Python
__pycache__/
*.py[cod]
*.pyo
.venv/
venv/
*.egg-info/
*.egg
.eggs/
.pytest_cache/
.mypy_cache/
.ruff_cache/

# ============================================================================
# BUILD OUTPUTS
# ============================================================================

dist/
build/
out/
*.tsbuildinfo

# ============================================================================
# TESTING & COVERAGE
# ============================================================================

coverage/
htmlcov/
.coverage
.coverage.*
*.lcov

# ============================================================================
# LOGS
# ============================================================================

*.log
logs/
npm-debug.log*
mcpmon.log

# ============================================================================
# TEMPORARY FILES
# ============================================================================

*.tmp
*.temp
*.bak
*~

# ============================================================================
# PARANOID MODE: Catch-all patterns
# ============================================================================

# Anything with "secret" in the name
*secret*
*SECRET*

# Anything with "password" in the name
*password*
*PASSWORD*

# Anything with "credential" in the name
*credential*
*CREDENTIAL*
