# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
*.egg-info/
dist/
build/

# traefile AI
.trae/

# 日志文件
logs/
*.log

# 模型文件（忽略中间产物）
models/*.onnx

# 环境配置
.env
.env.local

# Claude Code
.claude/

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

# OS
.DS_Store
Thumbs.db

# 测试覆盖率
htmlcov/
.coverage
.coverage.*
*.coverag

# 说明文档（不随代码仓库分发）
CHANGELOG.md
README.md
*.md
!requirements.txt
!docs/*.md

# 数据目录（不提交）
data/
captures/
/logs/
/tests/

# Diagnostic documents and scripts - DO NOT COMMIT
*诊断*.md
*分析*.md
*报告*.md
*修复*.sh
*patch*.py

# Test and utility scripts - DO NOT COMMIT unless explicitly requested
test_*.py
*_test.py
diagnose_*.py
cleanup_*.py
restore_*.py
*_tool.py
*_helper.py
