- MigrationRunner: per-entity error tracking (non-fatal), maxErrors bail-out, static validateMigrations() called in constructor, branch error propagation - RefManager: updateRefMetadata() method for clean metadata updates - brainy.ts: eliminate as-any casts in migration methods, use updateRefMetadata, forward maxErrors through full chain including branch migrations - Types: MigrationError interface, errors field on MigrationResult, maxErrors on MigrateOptions - Package exports: MigrationError type, migrate() on BrainyInterface, autoMigrate config - 31 integration tests covering error handling, validation, branch error propagation - Documentation: docs/guides/schema-migrations.md
111 lines
1.6 KiB
Text
111 lines
1.6 KiB
Text
# 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
|
|
CLAUDE.md
|
|
|
|
# Package files
|
|
*.tgz
|
|
|
|
# Private/confidential files
|
|
PLAN.md
|
|
CLAUDE.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
|
|
CLAUDE.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
|
|
src/embeddings/wasm/pkg/
|
|
|
|
# But keep the pre-built WASM (committed for users without Rust)
|
|
!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
|