# ── 密钥与本地配置：只提交 .env.example ────────────────────────────────────
.env
.env.*
!.env.example
*.pem
*.p12
*.key

# ── Python ────────────────────────────────────────────────────────────────
__pycache__/
*.py[cod]
.venv/
venv/
*.egg-info/
build/
dist/

# ── 测试与工具缓存 ────────────────────────────────────────────────────────
.pytest_cache/
.mypy_cache/
.ruff_cache/
.coverage
coverage.xml
htmlcov/
.smoke/

# ── 编辑器与系统 ──────────────────────────────────────────────────────────
.idea/
.vscode/
.DS_Store

logs/
tmp/

# 算法 SPIKE 的模型缓存与输出（模型文件绝不入库）
models/
scripts/spikes/out/
scripts/spikes/assets/
