# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
.venv/
venv/
env/
*.egg-info/
*.egg
.pytest_cache/
.mypy_cache/
.ruff_cache/
.coverage
htmlcov/
dist/
build/

# Node / Next.js (storefront, P3)
node_modules/
.next/
.turbo/
*.tsbuildinfo

# IDE
.vscode/
.idea/
*.swp
*.swo

# OS
.DS_Store
Thumbs.db
desktop.ini

# Env / secrets
.env
.env.local
.env.*.local
!.env.example

# Local DBs / logs
*.db
*.sqlite
*.sqlite3
*.log
logs/

# Alembic
gateway/migrations/versions/*.pyc

# pytest
.pytest_cache/

# Docker
infra/volumes/

# Local-only scratch (CI keypairs, throwaway artifacts)
.tmp/
.dev-logs/

# Claude Code session state
.claude/

# Stripe API debug dumps（手动 curl 后 saved，绝不入库）
gateway/*.json
!gateway/package.json
!gateway/tsconfig.json
