brainy/src/neural
David Snelling 108e2bcab4 refactor: migrate aggregation + neural field reads to resolveEntityField
Preventive cleanup of sites that previously used dual-lookup patterns
(metadata[field] ?? entity[field]) or hardcoded timestamp if-chains
to read fields off HNSWNounWithMetadata. These worked today but were
fragile — the same failure mode that caused the orderBy sort bug
would have recurred the next time someone reordered or dropped a
lookup.

- AggregationIndex.computeGroupKey + getNumericField now route all
  dimension and metric field lookups through resolveEntityField.
- improvedNeuralAPI._getItemsByTimeWindow + _clusterItemsByField
  use resolveEntityField as the primary path, with item.data as a
  legacy producer fallback. The type/nounType legacy branch is
  preserved as-is since it handles storage format compatibility
  rather than shape contract drift.

No behavior change for correct inputs. All aggregation and orderby
regression tests pass unchanged.
2026-04-09 16:40:55 -07:00
..
signals feat: harden plugin system wiring and add developer diagnostics 2026-02-01 13:03:15 -08:00
embeddedPatterns.ts refactor: remove deprecated BrainyData class completely 2025-09-30 16:04:00 -07:00
embeddedTypeEmbeddings.ts feat: enforce data/metadata separation, numeric range queries, improved docs 2026-02-09 12:07:54 -08:00
entityExtractionCache.ts feat: add progress tracking, entity caching, and relationship confidence 2025-10-01 15:12:54 -07:00
entityExtractor.ts fix: exclude __words__ keyword index from corruption detection and getStats() 2026-01-27 15:38:21 -08:00
improvedNeuralAPI.ts refactor: migrate aggregation + neural field reads to resolveEntityField 2026-04-09 16:40:55 -07:00
naturalLanguageProcessor.ts fix: exclude __words__ keyword index from corruption detection and getStats() 2026-01-27 15:38:21 -08:00
naturalLanguageProcessorStatic.ts feat: add distributed architecture with sharding and coordination 2025-09-22 15:45:35 -07:00
neuralAPI.ts feat: harden plugin system wiring and add developer diagnostics 2026-02-01 13:03:15 -08:00
neuralImport.ts refactor: remove src/cortex/ directory and fix README claims 2026-02-01 11:07:26 -08:00
neuralImportAugmentation.ts refactor: remove src/cortex/ directory and fix README claims 2026-02-01 11:07:26 -08:00
patternLibrary.ts feat: implement incremental sorted indices and Triple Intelligence find() 2025-09-12 12:36:11 -07:00
patterns.ts 🧠 Brainy 2.0.0 - Zero-Configuration AI Database with Triple Intelligence™ 2025-08-26 12:32:21 -07:00
presets.ts feat: implement progressive flush intervals for streaming imports 2025-10-22 17:36:27 -07:00
relationshipConfidence.ts feat: Stage 3 CANONICAL taxonomy with 169 types (v5.5.0) 2025-11-06 09:02:23 -08:00
SmartExtractor.ts fix: CRITICAL systemic VFS metadata bug across ALL storage adapters (v4.7.4) 2025-10-27 14:23:46 -07:00
SmartRelationshipExtractor.ts feat: migrate embeddings to Candle WASM + remove semantic type inference 2026-01-06 12:52:34 -08:00
staticPatternMatcher.ts feat: Brainy 3.0 - Production-ready Triple Intelligence database 2025-09-11 16:23:32 -07:00
types.ts fix: resolve 19 critical test failures for production readiness 2025-10-09 16:58:53 -07:00