Commit graph

3 commits

Author SHA1 Message Date
ca8eb5520e Fix TypeScript compilation issues for augmentation system
Major fixes:
- Replace augmentationPipeline.ts with compatibility layer (21 errors → 0)
- Replace augmentationRegistry.ts with compatibility stubs
- Fix CacheAugmentation: remove invalid 'memoryLimit', fix duplicate 'enabled'
- Fix ConduitAugmentation: 'deleteNoun' → 'delete' operation
- Fix Timer types: NodeJS.Timer → NodeJS.Timeout in index/metrics
- Fix log levels: 'debug' → 'info' throughout augmentations
- Fix readonly array typing in conduit operations
- Fix MetadataIndexConfig property mismatch
- Fix express/ws dynamic import patterns

Progress: 153 TypeScript errors → 106 errors (-47 errors fixed)

Remaining: Method mismatches, property name evolution, import issues
Next: Comprehensive test suite validation for all 50+ test files
2025-08-25 11:33:56 -07:00
a0dca5651f fix: add backwards compatibility exports for augmentation system
- Added deprecated augmentation type exports for compatibility
- Added WebRTCConduitAugmentation stub (deprecated)
- Fixed createConduitAugmentation export
- Maintained backwards compatibility while using new unified system
2025-08-25 10:20:50 -07:00
26c7d61185 CHECKPOINT: Brainy 2.0 API refactor - pre-fixes state
Current state:
- Unified augmentation system to BrainyAugmentation interface
- Changed methods to specific noun/verb naming (addNoun, getNoun, etc)
- Made old methods private
- Combined getNouns into single unified method
- Neural API exists and is complete
- Triple Intelligence uses correct Brainy operators (not MongoDB)

Issues identified:
- Documentation incorrectly shows MongoDB operators (code is correct)
- Need to ensure all features are properly exposed
- Need to verify nothing was lost in simplification

This commit serves as a rollback point before applying fixes.
2025-08-25 09:52:32 -07:00