# =============================================================================
# Rust Build Artifacts
# =============================================================================
/target/
**/*.rs.bk
Cargo.lock

# =============================================================================
# IDE & Editors
# =============================================================================
.idea/
.vscode/
*.swp
*.swo
*~
*.bak

# =============================================================================
# OS Generated Files
# =============================================================================
.DS_Store
Thumbs.db

# =============================================================================
# Temporary Files & Caches
# =============================================================================
temp/
tmp/
*.tmp
*.temp
*.log
logs/
.cache/

# =============================================================================
# AI Tool Caches (Temporary only)
# =============================================================================
.trae/
.sisyphus/
.claude/
.opencode/
openspec/
specmark/
docs/superpowers/

# AI assistant config (local only)
AGENTS.md
CLAUDE.md

# =============================================================================
# Environment & Secrets
# =============================================================================
.env
.env.local
.env.*.local
*.key
*.pem
secrets/

# =============================================================================
# Testing & Coverage
# =============================================================================
coverage/
*.profraw
.tarpaulin/
tarpaulin-report.html

# =============================================================================
# Database Files (Local only)
# =============================================================================
*.db
*.sqlite
*.sqlite3
requirements.db

# Database migrations
migrations/

# =============================================================================
# Python (if applicable)
# =============================================================================
__pycache__/
*.py[cod]
.venv/
.pytest_cache/
.ruff_cache/
.mypy_cache/

# =============================================================================
# Node.js (if applicable)
# =============================================================================
node_modules/
npm-debug.log*

# =============================================================================
# Keep These Files (Do NOT ignore)
# =============================================================================
# .iflow/ - iFlow configuration
# .qoder/ - Qoder configuration
# openspec/ - OpenSpec specifications
# CHANGELOG.md - Change history
# rustfmt.toml - Code formatting
# .cargo/config.toml - Cargo configuration

# 测试产生的迁移文件
*_test_migration.sql
di.md
.qoder

# 测试环境配置
docker-compose.yml

# 本地开发工具
Makefile
.gitnexus
