Repository navigation
BiVox v0.2.10 — engine update
BiVox v0.2.10 — production binaries contain zero dev paths
Your question — "why on earth is /home/denis/projects/ai/bivox/ at all on a
client machine?" — exposed an architectural defect that should never have
shipped. You were right to demand it fixed at the root.
What happened (two layers)
- The trigger (your box): doctor showed
model pack: …ru-en.toml -> NOT UNPACKED ✗— the manifest file survived but the models directory it
points to did not (half-installed/broken package). Correct behavior:
"models missing" → red tray + apt hint. - The defect (my code):
scan_models()fell through to a hardcoded
dev fallback<repo>/models, andrepodefaulted to
/home/denis/projects/ai/bivoxbaked into the binary. So a production
worker went looking in MY dev checkout —NoSuchFile×3 → crash-loop →
slow-retry (v0.2.9) faithfully retried the wrong path forever. The
slow-retry was healing correctly; it was healing toward a lie.
The fix (D-023 — zero dev literals in shipped binaries)
- Repo root: derived from the executable's own location (walk-up to the
directory containingtools/atspi_inject.py), orBIVOX_REPOenv in dev
launchers./usrlayouts resolve to/usr/share/bivox. No absolute path
is baked in anymore. - Python: resolved env → CLI → config
worker.python→ system
/usr/bin/python3. The dev conda path now lives ONLY in the dev
config.toml— production configs never reference it. - Worker models: env → manifests (each pack's
dirmust be actually
unpacked — half-installed = missing) → dev CWD./models→ actionable
exit 4 namingbivox-models-ru-en. Never a guessed path. - Missing packs ⇒ worker NOT spawned: red tray, tooltip
⛔ models missing: sudo apt install bivox-models-ru-en, and the 30 s
slow-retry re-checks manifests — an apt repair heals without restart. - Guard: new
tools/no_dev_paths_test.pyfails if/home/denis,
miniconda3, orprojects/ai/bivoxappears in the shipped binaries
(toolchain panic-path metadata whitelisted) or if a no-models run doesn't
name the apt remedy. It runs in every release checklist from now on.
Also
core.worker_binary = ""(documented as "empty = default") previously
produced an EMPTY spawn path — now properly derives
<repo>/asr-rs/target/release/asr-worker.
Your nuc box — one command
Your models pack is broken (manifest present, dir not unpacked). Reinstall it:
sudo apt install --reinstall ./bivox-models-ru-en_0.2.7_all.deb
# or from the release:
wget https://github.com/DirectX/bivox/releases/download/v0.2.9/bivox-models-ru-en_0.2.7_all.deb # (linked in v0.2.9 notes)
sudo apt install ./bivox-models-ru-en_0.2.7_all.deb
sudo apt install ./bivox_0.2.10_amd64.debAfter that, bivox-ctl doctor must show model pack: … -> … ON DISK ✓,
worker: asr-worker (rust) running, bus bound, and the tray goes blue
(standby). v0.2.10 will never look in /home/denis again — and if any future
change tries, the guard fails the release.
Assets
Code-only release per D-022 (models unchanged, v0.2.7 linked below).
Suites at tag: M1 21/21 · M2 9/9 · M3 13/13 · E2E 8/8 · refusal 5/5 ·
G2 3/3 · stress 2/2 (rust backend) · no-dev-paths guard PASS.
Install
| Component | Package |
|---|---|
| Engine (code) | bivox_0.2.10_amd64.deb (this release) |
| Models (unchanged, v0.2.7) | https://github.com/DirectX/bivox/releases/download/v0.2.8/bivox-models-ru-en_0.2.7_all.deb — already installed if you have any BiVox ≥ 0.2.6 |
sudo apt install ./bivox_0.2.10_amd64.deb