Commit 3f02a2e
Your Name
π EIDOLON ARCHITECTURE 2.0 - Complete Security & Architecture Overhaul
π SECURITY ENHANCEMENTS:
- Implement secure cryptographic key management with zeroization
- PBKDF2 120k iterations (OWASP 2024 compliant)
- Purpose-separated key derivation (wrap vs encrypt)
- Encrypted API key storage with SecureKeyManager
- Comprehensive input sanitization with threat detection
- Advanced emergency detection with semantic analysis
β‘ ARCHITECTURE REDESIGN:
- Event-driven state machine with formal transitions
- SessionService replacing singleton mutations
- UIBusinessLogic layer for clean separation of concerns
- Proper error handling and recovery mechanisms
π΅ AUDIO PIPELINE FIXES:
- RobustVoiceDetector with adaptive thresholding
- Enhanced AudioWorklet with overflow protection
- AudioScheduler with gap detection & underrun protection
- Sample rate conversion and proper timing
ποΈ CODE QUALITY:
- Remove duplicate OrbViz system (410 lines eliminated)
- Extract business logic from UI components
- TypeScript type safety improvements
- Comprehensive test coverage
π¨ SAFETY IMPROVEMENTS:
- Context-aware emergency detection
- Temporal pattern analysis
- Multi-language support (Vietnamese + English)
- Prompt injection prevention
BREAKING CHANGES:
- Migrated from singleton to event-driven architecture
- Updated crypto API with breaking changes
- New secure key management system
- Enhanced audio pipeline requirements
Ready for production deployment with proper invariants and safety planes.1 parent cea9e2d commit 3f02a2e
50 files changed
Lines changed: 5846 additions & 1111 deletions
File tree
- .github/workflows
- components
- coverage/src
- components/Viz
- core/connection
- utils
- services
- src
- components/Viz
- core
- connection
- state
- ui
- utils
- views
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
0 commit comments