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

# ── Virtual environments ────────────────────────────────────────────
.venv/
venv/
ENV/

# ── Python tools ────────────────────────────────────────────────────
.pytest_cache/
.mypy_cache/
.ruff_cache/
.pycache/
htmlcov/
.coverage
.coverage.*
coverage.xml

# ── Node.js ─────────────────────────────────────────────────────────
node_modules/
.pnpm-store/
*.tsbuildinfo
.next/
out/

# ── Rust / Tauri ────────────────────────────────────────────────────
target/
Cargo.lock
!desktop/src-tauri/Cargo.lock

# ── Tauri build artifacts ───────────────────────────────────────────
desktop/src-tauri/gen/
desktop/src-tauri/binaries/

# ── PyInstaller build artifacts ────────────────────────────────────
.build-venv/
.build-venv-core/
.build-cache/
.build-tmp/

# ── Vite build output ───────────────────────────────────────────────
desktop/dist/

# ── Environment & secrets ───────────────────────────────────────────
.env
.env.*
!.env.example
*.key
*.pem
*.p12
.keystore_secret
**/secrets.json

# ── Kioku data (user memories — never commit) ───────────────────────
*.db
*.db-journal
*.db-wal
*.db-shm
kioku_export.json
chroma_data/
chromadb_data/

# ── Sentence-transformers model cache ───────────────────────────────
.cache/

# ── IDEs ────────────────────────────────────────────────────────────
.idea/
.vscode/
*.swp
*.swo
*~
*.sublime-workspace
*.sublime-project

# ── macOS ───────────────────────────────────────────────────────────
.DS_Store
.AppleDouble
.LSOverride
._*
.Spotlight-V100
.Trashes

# ── Linux ───────────────────────────────────────────────────────────
*~
.fuse_hidden*
.nfs*

# ── Windows ─────────────────────────────────────────────────────────
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.lnk

# ── Claude Code ─────────────────────────────────────────────────────
.claude/

# ── Local benchmark outputs ────────────────────────────────────────
benchmarks/results/*.json
benchmarks/longmemeval/results/*.json

# ── Local screenshot dumps ─────────────────────────────────────────
screen/
photo/

# Cloudflare Wrangler local state (wrangler dev)
.wrangler/
infra/workers/.wrangler/

# Chrome extension build artifacts (CWS upload zips)
kioku-extension-*.zip

# Desktop sidecar build scratch dirs
.build-venv-*/
.build-tmp-*/
.build-pyinstaller/
.build-cache/
.build-mplconfig/

# Playwright MCP test artifacts (screenshots, snapshots)
.playwright-mcp/
desktop/home-full.png
desktop/mobile-redesign.jpeg
desktop/audit-*.jpeg
