Skip to content

BiVox v0.2.13 — engine update

Choose a tag to compare

@DirectX DirectX released this 03 Dec 01:07
· 4 commits to main since this release

BiVox v0.2.13 — the red tray was MY packaging bug: manifest shipped mode 600

The nuc saga is over, and the root cause was mine — introduced in v0.2.11 when
I moved the model manifest into git-tracked packaging/. My file-writing tool
created models.manifest.toml with mode 600 (root-only); cp preserved
that mode into the deb; and bivox-core runs as your desktop user — so it
could not read the manifest it was designed to discover. Every symptom
follows: models_path: "", "no unpacked model packs", red tray forever —
while your model files (17, 948 MB) sat perfectly intact on disk after the
dpkg -i.

Why doctor lied: my v0.2.12 check conflated "manifest unreadable" with "dir
not unpacked" — the giveaway was the empty path in
model pack: …ru-en.toml -> NOT UNPACKED ✗ (the parsed dir was empty
because the file could not be read). Reproduced locally: extract the deb under
umask 077 → manifest 600 → identical doctor output.

Instant repair (if your tray is red on v0.2.11/0.2.12)

sudo chmod 644 /usr/share/bivox/models.d/ru-en.toml
systemctl --user restart bivox-core bivox-hotkey

That's it — the models were already there.

What this release changes

  • models-ru-en 0.2.8: manifest installed with install -m644 (verified:
    normal-user read + worker loads + G2 parity from the extracted tree).
  • Hash-gate is mode-aware: a file-permission regression can never be
    "UNCHANGED" again — the gate hashes content + modes.
  • Release pipeline tracks what was actually shipped (packaging/models.shipped.ver):
    v0.2.12 had built models 0.2.8 locally but never attached them to a release,
    while the gate marked them current — the next release would have skipped
    them forever. Now a version mismatch forces the ship (no bump).
  • Doctor tells three states honestly: UNREADABLE ✗ (Permission denied)
    with the exact chmod 644 repair, NOT UNPACKED ✗ with the wget/dpkg
    sequence, ON DISK ✓. All verified against reproduced trees.
  • Core's status/tooltip carry the honest reason: worker_error and the
    red-tray tooltip now say "manifests unreadable by this user (mode?) —
    repair: sudo chmod 644 …" instead of blaming apt for a permissions bug.
  • Dev-fallback hardened: <repo>/models is only consulted on machines
    with NO installed manifests at all — never when manifests exist but are
    unreadable/unpacked (the v0.2.10 leak class, closed completely).

Honest post-mortem

Four releases (0.2.9→0.2.12) chased symptoms while the defect sat in my
packaging step. The chain of my mistakes: (1) tool-created 600 mode → cp →
deb; (2) content-only hashing missed it; (3) doctor conflated unreadable with
missing; (4) repair advice assumed files were absent. Each was individually
plausible; together they wasted your week. The guards added here (mode-aware
gate, shipped.ver tracking, 3-state doctor, no-dev-paths test) are designed so
this specific class cannot recur.

Assets

Component Package
Engine (code) bivox_0.2.13_amd64.deb (this release)
Models (manifest-mode fix) bivox-models-ru-en_0.2.8_all.deb (this release)
sudo apt install ./bivox_0.2.13_amd64.deb ./bivox-models-ru-en_0.2.8_all.deb
systemctl --user restart bivox-core bivox-hotkey

Suites at tag: M1 21/21 · M2 9/9 · M3 13/13 · E2E 8/8 · m4 9/9 · refusal 5/5 ·
G2 3/3 · stress 2/2 (rust) · no-dev-paths guard PASS · 3-state doctor verified.

Install

Component Package
Engine (code) bivox_0.2.13_amd64.deb (this release)
Models (updated, v0.2.8) bivox-models-ru-en_0.2.8_all.deb (this release)
sudo apt install ./bivox_0.2.13_amd64.deb
sudo apt install ./bivox-models-ru-en_0.2.8_all.deb