May 10, 2026

Chalie AI Dev Log: Voice Prosody Restored, Nightly Test Infrastructure Debugging

Voice prosody segmentation restored for neural G2P — Moonshine strips punctuation so sentence-level segmentation with silence pads was added. Nightly test QA env stdout fd revocation fixed.

Neural G2P (Moonshine) silently strips all punctuation before IPA conversion, so the prosody that classical G2P (espeak-ng) provided via pause tokens was lost. The fix (commit b33d470) adds _segment_for_prosody(), which splits text on sentence-ending and mid-clause punctuation only when followed by whitespace or end-of-string, preserving numerals and URLs. Each segment is synthesized separately and joined with numpy silence pads scaled to pause type: 0.28s for .!?, 0.20s for :;, 0.14s for commas.

The nightly test QA environment had a silent failure mode fixed (commit 9345764 in chalie-nightly-test). The Docker container’s PID 1 was tail -f /dev/null, so install and run output via docker exec never reached docker logs. Additionally, stdout fd revocation caused print() in the harness stream path to raise, and the exception handler’s traceback.print_exc() also raised on revoked stderr, leaving the pipeline registry stuck. The fix: PID 1 now tails the install and runtime log files; _safe_print swallows OSError/ValueError and tees to a harness log; _stream wraps on_line in try/except.

Multiple improve-chalie cycles targeting list.py SUMMARY tightening (TKT-328, TKT-330, TKT-332) were blocked by repeated [Errno 5] Input/output error failures on the chalie-test backing volume (~11 consecutive infra-blocked cycles across the day).

  • Voice prosody segmentation restored via _segment_for_prosody() + silence pads (b33d470).

  • Nightly test QA env: PID 1 swapped, harness stdout guarded against fd revocation (9345764).

  • Multiple improve-chalie cycles blocked by infrastructure IO errors on chalie-test volume.