# Dependencies
node_modules/
venv/
.venv/
*.pyc
__pycache__/
.pytest_cache/

# Build outputs
dist/
build/
*.egg-info/
.tsc-cache/
*.tgz

# Environment files
.env
.env.local
.env.*.local
.env.template
.env.backup*

# IDE files
.vscode/
.idea/
*.swp
*.swo
.DS_Store

# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
docs/organization-log.json

# Data and state
data/
!csr-engine/data/
config/imported-files.json
config-isolated/
*.db
*.sqlite

# Docker volumes
qdrant-storage/
qdrant_storage/

# Test artifacts
coverage/
.coverage
htmlcov/
tests/test_results.json
test-results/
*.coverage
tool_usage_sample.json
tests/throwaway/

# Internal documentation
.internal/

# Archived code
archived/

# Internal scripts
.scripts-internal/
scripts/import-*.py
!scripts/import-watcher.py
scripts/test-*.py
scripts/*decay*.py
scripts/simple-importer.py
scripts/streaming-importer*.py
scripts/continuous-importer.py
scripts/merge-config-files.py
scripts/performance-*.py
scripts/validate-decay-impact.py
scripts/test/
scripts/test-typescript/
scripts/tests/

# Test directories
mcp-server/test-fresh-install/

# User-specific config
config/imported-files.json
config/imported-files-old.json
config/imported-files-enhanced.json.backup
config/delta-update-state.json
config/*-state.json
config/test/
config/csr-watcher.json

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

# OS files
Thumbs.db
.DS_Store
Desktop.ini

# Backup files
*.backup
*.bak
*~
backup/
docs/fixes/

# Generated analysis files
scripts/final_analysis_result.json
scripts/*analysis*.json
.claude/hooks/*.json

# Docker-only setup branch
work/
.needs-migration

# FastEmbed cache directory
.fastembed-cache/
mcp-server/.fastembed-cache/

# Articles and drafts (not for public repo)
docs/articles/
docs/linkedin/

# Security - exclude test files with potential keys
docs/testing/*verification*.md
docs/testing/*test-report*.md
docs/testing/*certification*.md
**/VOYAGE_KEY*
**/*api-key*
**/*API_KEY*

# Backup and temporary files
qdrant_backup*
qdrant_cleanup_manifest*
voyage_test_log.txt
import_log.txt
prompt.txt
batch_ground_truth_id.txt
backups/
cache/

# Batch automation output files (PRIVATE DATA - DO NOT COMMIT)
batch_*.jsonl
*_narrative*.jsonl
*_ground_truth*.jsonl
*_evaluation*.jsonl
ground_truth_*.jsonl
narrative_*.txt
batch_requests*.jsonl
batch_results*.jsonl
.ralph_state.md

# Local plans (private, not for repo)
.plans/

# Rust build artifacts
csr-engine/target/

# Claude Code local state (not for repo)
.claude/RESEARCH_INDEX.md
.claude/settings.json
.claude/hooks/
.claude/commands/
.claude/slash-commands/
# .mcp.json — tracked for plugin marketplace (not user-local)

# Legacy Python test/hook/example dirs (removed in v8) — root-anchored so
# csr-engine/tests/ and csr-engine/src/hooks/ stay trackable
/tests/
/hooks/
/examples/
/video/
pytest.ini

# Local release runbook (not for OSS)
RELEASE.local.md
