# ============================================================================
# ENVIRONMENT FILES (NEVER COMMIT SECRETS!)
# ============================================================================
.env
.env.local
.env.*.local
.dev.vars
.prod.vars
payments/
payments/.dev.vars
payments/.env

# ============================================================================
# PRO-ONLY TOOLS (HIDDEN FROM PUBLIC GITHUB)
# ============================================================================
# Action/write tools - not visible in public repo
tools/cmdb/action/
tools/itsm/action/
tools/itam/action/
tools/hrsd/action/
tools/*/action/

# ============================================================================
# LICENSING & PAYMENTS
# ============================================================================
config/licensing.py
config/pricing.py
config/modules.py
payments/.dev.vars
payments/.env

# ============================================================================
# PYTHON VIRTUAL ENVIRONMENTS
# ============================================================================
venv/
.venv/
env/
ENV/

# Python cache / build
__pycache__/
*.py[cod]
*$py.class
.Python
build/
dist/
*.egg-info/
.eggs/

# Testing artefacts
.pytest_cache/
.coverage
htmlcov/

# Type checking
.mypy_cache/
.dmypy.json
dmypy.json
.pytype/

# Ruff cache
.ruff_cache/

# ============================================================================
# NODEJS / TYPESCRIPT (Licensing Layer)
# ============================================================================
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
dist/
build/
.cache/
.parcel-cache/

# ============================================================================
# CLOUDFLARE WORKERS
# ============================================================================
.wrangler/
.cloudflare/
wrangler.toml  # Only if contains secrets (use wrangler.jsonc instead)

# ============================================================================
# CREDENTIALS & SECRETS (CRITICAL!)
# ============================================================================
*.pem
*.key
*.cert
*.crt
credentials.json
client_secret*.json
oauth-secret.txt
stripe-secret.txt

# ============================================================================
# IDE & EDITOR SETTINGS
# ============================================================================
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
Thumbs.db
.vscode-server/

# ============================================================================
# TESTING & COVERAGE
# ============================================================================
coverage/
.nyc_output/
test-results/
jest-results/

# ============================================================================
# LOGS & TEMPORARY FILES
# ============================================================================
*.log
logs/
tmp/
temp/
*.tmp

# ============================================================================
# VALIDATION & TEST ARTIFACTS
# ============================================================================
validation/phase3/audit_trail_integration_test*.json
validation/phase3/audit_trail_integration_test_output*.txt
*.bak

# ============================================================================
# ARTIFACT HYGIENE (GENERATED OUTPUTS)
# ============================================================================
_artifacts/**
# Legacy artifact locations (consolidated to _artifacts/)
mcp-server/tests/.artifacts/**
docs/.artifacts/**
