Live preview is for Agents only; CODY-023; simulator screenshots wait for the draw

Dan, after the Round 19 review: "I'd only invoke the live transcription
when in agent sub-app." The preview now runs only in Agents mode. In
hands free a recording, whether started by a name or by a tap, is never
previewed; the only audio sent for transcription there is the wake check
and the question itself. "Heard:" is unchanged in both modes. He also
ruled out sending the hands-free listener's audio to a paid service;
decision 0005 records both.

CODY-023: the README status table now states one SHA or version per
surface (server 44ea114, beta client 0.3.0, repository client 0.4.0
candidate), nine simulator scenarios and what the ninth does and does not
cover, and the evidence level of 0.3.0 and 0.4.0.

Simulator suite: the answer and page-turn screenshots poll until the
display shows the expected change instead of sleeping a fixed 800-900 ms.
One of five runs had failed there (the answer page was not yet drawn).

Not reviewed, not deployed, not uploaded, not device-tested.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Dan
2026-11-28 12:06:46 -08:00
co-authored by Claude Fable 5.2
parent 31ae4efb13
commit 2a63b7796a
5 changed files with 58 additions and 22 deletions
+3
View File
@@ -1038,6 +1038,9 @@ export class Controller {
const client = this.client;
if (!timing || !client || this.previewUnsupported || this.previewBusy || this.now() < this.previewPausedUntil) return;
if (this.status?.stt_configured === false) return;
// Agents only (Dan, 2026-11-28). In hands free nothing but the wake check and the question
// itself is ever sent for transcription.
if (this.state.mode !== 'agents') return;
const ms = (bytes: number) => (bytes / AUDIO_FORMAT.bytesPerSecond) * 1000;
if (ms(capture.bytes) < timing.firstMs) return;
if (capture.previewedBytes > 0 && ms(capture.bytes - capture.previewedBytes) < timing.stepMs) return;