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

# Virtual environment
.venv/
venv/
ENV/

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

# OS
.DS_Store
Thumbs.db

# Memory data (user-specific)
*.db
*.db-wal
*.db-shm
chroma/
raw/
transcripts/
queue/
backups/

# Large archives — never commit
*.zip
*.tar.gz
*.tar
*.tgz

# Environment
.env
.env.local

# Benchmark datasets (large, downloaded on demand). The memory-contracts
# fixture is small, synthetic and read by tests/test_memory_quality_eval.py.
benchmarks/data/*
!benchmarks/data/memory-contracts-v1.json
benchmarks/longmemeval_s*.json

# Personal/local tooling — never push
# Contains user-specific scripts (vitalii-brain Ollama model),
# exported training data with private project info, and .env with real bot tokens.
ollama/
telegram/

# Transient benchmark runs (regenerable)
benchmarks/results/locomo-llm-*.json
benchmarks/results/v11-smoke-*.json
benchmarks/results/v11-fullstack-*.json
benchmarks/results/v11-recall-fix-*.json
benchmarks/results/v11-subset-*.json
benchmarks/results/v11-ablation-*.json
benchmarks/results/v11-D146-200-mini.json
benchmarks/results/v11_FINAL_gpt4o.json
benchmarks/results/v11_FINAL_v2_recall_fixed.json
benchmarks/results/v11_FINAL_v3_D146_full.json
benchmarks/results/v11_FINAL_v4_D146_gpt4o.json
benchmarks/results/v11_locomo_4omini_*.json
benchmarks/results/v11_locomo_fast.json
benchmarks/results/v11_latency_fast.json

# Live install artefacts
.claude-memory-buffer/
src.bak-*/
:memory:*

# v14 local validation artefacts: raw benchmark inputs, run logs and
# working notes stay on the machine that produced them. Only the reports
# linked from the release documents are committed.
docs/*.log
docs/*_V14*.json
docs/LIVE_*.json
docs/LOCOMO_SECOND_PACKAGE_DIAGNOSIS.json
docs/MEMORY_REPAIR_WHEEL_CHECK.json
docs/STANDARD_BENCHMARK_LINT.json
docs/SESSION_*.md
docs/TASKS.md
docs/PROGRESS.md
docs/ATOMIC_FACTS_V14_*.md
docs/LIVE_MEMORY_*.md
docs/QUALITY_PERFORMANCE_V14.md
docs/QUALITY_SPEED_ROADMAP_V14.md
docs/REASONING_V14_RESULTS.md
docs/V14_TEAM_SCOPE.md
docs/UPGRADE_V14.md
docs/benchmarks/*
!docs/benchmarks/answer-first-v14/
docs/benchmarks/answer-first-v14/*
!docs/benchmarks/answer-first-v14/PROTOCOL.md
!docs/benchmarks/answer-first-v14/RESULTS.md
!docs/benchmarks/browser-cpu-v14-20260915/
docs/benchmarks/browser-cpu-v14-20260915/*
!docs/benchmarks/browser-cpu-v14-20260915/RESULTS.md
!docs/benchmarks/grounded-v14/
docs/benchmarks/grounded-v14/*
!docs/benchmarks/grounded-v14/CPU_RESULTS.md
!docs/benchmarks/grounded-v14/PROTOCOL_V4.md
!docs/benchmarks/grounded-v14/RESULTS_V4.md
!docs/benchmarks/platform-v14-20260915/
docs/benchmarks/platform-v14-20260915/*
!docs/benchmarks/platform-v14-20260915/RESULTS.md
!docs/benchmarks/release-final-v14-20260915/
docs/benchmarks/release-final-v14-20260915/*
!docs/benchmarks/release-final-v14-20260915/RESULTS.md
