# CLIO Agent .gitignore
# Comprehensive ignore patterns for DSPy agent + UV + HPC scientific computing project

# ============================================================================
# Python & Virtual Environments
# ============================================================================

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

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

# pytest
.pytest_cache/
.coverage
htmlcov/

# mypy
.mypy_cache/
.dmypy.json
dmypy.json


# ============================================================================
# MCP & Tool Artifacts
# ============================================================================

# MCP tool outputs
mcp_output/
mcp_logs/
tool_cache/

# Tool-generated files
tool_output/
*.tool.log
mcp_*.log

# ============================================================================
# Development & Testing
# ============================================================================

# IDE files
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
.env.local
.env.*.local

# Testing
test_output/
test_*.json
.pytest_cache/

# Temporary files
tmp/
temp/
*.tmp
*.bak


# ============================================================================
# Configuration & Secrets
# ============================================================================

# Environment variables with secrets
.env
.env.local
.env.*.local
*.env.local

# API keys and credentials (CRITICAL - never commit these)
secrets/
.secrets/
credentials.json
api_keys.json
*.key
*.pem
*.pfx

# Configuration that varies per environment
config.local.py
settings.local.json
local_config.yaml

# ============================================================================
# FastAPI/Server Artifacts
# ============================================================================

# FastAPI/Uvicorn
.uvicorn_socket
uvicorn.sock

# Server logs
server_*.log
api_*.log

# ============================================================================
# Build & Packaging
# ============================================================================

# UV lockfile (optional - include if you want reproducible deps)
# uv.lock

# Build artifacts
build/
dist/
*.egg-info/
*.whl

# ============================================================================
# OS Specific
# ============================================================================

# macOS
.DS_Store
.AppleDouble
.LSOverride

# Windows
Thumbs.db
ehthumbs.db
Desktop.ini

# Linux
.directory

# ============================================================================
# Project Specific - CLIO Agent
# ============================================================================

# AI agents
.planning/
.clio_agent/
.codex

ai-docs/_archived/
ANTHONY/
.research/



# Test artefacts (relative-path file_diff tests sometimes leak)
/b.py
/x.py
scratch/
