# Python
__pycache__/
*.py[cod]
*$py.class
.venv/
venv/
env/
.eggs/
*.egg-info/
build/
dist/
.installed.cfg

# Test / tooling caches
.pytest_cache/
.ruff_cache/
.mypy_cache/
.coverage
.coverage.*
htmlcov/
coverage.xml

# Local brain data (never commit real memory)
/brain/
/data/
/.engramkeep/
/audit.log
*.db
*.sqlite
*.sqlite3
*.db-journal
*.db-wal

# Backups and archives
*.zip
*.tar
*.tar.gz
*.tgz
*.7z
*.rar

# Secrets and local configuration
.env
.env.*
!.env.example
secrets/
*.pem
*.key
*.p12
*.pfx
*.local

# Logs
*.log
!examples/brain/audit.log
!examples/demo-brain/audit.log

# OS / editor
.DS_Store
Thumbs.db
desktop.ini
.idea/
.vscode/

# Temporary files
*.tmp
*.temp
.engramkeep.lock
