Repository navigation
Description
Context
Part of #3690. Prerequisite: #3692, which supplies the tall VoiceField, the VoiceControlButtons, VoiceNotice and the L1–L10 stories, signed off. This issue is integration only: it maps the createConversationClient state onto those components and removes the old overlay and its diagnostic labels.
State mapping
| State | Driven by | Controls |
|---|---|---|
| L1 Listening | capturing, user speech; level from the input |
mute, end |
| L2 Thinking / L3 Working | awaiting a response; host work running | mute, end |
| L4 Speaking | output audio actually playing; level from the output |
mute, interrupt (only here), end |
| L5 Talked over | barge-in, then back to L1 | as L1 |
| L6 Needs your tap | pending approval; the card stays tap-only | mute, end |
| L7 Muted | manual mute | unmute, end |
| L8 Reconnecting | bounded recovery in progress | mute, end |
| L9 Stopped | recovery failed; Start again leads to the Start card | — |
| L10 Ended | Leave; the composer returns and the end divider appears (#3700) | — |
Acceptance criteria
- Uses the ui-kit: voice components and stories for every dictation, Start and live state #3692 components unchanged. No new visual design here.
- Every state is driven by the existing client state machine. No label claims more than the client knows.
- L6 never offers a voice approval. The
conversation-permissions.tsbehaviour is unchanged. - L8 and L9 follow the existing recovery policy unchanged.
- The old overlay, its diagnostic labels and the "?" glyphs are removed.
- App browser tests with adapter doubles cover every state. Mutations prove that Interrupt is unavailable outside L4 (removed under a held draft as R1 requires; otherwise disabled) and that L6 has no voice-grant affordance.
Scope and exclusions
Integrate the existing client state machine through the signed-off field specification below. createConversationClient is at packages/ui-react/src/voice/conversation-client.ts:95, current ConversationStrip at packages/ui-react/src/components/voice/conversation-strip.tsx:9, and createConversationPermissions at packages/ui-react/src/voice/conversation-permissions.ts:21. Draft #3735 contains implementation work; preserve its ownership and apply the approved corrections there.
Out of scope: new visual design, changed capture/recovery/approval policy, provider/persona Settings, and weakening the wire layout promise. #3700 owns in-chat tool chips/marks; #3701 owns the explicitly nonblocking disabled-focus follow-up.
Approved behavior
V5: mute stops the user's microphone only; brain may finish its current sentence while muted. R1/R2 and the six overlay functions are fully specified by the final sign-off below. The proposed layout keeps the 264px transcript at 320 × 568; no contract reduction is approved. Passing the unchanged layout tests remains required and is not inferred from the drawing.
Source: final design sign-off.
Design sign-off: overlay functions in the tall field (final, R1 and R2 folded in)
Signed off. The brief above stands as drawn, and R1 and R2 match its recommendations. This is the consolidated spec for the integration.
ui-kit components (all reused unchanged): tall VoiceField, VoiceText, VoiceControlButton, UncertainWord, VoiceToolChip, VoiceNotice (L9), and the #3253 inline notice. Stories: #3738 (prerequisite).
Uses the ui-kit components unchanged; no new visual design here. Any visual change goes back to #3738 and its stories.
State table
| State | label word · meta |
Body (VoiceText) |
Controls (accessible names) |
|---|---|---|---|
| L1 + draft | Listening · Draft · not sent yet | the draft words (UncertainWord where confidence exists) |
Mute · Discard draft · Send now · End (R1: no Interrupt) |
| L4 + draft | Speaking · Draft · not sent yet | the draft words | Mute · Interrupt · Discard draft · Send now · End (5 controls, 252px) |
| L6 | Needs your tap · {persona} · {time} | "Tap Allow or Deny on the card. Voice can’t approve or refuse with this service." | Mute · Interrupt (disabled) · End |
| Output muted | {floor word} · Reply audio off | "Brain’s voice was paused after a dropout. Replies still arrive as text." | Mute · Recover reply audio · End (Recover stays while muted, even under a draft) |
| L8 readiness | Reconnecting… · mic off | "Waiting for voice to be ready. Nothing is heard until then." | Mute (disabled) · Interrupt (disabled) · End |
| Unclear audio, no confidence | {floor word} · Draft · not sent yet | "I couldn’t hear that clearly. Review before sending." | as L1 + draft |
| L9 mic blocked | VoiceNotice "Live conversation stopped" | "Microphone is blocked. Allow it in this site’s browser settings, then Start again." | Close · Start again |
The body shows one message at a time, in this priority: draft → refusal → output muted → client notice.
Chat side
- Coverage (R2): an inline notice at the start of the live section, "Started with the last {n} messages · Details". Details opens the existing ui-server: bound and order live provider startup context on both engines #3200 sheet.
- Background tasks:
VoiceToolChipin the chat (ui-react: wire spoken-turn marks into chat — inline mic/speaker, uncertain and unplayed text, end divider #3700). The overlay list is removed. - Removed from the overlay: the
VOICE DRAFT · NOT SUBMITTED…line, the review guidance, and the stacked readiness and refusal rows.
Budget
Nothing renders between the transcript and the 136px field, so the wire.md 264px line holds as written. The existing layout … 320 and permission layout … 320 tests are the acceptance check, unchanged.
Follow-up (not blocking)
Native disabled on VoiceControlButton drops focus when Interrupt disables under focus. This goes to #3701.
No open questions remain. The #3738 stories it waited on are signed off and #3738 is closed.
Current dependency and verification
No active blocker (2026-11-10).
#3692 is delivered through #3718; its historical blocker line is removed. #3738 supplies the approved state stories and baselines. The design/decision handoff on draft #3735 is now historical: its R1/R2 answers and sign-off are folded here, and the draft can resume against that specification after its story prerequisite.
Run the real app browser state tests with local adapter doubles, both themes and 320px/desktop. Preserve conversation.offline.tsx's existing 320px layout and permission-layout assertions, the exact 264px transcript requirement (docs/integration-contract/wire.md:2413-2415), tap-only approvals, manual draft/recovery behavior and named behavioral mutations. Regenerate app baselines in the pinned container after the approved integration and confirm the actual candidate. Source/code predicates alone are not browser proof.
Contract impact
Draft #3735 adds supported display-only capture and levels() information to the conversation client: carry contract, update docs/integration-contract/package-api.md and the API report in the same CONTRACT change, and use a minor changeset. The existing wire layout promise remains unchanged; failure to meet it is not permission to amend it.
Triage 2026-11-08 at main 8752570331ffebdbb9233196412781f6cd71f3d9: Folded the final signed-off specification and later rulings into this body, removed obsolete open questions, and reconciled actual delivered and open prerequisites. Existing ownership, draft work and release attribution are preserved.
2026-11-09: #3738 was signed off and closed. Discard draft now uses a backspace icon (maintainer ruling), so this waits on the kit key from #3762 before it merges. The wiring work can proceed meanwhile.
2026-11-10 triage at main d79eeed0a: #3762 is closed as completed and its output is on main (#3764, squash e8ea534c1, the kit backspace icon key), so its Blocked by line moved here as history. The follow-through recorded on 2026-11-09 for draft #3735 still waits on #3773 (open) for the strict contained checks at 2x.


Activity
[-]ui-react: live conversation states L1–L10 on the tall voice field[/-][+]ui-react: wire live conversation (L1–L10) to the tall voice field[/+]schlessera commentedon Nov 8, 2026
Decision (maintainer, 2026-11-08): see the rulings on #3690; this issue's body now states the chosen branch.
needs: decisionremoved. Blocked by #3692 (and, for #3698, by #3616/#3617) until its signed-off components exist.schlessera commentedon Nov 8, 2026
Unblocked: #3692 is closed, so
scripts/sync-project.tsis removing theblockedlabel.schlessera commentedon Nov 8, 2026
Claiming this for implementation (claim token
wi-3699-a384). Branch:feat/3699-live-voice-field.Collision report for the cited voice files: only old draft PRs (#3056, #3059 touch
conversation-strip.tsx). Concurrent voice work on the composer mic (#3693/#3694) and chat marks (#3700) is in flight; this PR keeps to the live-conversation surface and will name any shared file it touches.CONTRACT: chore(api-report): record the conversation client's capture…
25 remaining items
schlessera commentedon Nov 9, 2026
Resuming implementation on draft #3735 against the signed-off field specification (claim token
wi-3699-t3-4b31). Branch:feat/3699-live-voice-field. Merge waits on #3762 for thebackspacekey.CONTRACT: feat(ui-react): place the live overlay's functions in the t…
schlessera commentedon Nov 9, 2026
Decision (maintainer, 2026-11-09): the coverage inline notice names the message count now, as drawn: "Started with the last {n} messages · Details". The wire's
historyCoveragegains an additive message-count field to carry it. That is an additive contract change in this issue's PR (#3735), not a follow-up.CONTRACT: feat(ui-sdk,ui-server,ui-react): name the live startup cont…
test(ui-react): regenerate the live field's app baselines in the pinn…
schlessera commentedon Nov 9, 2026
Follow-through for #3735 once the #3773 kit fix lands: restore the strict
containedcheck at 2× incontrol audit … text 2andnotice with review … text 2, and render message bodies asVoiceTextchildren rather thantext(R1 of #3773). The steps are in the comment on #3735.fix(ui-react): draw the live field's messages as VoiceText children (#…
schlessera commentedon Nov 10, 2026
Unblocked: #3762 is closed, so
scripts/sync-project.tsis removing theblockedlabel.feat(ui-react): Discard draft uses the backspace key (#3699, #3762)
schlessera commentedon Nov 10, 2026
2026-11-10 triage at main
d79eeed0a: theBlocked by #3762line named a closed issue whose output is on main (#3764, squashe8ea534c1, the kitbackspacekey). I moved it into a dated historical note, and there is no open declared blocker. The body notes that the 2026-11-09 follow-through for draft #3735 still waits on #3773 (open) for the strictcontainedchecks. Labels are unchanged.CONTRACT: feat(ui-react,ui-sdk,ui-server): draw live conversation in …
schlessera commentedon Nov 10, 2026
Delivered by #3735 as squash
47a345b981794fdbd9a48e556f8c49f2a8e260d4on main, milestone 0.45.0. This also closes #3773.3e67303737f22c8a7e0f35e009c1027d4b8c1720with base0129244ad0781c426f7d3f2363c92d8993aefaee. It checked out218ba183c960ff9b08c933cfe344664a634dea61, tree38d594d32670fbfa1b3eff41690890ef2d048b41. The squash has that base as its only parent and the same tree.VoiceTextchildren that the kit never clamps. Send now and Discard draft (backspace) are in the controls row, and Interrupt leaves it while a draft is held, except in L4 (R1). Recover reply audio stays in the row, readiness reads "mic off", and the L9 copy reads "…then Start again". The R2 coverage notice is in the chat and reads "Started with the last {n} messages · Details". It uses the new additivehistoryCoverage.includedMessagesfrom the maintainer's ruling.