2026-11-10 · The review’s fourth round

2026-11-10 · The review’s fourth round

Context

The review of 9 November left its findings in issues #143 to #149. The second round, the shell, the offline engines and a model’s abilities took up most of them, all written on Linux, where the shell and the offline engines do not build. This round took up what those left, and ran on Windows (ARM64), where the whole workspace builds: six branches written in parallel, each in a worktree of its own, merged one after another into one branch. After the last merge the workspace’s crates were built again from nothing and every check run on the result (see What was run).

Decisions

The tray, the taskbar and the notification follow the engine (#148)

They were worked out in the webview from its job list and pushed back to the shell, and a webview’s timers are slowed exactly when its window is hidden in the notification area or the menu bar. src-tauri/src/activity.rs now subscribes to the engine’s events before jobs are resumed, on a task of its own: a burst of progress is gathered for half a second, then the job list is read once and the tray’s status line, Pause all, the Quit label, the tooltip and the taskbar’s or Dock’s progress are written; a finished job writes them at once and sends the notification.

The programs the app starts end with it (#144)

FFmpeg and ffprobe, llama.cpp and the Whisper helper are started through kalamu_media::program::spawn and reported once reaped. What is done with each is a Keeper (two functions) the shell gives once at start-up, so nothing below the shell asks which system it runs on.

A stopped download says what it kept (#144)

OfflineModel.downloaded_bytes now also carries, outside a download, what the .part files hold. Settings shows Stopped at N%, that what was downloaded is kept and the download will continue from there, Continue download, and Discard, which removes the parts.

FFmpeg’s decoders (#144)

Both builds’ lists in ffmpeg.yml gain pcm_s24be, pcm_s32be, pcm_s8, pcm_f32be, wmavoice and adpcm_ima_qt, and each build’s check decodes a 24-bit and a 32-bit AIFF written by hand (the build has no AIFF muxer; ffprobe names a codec it cannot decode, so only decoding proves it). The pinned build is unchanged: the workflow is to be run and the new archives pinned in scripts/ffmpeg.json.

The release pipeline (#145)

Long tables are drawn a page at a time (#143)

On the sample data with 3,000 rows, in Chromium, on a machine busy with the other branches’ builds (the times are rough, the counts exact): all jobs, 94,157 elements drawn before and 6,601 after; a project’s documents, 123,580 and 8,269; the dictionary opened in 39 s and now 0.6 s; a job’s page with 3,001 files never settled within five minutes and is now drawn in 2 to 8 s. On the 2,000-source job of large.rs, the page’s read went from 1.15 MB of pieces to 58 KB of counts.

A recording’s transcript is shown once (#149)

The right pane stays the transcript: the one text that is read, corrected and exported. The player’s pane no longer repeats its words: under the player it lists the turns (time, speaker, opening words on one line), each a place to listen from. The passage being heard is found in the text by its words (heard.ts: a line’s first words, or its last when a correction changed the start) and given a faint wash, under the search’s marks; while the recording plays the text keeps it in view, and waits four seconds after the reader scrolls. Nothing is marked while editing. Found by words rather than by position because a correction is free text and the model’s times no longer match it. No stored data and no export changed.

Renaming or removing a name across set-ups (rename_listed, with save_corrections for Undo), linking several jobs to a project (link_jobs) and deleting several jobs (delete_jobs) were looped from the interface and stopped half-way on a failure. Each is now one command and one transaction: JobStore::put_corrections and delete_jobs, ProjectStore::attach_documents. The renaming itself moved from the interface to core::list_items.

Economy batches capped by the engine, their body written once (#143)

CSV cells a spreadsheet would compute (roadmap)

A cell that begins with =, +, -, @, a tab or a carriage return is written with an apostrophe before it, unless the whole cell is a number (-12, +3.5, -1,5). An apostrophe rather than a tab: it is seen, so a researcher who copies the cell knows what to take off, and a tab is itself among the characters to guard against. The table says whether it is guarded (Table.cells), and the crate that makes it decides:

Table Cells Why
A job’s CSV, every task guarded Text a model read off a document, for a spreadsheet; the JSON keeps it exactly
A table of contents’ units guarded The same; its .json twin is the list for programs
A project’s descriptions guarded For a spreadsheet, beside an exact JSON; never read back
The dictionary’s forms guarded Forms from answers; the entries’ JSON is the exact form
An export profile’s table as written Made for another tool’s import, which would take the apostrophe as part of the value

No golden file changed: none had such a cell. The cost is real for transcriptions: a line of dialogue written - Oui now reads '- Oui in the CSV (and only there).

What was run

On the merged branch, on Windows ARM64, after cargo clean of every workspace crate (the six worktrees had shared one target folder, and Cargo had given some of them another’s outputs, so the branches’ own Rust results were not relied on):

Left

To check

Consequences