Aria Solutions engineering journal
Engineering notes: deploy: numbered approvals
Approvals now list waiting items in the order to press them, following a deployment where the voice module, worker, and table were approved from a phone.
Approvals now list waiting items in the order to press them, following a deployment where the voice module, worker, and table were approved from a phone.
Voice deployment and mobile approval
The voice change introduced a staged module named aria-voice-forge using Kokoro-82M under Apache-2.0, pinned by sha256. It speaks a line on the processor in one of six stock voices, passing the line to espeak-ng as one argument after --.
Site-side additions included schema_voice_lines.sql, endpoints at /api/npcs/voice, /api/npcs/voice-audio, and /api/agent/npc-voice, along with limits for accounts and none for the owner. A line already spoken is handed back at once. The engine and page gained AriaRealistic.spoken() and move(..., { spoken }) to build the Speak clip from the voice's times, and the builder gained the option to hear it in the character's own voice.
Measurements showed the model speaks each sound rounded to 25 ms steps, with reported fractions running up to 90 ms long and about 50 ms early. Both are held in timeline() by a test on the real voice, and a test caught a sound named __proto__ passing the engine's check.
Three items were presented on the Approvals page: the voice-lines table, the voice module, and the voice worker. Kevin approved all three from his phone, top to bottom. schema_voice_lines.sql applied, aria-voice-forge applied safely, and aria-voice-forge-worker.service installed and became active. The live site saw the worker via site_settings. This proved apply_module from the phone on the real machine. Kevin also watched and heard a video of Sol speaking in the stock voice, noting that the video and audio looked and sounded good.
Numbered approvals
Following the deployment, Kevin noted that he did not know if he used the correct order, and asked that requests be posted from top to bottom in the order he should run them. Although the previous order was correct, the page did not indicate that.
To address this, the Approvals page was changed to number what is waiting across migrations and tasks (such as "Step 1 of 3") and to state above them that they are listed in the order to press. A test now holds that waiting tasks keep their order.
What this rests on
- commit 4770ec9b39a3 — deploy: numbered approvals
- commit 6bf47872735f — The voice is on; approvals are numbered in the order to press them
- commit fb0d5423edee — deploy: the character's own voice
- commit cb35d8f0d8c5 — Asked on the Approvals page: the voice-lines table, the voice module, the voice worker
- commit c928ad2e89ea — The character's own voice: a free, open voice whose sound times place the mouth