- dub: a subtitle cue ending after 24 hours is refused (400) before a job
exists; the dub mix is sized from an SRT-only job's timeline, so one absurd
cue could allocate a mix file tens of gigabytes long.
- android fetch: a truncated chunked body (http.client.IncompleteRead) takes
the same cleanup-and-retry path as an OSError, and the retry log names the
error class and errno only, never an exception text that can hold a path.
android-inference failed on a sherpa-onnx AAR whose bytes did not match its
pin, though the pinned asset still matches upstream: a truncated transfer.
fetch.py now discards a bad download and retries it up to three times with
backoff; a digest that still differs is reported as a real mismatch.
Use tarfile's data filter where available, and on older Pythons check each
entry's resolved path and link target stay inside the tree before
extracting it alone. Verified on the three pinned archives under Python
3.9 and 3.11; a regression test covers path escapes, absolute paths and
links out of the tree on both code paths.
sherpa-onnx, omnivoice.cpp and llama.cpp at the pinned versions, built for
arm64-v8a and x86_64 behind one LocalEngine. Sherpa TTS, transcription and
live dictation run on the phone; a Models screen downloads user-started,
resumable, SHA-256-verified models with the desktop's licence acceptance
and RAM fit. Speak and Dictate choose This phone or My computer; every tab
works without pairing.