# ==============================================================================
# MemoSift Platform — Monorepo .gitignore
# ==============================================================================
# Tracked directories: memosift-services/, memosift-sdk/, memosift-frontend/
# Everything else at root level is excluded unless explicitly listed.

# ========================
# Root-level folders to EXCLUDE
# ========================
/benchmarks/
/tests/
/business_docs/
/python/
/pipeline_test/
/test_output/
/test-project/
/mem0-main/

# ========================
# Root-level files to EXCLUDE
# ========================
# Debug / scratch data
debug_*.json

# Root-level test scripts (proper tests live in memosift-*/tests/)
/test_*.py

# Marketing & business documents (live in /business_docs/ on disk, never committed)
/MemoSift-Pitch*
/MemoSift_*

# Client-specific documents — confidential, never commit.
CONTEXT_INTELLIGENCE_REQUIREMENTS.md

# ========================
# Secrets & credentials (CRITICAL — never commit)
# ========================
.env
.env.*
.env.local
.env.development.local
.env.test.local
.env.production.local
*.pem
*.key
.mcp.json

# ========================
# IDE & editor
# ========================
.vscode/
.idea/
*.swp
*.swo
*~

# ========================
# Claude / AI tooling
# ========================
.claude/
CLAUDE.md

# ========================
# Python
# ========================
__pycache__/
*.py[cod]
*$py.class
*.egg-info/
*.egg
dist/
build/
*.whl
.pytest_cache/
.ruff_cache/
.mypy_cache/
.hypothesis/
.coverage
.coverage.*
htmlcov/
*.cover
.tox/
.nox/
*.so

# ========================
# Node.js / Frontend
# ========================
node_modules/
.next/
out/
.vercel/
.turbo/
*.tsbuildinfo
next-env.d.ts
coverage/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# ========================
# OS files
# ========================
.DS_Store
Thumbs.db
Desktop.ini

# ========================
# Docs (specs/plans tracked via git add -f, general docs excluded)
# ========================
docs/
--output-dir/s
benchmarking/