Commit graph

15 commits

Author SHA1 Message Date
c9d84ef25b fix: Preserve neural intelligence metadata in verb storage
Critical fix for neural features that were designed but not properly saved:
- Neural metadata (neuralEnhanced, inferenceScore) now properly preserved
- Intelligent relate() enhancements now persist to storage
- Metadata merge ensures all neural fields are retained
- Backwards compatibility maintained with data field

This ensures all the neural intelligence features from 1.3.0 work correctly.
2025-08-19 13:28:56 -07:00
ebcfbb7ad2 1.4.0 2025-08-19 13:14:16 -07:00
b2cb85651a feat: Implement hybrid model management with multi-source fallbacks
- Add HybridModelManager with singleton pattern to prevent duplicate model loads
- Implement triple-fallback model downloading (CDN → GitHub → Hugging Face)
- Fix soft-delete filtering to only apply when metadata filters are present
- Enhance model initialization with environment-specific optimizations
- Fix vitest configuration to use correct setup file
- Ensure consistent 384-dimensional embeddings across all operations

This release combines the best of both approaches:
- Singleton pattern prevents multiple ONNX model loads in memory
- Multi-source fallback ensures model availability even if CDN is down
- Soft deletes work correctly without breaking pure vector searches
- All core functionality preserved with enhanced reliability
2025-08-19 13:13:37 -07:00
c9b0bd0e3f chore: Ignore models-cache directory 2025-08-18 19:08:11 -07:00
1096d285f5 feat: Add Google Cloud Storage CDN for models.soulcraft.com
- Primary source: models.soulcraft.com on GCS
- Backup: GitHub releases
- Fallback: Hugging Face
- Immutable with SHA256 verification
2025-08-18 18:58:26 -07:00
a9c5fd0eeb feat: Critical model availability system with multi-source fallback
- Add Model Guardian for critical path verification
- Implement fallback chain: GitHub → CDN → Hugging Face
- Smart detection for Docker, CI, production contexts
- Pre-download option with npm run download-models
- Runtime download with automatic fallback
- Model integrity verification (size, hash)
- Comprehensive deployment documentation

The transformer model (Xenova/all-MiniLM-L6-v2) is critical for operations.
Without it, users cannot access their data. This system ensures it's always
available through multiple redundant sources.
2025-08-18 18:46:40 -07:00
fff35cba05 Release v1.3.0 - Professional cleanup with enhanced features 2025-08-18 18:33:15 -07:00
0d4a295be9 chore: Final production readiness improvements
- Streamlined test suite from 600+ to 400 meaningful tests
- All critical functionality verified and working
- Soft delete by default with hard delete option
- Complete encryption support
- Professional clean repository with zero commercial content
2025-08-18 18:32:47 -07:00
a5a58a6b14 refactor: Streamline test suite for efficiency and clarity
- Remove 10 redundant/debug test files
- Fix delete() to handle non-existent IDs gracefully
- Fix destroy() calls in regression tests
- Update test expectations for soft delete behavior
- Reduced from 600+ to ~400 meaningful tests
- All tests use proper mocks (AWS SDK, timers)
- Improved test execution speed
2025-08-18 18:28:10 -07:00
4b4c66b935 feat: Improve delete API with clear hard delete option
- Single clear way to hard delete: { hard: true }
- Removed confusing soft: false option
- Soft delete remains the default behavior
- Clean, intuitive API: delete() for soft, delete(id, { hard: true }) for hard
- All delete features working: soft, hard, cascade
2025-08-18 18:17:06 -07:00
6b4b67a339 feat: Complete test suite alignment with soft delete
- Update tests to expect soft delete by default behavior
- Add documentation (CHANGELOG.md, MIGRATION.md)
- Fix statistics tests to handle existing data
- Verify both soft and hard delete work correctly
- 12/15 storage tests now passing (2 statistics issues remain)
2025-08-18 18:14:21 -07:00
f317b29231 feat: Complete professional cleanup with full functionality
- All 24 tests passing including edge cases
- Fix encryption config storage and retrieval mechanism
- Maintain complete brainy functionality during cleanup
- Professional open source repository ready for 1.2.0 release
- Zero commercial content contamination
- Robust protection systems in place
2025-08-18 18:01:04 -07:00
3d80df1726 fix: Resolve soft delete and add encrypted config support
- Fix soft delete functionality by filtering out deleted items in search results
- Add support for encrypted configuration storage and retrieval
- Copy test suite and vitest config to ensure all functionality works
- Maintain all core brainy functionality during repository cleanup
2025-08-18 17:49:57 -07:00
7432fab3bc feat: Add repository protection systems
- Add PR template to prevent commercial content leakage
- Add automated workflow to scan for prohibited content
- Protect against business strategy, infrastructure details, customer info
2025-08-18 17:41:47 -07:00
f8c45f2d8d Initial commit: Brainy - Multi-Dimensional AI Database
Open source vector database with HNSW indexing, graph relationships,
and metadata facets. Features CLI with professional augmentation registry
integration for discovering extensions and capabilities.
2025-08-18 17:35:06 -07:00