Three commits: 14af927 the feature, 7e80b2b the scripts, 9f6c41c the code
review's four fixes. The maintainer tested the demo locally before this doc was
written and reported it good, so B is what is left rather than the whole surface.
npm test — 413 pass, 28 files. One file fewer than main: test/mock.test.ts tested chunksOwed and readLooped, which no longer exist.npm run lint — clean, no warnings. npx tsc -b — clean.engine-worklet asset, no mock-engine chunk, no openMockEngine/mockRpmBounds/clampMockRpm symbol, button and slider eliminated. Checked as files and as base64 — Vite inlines any worklet under 4 KB, so dist/assets/ alone proves nothing.VITE_SAMPLES=1 VITE_MOCK=1) emits engine-worklet-*.js and mock-engine-*.js, and dist/samples/.index.js itself is smaller than main's.src/live/engine-worklet.js is byte-identical to revbench's below the added header.evidence/sweep-2026-09-15.txt.The maintainer's to tick. Everything here needs a device or an eye. All eight confirmed passing by the maintainer, 2026-09-15.
./scripts/install.sh --demo on the AGM G3: the button is there, the engine is audible through the phone's speaker, the dial settles at 1500../scripts/dev.sh with no flag gives the app as it ships — no Mock button, no samples sheet. Same for ./scripts/apk.sh and the APK it installs../scripts/dev.sh --demo --build serves on 4173 and behaves as the dev server did, since that is what the website will run.9f6c41c): press Stop while Chrome's permission prompt is up, then grant — the recording indicator must go out. On the phone, press Stop the instant Start is pressed, twice over, and confirm live mode is genuinely off rather than a dial that needs stopping again.All four from the code review are fixed in 9f6c41c; listed because the last two were older than this branch.
captureFrom did not re-check after context.resume(), so a stop inside the resume window left a zombie run — stop button and scope on screen, everything behind them gone. (fixed)if (stopped) { stop(); return } guards after getUserMedia and RawAudio.start were no-ops: stop() returned early on a flag the earlier stop had already set, so the device that had since opened was never released. Browser indicator stays lit; on Android the native recorder held the microphone for the full 600 s cap. Pre-existing on both mic paths. (fixed — release split from stop)clampMockRpm was written for the start speed and never called. Safe only because the dial cannot be set below 9,000, which is a fact about another file. (fixed — clamped where the bounds are known, passed into start)aab.sh ignored any argument that was not --samples, so aab.sh --demo built a plain release in silence, and it inherited VITE_MOCK from the shell. (fixed — refuses --demo by name, unsets the flag)dial.ts's documented behaviour for any reading past the face, and what a real tachometer does. Raised so the decision is on the record.en.ts is one object and every bundle is typed against it, so a key that exists for the demo exists everywhere. No flag can remove it and none should try.