# ============================================================
# Python
# ============================================================
__pycache__/
*.py[cod]
*$py.class
*.so
*.egg
*.egg-info/
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg
lib/
lib64/
.eggs/

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

# pytest / coverage
.pytest_cache/
.coverage
.coverage.*
htmlcov/
coverage.xml
*.cover
.hypothesis/

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

# ruff / flake8
.ruff_cache/

# Distribution / packaging
MANIFEST

# ============================================================
# Node / Next.js
# ============================================================
node_modules/
.next/
out/
.nuxt/
.cache/
.parcel-cache/
.turbo/

# Build output
dist/
build/

# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# Runtime data
pids/
*.pid
*.seed
*.pid.lock

# TypeScript
*.tsbuildinfo
next-env.d.ts

# ============================================================
# Docker
# ============================================================
.dockerignore

# ============================================================
# OS / Editor
# ============================================================
.DS_Store
Thumbs.db
*.swp
*.swo
*~
.idea/
.vscode/
*.sublime-project
*.sublime-workspace

# ============================================================
# Secrets / credentials (never commit these)
# ============================================================
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
*.pem
*.key
secrets/

# ============================================================
# Alembic
# ============================================================
# Keep migrations tracked; ignore only generated artefacts
apps/api/migrations/__pycache__/
apps/api/migrations/versions/__pycache__/

# ============================================================
# Misc
# ============================================================
*.log
*.tmp
*.bak

# ============================================================
# Pre-launch release cleanup additions
# ============================================================
.Python
downloads/
wheels/
*.pyo
.env/
apps/api/.env
apps/web/.env
apps/web/.env.local
secrets.txt
apps/web/.next/
apps/web/out/
apps/web/node_modules/
*.code-workspace
*.tar
logs/
scratch_test.py
ws_test_delay.py
test_trace.py

# Internal planning documents
ANTIGRAVITY_PROMPT.md
agentlens_project_handover_summary.md
*_handover_*.md

# Manual test scripts
test_agent.py
verify_dashboard_data.py
test_trace.py

# Kiro AI IDE specs (internal)
.kiro/

# Editor
.vscode/

# Hypothesis test data
apps/api/.hypothesis/
apps/api/tmp/
apps/api/unicode_data/

