# Dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Build outputs
dist/
build/
*.tsbuildinfo

# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Runtime data
brainy-data/
.brainy/
*.log
*.pid
*.seed
*.pid.lock

# Coverage directory used by tools like istanbul
coverage/
*.lcov

# Test results
tests/results/

# Filesystem test artifacts (created by integration tests)
test-*/

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

# OS files
.DS_Store
Thumbs.db

# Temporary files
tmp/
temp/
*.tmp

# Planning and instruction files
plan.md

# Package files
*.tgz

# Private/confidential files
PLAN.md
INTERNAL_NOTES.md
TODO_PRIVATE.md
*.tar.gz

# Strategy and planning documents (private)
.strategy/
# Removed: PRODUCTION_*.md (now these should be public documentation)
DISTRIBUTED_*.md
*_ASSESSMENT.md
*_ANALYSIS.md
*_TRUTH*.md

# Models (downloaded at runtime)
models/
models-cache/

# But include bundled WASM model assets
!assets/models/

# Development planning files (not for commit)
PLAN.md

# Backup folders
backup-*
backup/

# Internal documentation
docs/internal/

# Cache files
*.cache

# Rust/Cargo build artifacts
src/embeddings/candle-wasm/target/
src/embeddings/candle-wasm/Cargo.lock

# Ignore the wasm-pack output dir's CONTENTS (note the `/*`, not `/`, so the
# re-includes below can take effect — git cannot re-include a file whose parent
# DIRECTORY is excluded). Keep the pre-built WASM committed: it ships in the npm
# package anyway, it lets consumers + CI build without a Rust/wasm-pack toolchain,
# and versioning it makes the shipped artifact reproducible (not "whatever the
# maintainer last built").
src/embeddings/wasm/pkg/*
!src/embeddings/wasm/pkg/*.wasm
!src/embeddings/wasm/pkg/*.js
!src/embeddings/wasm/pkg/*.d.ts

# Log files (redundant but explicit)
*.log

# Temporary files (redundant but explicit)
*.tmp
/.junie/guidelines.md

# Claude Code harness state
.claude/scheduled_tasks.lock
