# =========================================
# CV6 AI Trading OS — .gitignore
# C-4 FIX: Prevent credentials and sensitive files from being committed
# =========================================

# Environment & secrets — NEVER commit
.env
.env.*
!.env.example

# Python
__pycache__/
*.py[cod]
*.pyo
*.pyd
.Python
*.egg-info/
dist/
build/
*.egg
.eggs/
*.so
*.dylib

# Virtual environments
.venv/
venv/
env/
ENV/

# Database (contains live user data & trade history)
*.db
*.sqlite
*.sqlite3
cv6.db

# Logs
*.log
logs/

# Node / Frontend
node_modules/
frontend/node_modules/
frontend/dist/
frontend/build/
.npm/
.yarn/

# IDE
.vscode/
.idea/
*.swp
*.swo
*.DS_Store
Thumbs.db

# OS
.DS_Store
desktop.ini

# Test artifacts
.pytest_cache/
htmlcov/
.coverage
coverage.xml

# Build artifacts
*.spec
dist/
build/

# Angel One / Broker keys — explicit guard even if .env is excluded
*ANGEL*
*TOTP*
