Files
hermeven/docs/decisions/0005-live-preview.md
T
DanandClaude Fable 5.2 2a63b7796a 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>
2026-11-28 12:06:46 -08:00

55 lines
2.8 KiB
Markdown

# 0005: Words on the glasses while recording
Status: implemented with fakes only; **not device-tested**. Date: 2026-11-28.
Dan (2026-11-28): "have the live transcription going when in agent mode so that I can see what
I'm sending to the agent. I realize I'll need to subscribe to a new, paid for service to enable
this."
## What it does (0.4.0)
In **Agents** only, while a recording is being made (by tap or by hold) the screen shows
the words so far under "... is listening…", newest words kept in view. After the recording is
sent, the last preview stays under "Transcribing…" and is then replaced by "Heard: ..." with the
transcript the bridge actually gave the agent.
## How, and why no paid service yet
No new service. About every half second of new audio, and never more than one request at a time,
the app sends **the recording so far** to `POST /v1/transcribe`, and the Whisper already in the
bridge transcribes it. On the server's own figures (1.1 to 1.7 s per clip) the words should trail
the voice by roughly one to two seconds and arrive in phrases, not word by word.
A preview is only ever drawn. The question is transcribed again, whole, by its own turn, so a
preview can never be what the agent receives, and nothing about request ids, deduplication or
cancellation changes.
## What a paid streaming recogniser would change
Word-by-word text a few hundred milliseconds behind the voice, and less CPU on the server. It
would mean audio leaving the bridge host for a third party, a streaming connection through the
Even WebView (documented as allowed, untested), and a recurring cost. Not chosen or designed
here: try this first.
## Costs of this version
- While recording, the server transcribes continuously: one core busy for the length of the
recording.
- When the recording is sent, a preview still running is finished first, so the real
transcription can start up to one clip (about 1.5 s) later than before.
- A preview is a guess at an unfinished sentence and can differ from the final transcript. The
"Heard:" line is the one that is true.
- "Heard:" is cut at 160 characters on the glasses; the phone page has the whole text.
## Owner decisions pending
Whether the delay is acceptable; whether the "Heard:" line during thinking is wanted in Agents
(new there in 0.4.0).
Decided by Dan on 2026-11-28, after the Round 19 review: the live preview is for the Agents
sub-app only ("I'd only invoke the live transcription when in agent sub-app"). The reviewed
0.4.0 candidate (`31ae4ef`) also previewed recordings in hands free; that was removed. He also
ruled out sending the hands-free listener's audio to a paid service. So if a paid recogniser is
adopted it serves the Agents preview (and possibly the final transcript there); hands free stays
on the bridge's own Whisper.