Skip to content

BiVox v0.2.10 — engine update

Choose a tag to compare

@DirectX DirectX released this 02 Dec 18:21
· 8 commits to main since this release

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)

  1. 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.
  2. The defect (my code): scan_models() fell through to a hardcoded
    dev fallback
    <repo>/models, and repo defaulted to
    /home/denis/projects/ai/bivox baked 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 containing tools/atspi_inject.py), or BIVOX_REPO env in dev
    launchers. /usr layouts 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 dir must be actually
    unpacked
    — half-installed = missing) → dev CWD ./models → actionable
    exit 4
    naming bivox-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.py fails if /home/denis,
    miniconda3, or projects/ai/bivox appears 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.deb

After 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