# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# Virtual environments
venv/
env/
ENV/
.venv/
.env/

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

# OS
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Logs
logs/
*.log
*.log.*

# Database - 重要！
*.db
*.sqlite
*.sqlite3
database/*.db

# Config files with sensitive data
.env
config.local.*
*.key
*.pem
log_config.json

# Node.js - 重要！
node_modules/
frontend/node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Build outputs
build/
dist/
*.tgz
*.tar.gz

# Temporary files
tmp/
temp/
*.tmp
*.temp

# PID files
pids/
*.pid

# Cache files
cache/
*.cache
.cache/
frontend/node_modules/.cache/

# Generated reports
reports/
backend/reports/

# Third-party libraries
ta-lib/

# Backup files
*.bak
*.backup
*_backup_*
*_archived_*

# Test output files (not test source code)
*.test.log
test_output/

# Agent framework generated files
agent_development/agent_run.log
agent_development/agent.pid
agent_development/parallel_run.log
agent_development/parallel.pid
agent_development/worker-*.log
agent_development/worker-*.pid
agent_development/worktrees/
agent_development/tasks.lock
agent_development/merge.lock
agent_development/.merge_ok_*
agent_development/.merge_conflict_*

# Service runtime data
services/sagax-agent/data/
services/openclaw/bots/*/data/chat_sessions.json
services/openclaw/bots/*/data/audit.jsonl

# Claude Code local config
.claude/
