# =============================================================================
# Python
# =============================================================================

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
test-results/
.test_results/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/
docs/_static/
docs/_templates/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
Pipfile.lock

# PEP 582
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.env.*
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
*.env

# =============================================================================
# Development Tools
# =============================================================================

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

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Ruff
.ruff_cache/

# uv
.uv/
.uv-cache/
uv.lock

# Pylint
.pylintrc.local

# Rope project settings
.ropeproject

# Spyder project settings
.spyderproject
.spyproject

# =============================================================================
# IDEs and Editors
# =============================================================================

# VSCode
.vscode/
*.code-workspace

# PyCharm / IntelliJ
.idea/
*.iml
*.iws
.idea_modules/

# Vim
*.swp
*.swo
*~
.vim/
*.un~

# Emacs
*~
\#*\#
.\#*
.emacs.desktop
.emacs.desktop.lock

# Sublime Text
*.sublime-project
*.sublime-workspace

# Eclipse
.project
.pydevproject
.settings/

# =============================================================================
# Operating System
# =============================================================================

# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/

# Linux
.directory
.Trash-*

# =============================================================================
# aibox Specific
# =============================================================================

# aibox runtime data (testing/development)
# This includes .aibox-ref files (machine-specific project references)
.aibox/
*.aibox/

# aibox temp directories
aibox-temp/
.aibox-temp/

# Test data directories
test_aibox_data/

# =============================================================================
# Personal / Private Data
# =============================================================================

# Claude CLI personal configuration (DO NOT COMMIT)
.claude/

# Personal notes and scratch files
NOTES.md
SCRATCH.md
TODO.personal.md
scratch/
notes/

# API keys and secrets (CRITICAL - DO NOT COMMIT)
*.key
*.pem
*.pfx
*.p12
secrets.*
credentials.*
.secrets
api_keys.*
*_secret.*
*-secret.*

# Local development overrides
*.local
*.local.*
config.local.*
settings.local.*

# Database files (development)
*.db
*.sqlite
*.sqlite3

# =============================================================================
# Docker
# =============================================================================

# Docker build context
.dockerignore.local
docker-compose.override.yml

# =============================================================================
# Temporary and Backup Files
# =============================================================================

# Temporary files
*.tmp
*.temp
*.bak
*.backup
*.old
*.orig
*-copy.*

# Backup directories
backup/
backups/
.backup/

# Temp Todos
TODO.md

# =============================================================================
# Logs and Debugging
# =============================================================================

# Log files
*.log
logs/
*.log.*

# Debug files
debug/
*.debug
.debug/

# Profiling
*.prof
*.pstats
.profiling/

# =============================================================================
# Project Specific Exclusions
# =============================================================================

# Keep migration reference materials (already tracked)
# aibox-migration/ is intentionally tracked

# Keep documentation (already tracked)
# README.md, CLAUDE.md, CONTRIBUTING.md are intentionally tracked

# Keep tests (already tracked)
# tests/ directory is intentionally tracked
