# ============ 密钥 ============
secrets.env
.env
*.key
*.pem

# ============ 字体（~140MB，通过 download-fonts.sh 获取）============
*.otf
*.ttf
*.ttc
*.woff*

# ============ 研究产出物（大文件）============
*/projects/*/phase4/*.pdf
*/projects/*/phase4/*.docx
*/projects/*/phase4/figures/*.png
*/projects/*/phase2/evidence/*.cache
*/projects/*/**/*.tmp

# ============ Python ============
__pycache__/
*.py[cod]
*$py.class
*.egg-info/
.venv/
venv/
env/
.pytest_cache/
.mypy_cache/
.ruff_cache/
.python-version
pip-log.txt
pip-wheel-log/
.worktrees/

# ============ 系统 ============
.DS_Store
Thumbs.db
*.swp
*.swo
*~

# ============ 编辑器 ============
.vscode/
.idea/
*.sublime-*

# ============ Generated platform environments ============
/antigravity/
/codex/
/opencode/
/claude-code/
/gemini-cli/
/platform_envs/

# ============ Legacy root platform dirs ============
/.agent/
/.agents/
/.codex/
/.opencode/
/.claude/
/.gemini/

# Local platform permissions/settings are never source templates.
src/platform_adapters/claude-code/settings.local.json

# ============ 归档（不纳入版本控制）============
src/archive/*
!src/archive/.gitkeep

# ============ 临时 LaTeX / TeX 测试文件 ============
xetest.*
*.aux
*.fls
*.fdb_latexmk
*.synctex.gz

# ============ Quarto 生成的中间文件 ============
*_files/
*.qmd
_preamble.tex

# ============ 研究项目（实际数据，不纳入版本控制）============
# 如需备份，请用独立的私有仓库
src/projects/*
!src/projects/.gitkeep
