- Eliminates shell injection risk from os.system('clear'/'cls') - Uses ANSI escape sequence \033[H\033[2J instead - Removed unused os import - Added test verifying ANSI codes are used
these new test cover issues such as thread safety, VAD thresholding, message routing, error handling etc. that weren't covered by existing tests. Mocking is used to avoid dependencies on GPU, ONNX etc.