# Debug logs (keep out of repo)
*.log
**/*.log
**/logs/
**/log/
memory/debug_logs/
mcp_servers/rag_debug.log
*.debug.log
debug.log

# 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

# Virtual / env
.venv/
venv/
ENV/
.env
.env.local
.env.*.local

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

# OS
.DS_Store
Thumbs.db

# Local cache / auth token cache (regenerated)
config/mcp_cache.json

# Runtime inbox DB and system snapshot (machine-local)
data/inbox/*.db
data/system/snapshot.json
data/system/agent_runs.sqlite
data/system/agent_runs.sqlite-shm
data/system/agent_runs.sqlite-wal

# RAG / FAISS / BM25 artifacts (rebuild via indexing; large binaries)
mcp_servers/faiss_index/

# Fast run listing cache (regenerated by /runs)
memory/runs.index.json

# Local scratch from test/debug harnesses
test_progress.log
test_results.json
import_trace.log

# FAISS / vector index backups (regenerated locally)
mcp_servers/faiss_index/backup/

# Internal drafts (not for the public tree)
docs/S18_POSITIONING_PLAYBOOK.md

# Runtime sessions and Remme local state (never commit)
memory/session_summaries_index/
memory/remme_index/
memory/runs.index.json
memory/remme_staging.json
memory/remme_scanned_sources.json
data/conversation_history/

# Local GBrain checkout (install via: git clone https://github.com/garrytan/gbrain.git gbrain && cd gbrain && bun install)
gbrain/

# Local-only rehearsal/playbook notes
docs/EAGV2_S18_FLOW_REHEARSAL.md
docs/S18_POSITIONING_PLAYBOOK.md

# Clinical reference PDFs (copyright; keep locally — copy from partner docs if needed)
data/wise/**/*.pdf
