Skip to content

ui-react: configure the default live-conversation provider through Settings #3616

Closed

Description

@schlessera

Out of scope

Adding a third live provider, managing provider credentials, changing the ordinary chat/agent model default, changing dictation, deploying an instance, or silently switching an active conversation's destination. This issue does not authorize paid qualification calls.

Context

The maintainer requests that the default live-conversation provider be configurable through Settings. Choosing the ordinary chat model is a different preference. Related architecture work #317 selected Gemini Live and GPT-Live, and #3178 delivered existing-chat context across live sessions; neither supplies this Settings control. Part of #54.

Source navigation rechecked at main 1619741f291f525d17cde4970a5ada40644117c1:

  • conversationProvider, packages/ui-server/src/app.ts:252, accepts one conversationProvider by value; implementing a picker requires server registration/discovery and selection, not just a dropdown.
  • SECTIONS (packages/ui-react/src/components/settings/settings-panel.tsx:28) and SettingsPanel (packages/ui-react/src/components/settings/settings-panel.tsx:42), defines the existing Settings destinations.
  • getDefaultModelId (packages/ui-server/src/db/settings.ts:107) and setDefaultModelId (packages/ui-server/src/db/settings.ts:112), is an existing persisted preference pattern, for the ordinary model rather than live conversation.
  • disclosureKey, packages/ui-react/src/voice/conversation-client.ts:324-339, fences changed voice disclosure; the conversation_start send at packages/ui-react/src/voice/conversation-client.ts:465 supplies the disclosed profile.

Scope

Expose available live-conversation providers and persist a chosen default through an authenticated Settings UI. Resolve that preference when starting a live conversation, independently of the task backend. Include the necessary SDK/server/client discovery and registration work for both existing adapters. Coordinate the shared Settings surface with the companion persona feature #3617 under #54.

The maintainer has selected the Voice pane, a one-time provider choice on Start, and explicit recovery for an unavailable saved default. Keep the proposed brain-wide preference and next-Start activation boundary. Complete the remaining design reconciliation for registration/discovery, exact authorization/schema, precedence and legacy-client compatibility before implementation; the selected branches below must not be reopened as unanswered questions.

Acceptance criteria

  • The recorded design incorporates L1–L3 as ruled below, with Settings and pre-Start states at 320px and desktop width, accessible labels and errors, and an explicit compatibility table for zero, one and multiple configured providers. Reconcile the brief's precedence list with every table row, including multiple providers with no saved/host default and legacy clients that cannot express the new selection.
  • Settings uses a pane named Voice under This brain. Its brain-wide live-provider default is independent of the ordinary model default, with owner-authorized writes and persisted server settings. Opening/saving it performs no provider, microphone or history transfer. Do not assume the current Models route already supplies the proposed owner-only guard; enforce the chosen boundary on the new route.
  • The Start screen includes Change when multiple providers are available. That choice applies only to the new conversation, overrides the saved default for that Start, and does not write the saved default.
  • An unavailable saved provider requires an explicit valid provider pick before Start; no automatic host-default fallback is selected. Preserve the unavailable saved preference until explicitly changed in Settings, and show the chosen destination before microphone/history transfer.
  • Settings shows the configured/usable provider choices, the saved default and any unavailable saved selection without exposing credentials. Authorized saves survive reload and server restart under the agreed scope; unauthorized writes are refused.
  • With both existing adapters configured, saving either default causes the next explicitly started conversation to use that adapter. The ordinary chat/agent model default remains independent.
  • Missing, removed or unusable selections follow the explicit-pick recovery above. When no provider is configured, live conversation remains unavailable. Discovery distinguishes registration from proven provider health; a later provider/key failure does not silently select a different destination.
  • A Settings save does not rewrite provider-facing history or silently retarget an active conversation. Any destination change follows the existing disclosure and explicit Start boundary before microphone/history transfer.
  • Existing single-provider hosts and clients retain documented compatibility. Disabled/unconfigured live conversation remains honestly unavailable.
  • User-facing and integration documentation describe defaults, persistence scope, activation and failure behavior.

Verification

Use keyless server/SDK tests for selection, persistence, authorization, missing selections and legacy behavior, plus real browser tests through Settings and the live Start flow. Exercise both provider identities with local adapter doubles and assert which adapter opens, when disclosure is shown, and that no audio/history crosses a changed destination before Start. Add meaningful failing-first or mutation evidence for selection and disclosure gates. Run the provider-history guard on affected paths and the required PR preflight. Synthetic receipts establish routing behavior only, not vendor/audio qualification.

Contract impact

Expect additive settings/discovery and possibly registration/start selection changes. Design must inventory public SDK, HTTP and wire changes in docs/integration-contract.md and its authoritative components, preserve legacy consumers, and follow CONTRACT/minor-release rules for additive changes. Any breaking proposal requires the existing maintainer ruling process before implementation. Binding records: docs/decisions/live-conversation.md, docs/decisions/provider-history.md, docs/decisions/voice-permission.md (including later supersessions), and docs/plans/voice-conversation.md.

No release milestone is committed by this request.

Maintainer decision — 2026-11-08

  • L1: Include a one-time Change control on the Start screen. It changes the provider for that conversation without changing the saved default.
  • L2: If the saved provider is unavailable, require an explicit provider pick. Do not automatically substitute the host default, even with a notice.
  • L3: Name the shared Settings pane Voice.

These choices use the proposed brain-wide default and next-explicit-Start activation boundary. A Settings save never retargets a running conversation; reconnect keeps its original provider. The actual destination must be disclosed before Start, and opening/saving Settings alone transfers no microphone audio or chat history.

Use the existing design brief and mocks with L1–L3 settled. The original L1–L3 scope choices above are resolved; the later amendment below introduces the remaining review questions. Retain needs: design for the remaining documented schema/authorization/compatibility reconciliation: the precedence list and zero/one/multiple-provider table must agree, legacy single-provider clients must remain supported, the new owner-write boundary must be explicit rather than assumed from Models, and coordination with #3617 must not introduce a circular dependency. Preserve the existing prompt/mocks and fold the amended interaction into this body before implementation readiness. No further maintainer choice among L1–L3 is pending.

Triage 2026-11-08 at main 1619741f291f525d17cde4970a5ada40644117c1: Reconciled the later proposal without selecting open choices and refreshed moved source pointers. Existing p2 ranking and voice-epic membership remain; no release or audio qualification is inferred.

2026-11-08 decision reconciliation: incorporated the maintainer's one-time Change, explicit-pick recovery and Voice naming selections. Kept the existing design prerequisite for exact contract/interaction reconciliation; no runtime, release or audio qualification is claimed.

Current design reconciliation (R1 ruled and design signed off below)

The latest reconciliation supersedes the earlier precedence/compatibility table and old proposal to rebroadcast hello. Its concrete proposed contract is reproduced below, with every recommended branch still unapproved. R1 is the exact remaining compatibility question: legacy clients with no effective service see unavailable, or get a separate deterministic fallback. Recommendation is unavailable, preserving L2's explicit-pick rule; an approved fallback would need its precise compatibility/destination disclosure consequences. The maintainer records R1 and signs off the reconciled design before implementation readiness.

Design reconciliation: schema, authorization, registration and compatibility (L1–L3 applied)

This finishes the brief with the 2026-11-08 rulings applied. The Settings pane mock in that brief still stands. The Start screen is now the Start card in the voice field (#3690 / #3698): Service row + Change (L1) and state S3d (L2).

1. Precedence (one list; the table in §4 follows it exactly)

Effective service for a new Start:

  1. Change on the Start card. It is shown only when 2 or more services are usable, applies to this conversation only and is never saved (L1).
  2. Saved default. It is used only if usable. A saved but unusable default stops here: the effective service is none and the Start card shows S3d, which requires an explicit pick from the usable services (L2). There is no fall-through.
  3. Host default (defaultConversationProviderId), only when nothing is saved.
  4. The single usable service, only when exactly one is registered and nothing is saved.
  5. Otherwise none.
    • With 2 or more usable services, nothing saved and no host default, the Start card requires a pick. There is no implicit "first registered".
    • With 0 usable services, live conversation is unavailable.

"Usable" means registered at boot. There is no runtime credential probing. A key that fails later surfaces through the existing provider_error close and never selects another service.

2. Registration and discovery (additive)

  • Host option. createBrainUiServer({ conversationProviders?: LiveConversationProvider[]; defaultConversationProviderId?: string }). The legacy conversationProvider is still accepted and means a list of one. Startup fails on any of:
    • both options given;
    • duplicate provider ids;
    • a defaultConversationProviderId that is not among the registered ids.
  • server_hello.
    • Keeps conversationProfile. It is present only when the effective service is non-null, and equals that service's profile. A legacy client therefore keeps today's behaviour on single-provider hosts.
    • Adds conversationProfiles: ConversationProfile[] and liveDefault: { saved: string | null; savedUsable: boolean; effective: string | null; source: "change" | "saved" | "host" | "only" | "none" }. The value change is never sent in hello; it appears only on the start echo.
  • Live update. After a save, the server sends an additive live_settings frame with the same liveDefault and conversationProfiles fields to the owner's open connections. Clients that predate it ignore unknown frame types; this is to be verified against the wire contract's unknown-frame rule at implementation.
  • conversation_start. Gains optional providerId. The host opens a provider only if providerId === disclosed.providerId and that id is registered. Otherwise the existing refusal applies: "The voice disclosure changed. Review it and select Start. Microphone off." An absent providerId means the effective service (legacy behaviour). It is refused when the effective service is none.

3. Storage and authorization

  • Store. The ui-server settings store (getSetting/setSetting). This is persisted server state, not the disposable content index. The key is voice.live.defaultProvider, with value { value: string | null, revision: number }. The reader is total: corrupt or unknown data reads as null, revision 0.
  • Read (GET /api/settings/voice): any authenticated human session of the brain.
  • Write (PUT /api/settings/voice). The request body is { defaultProvider: string | null, revision }.
    • A new owner-only guard on this route. Only the brain owner's human session passes. Device tokens, agent or worker principals and any delegated or shared principal get 403 with an empty body.
    • This guard is a requirement of this issue. It is not assumed to exist on the Models route; implementation adds it and tests it directly. Mutating-route CSRF protection is the same as on the existing settings routes.
    • An id that is not registered returns 400 LIVE_PROVIDER_UNKNOWN. A stale revision returns 409 LIVE_SETTINGS_CHANGED with the current value. Settings then shows "Changed on another device" and reloads the value.
    • null clears the saved default.
  • No credentials, key presence or endpoints appear in hello, routes or errors.

4. Compatibility table (follows §1)

Usable services Saved Host default Effective (legacy conversationProfile) Settings pane Start card
0 any — none (absent) "Live conversation isn't set up on this host." S4
1 none — / that one the one one non-interactive row, "The only live service on this host" Service row without Change
1 that one — the one same same
1 other (removed) — none (absent) the one row plus a dashed "Saved default · not available" row S3d (pick the one)
≥2 none set host default radios, host default marked "default" Service row with Change
≥2 none none none (absent) radios, nothing checked, hint "Pick a default" S3d-style pick required
≥2 usable any saved radios, saved one checked Service row with Change
≥2 unusable any none (absent) radios plus dashed unavailable row S3d

A legacy client sees only conversationProfile. When it is absent, the client shows live conversation as unavailable, exactly as it does today on a host with no provider (see R1).

5. Activation (unchanged from the brief, restated as ruled)

  • Saving takes effect at the next explicit Start. It never retargets a running conversation, and a reconnect keeps that conversation's original provider, which is pinned with the conversation entry.
  • Opening or saving Settings performs no provider I/O, microphone capture or history read.
  • If another device changes the default between the Start card and Start, the exact-echo refusal applies.

6. Coordination with #3617 (no circular dependency)

7. Storybook first and slices

  1. ui-kit. The Voice pane's Live service group: radio rows; "default", "in use now" and "not available" markers; save-error inline; the zero, one and multiple variants. Stories at 320 and desktop in light and dark. The Start card is already covered by ui-kit: voice components and stories for every dictation, Start and live state #3692.
  2. SDK/server. Registration validation, hello fields, the live_settings frame, the start providerId echo, the store key and the owner-only route. Keyless tests use two adapter doubles and assert which double's open is called for every row of §4, plus the 403 and 409 paths. A mutation that removes the guard must fail the 403 test.
  3. Integration (prerequisites: 1, 2 and ui-kit: voice components and stories for every dictation, Start and live state #3692): Settings pane wiring and Start card data. Browser proof at 320 and 1280: reload persistence, Change applied without being saved, S3d explicit pick, no audio or history frame before Start.

CONTRACT: additive minor. Update the integration-contract wire (hello, live_settings, start), HTTP route and package-option components.

Open question (resolved: unavailable)

  • R1, legacy clients against a multi-provider host with no effective default. Recommended: such clients see live conversation as unavailable until a default exists, which is honest and needs no guess. The alternative is a deterministic host fallback for legacy clients only, which would contradict L2's spirit.

Current shared-pane source

#3709 has already delivered the Voice pane: SECTIONS (packages/ui-react/src/components/settings/settings-panel.tsx:28) includes Voice at line 31, and VoiceTab (packages/ui-react/src/components/settings/voice-tab.tsx:11) explicitly reserves independent groups for dictation and later live settings. Extend that pane rather than creating a duplicate or replacing DictationSettings. Dictation has its own routes/revision (createVoiceRoutes, packages/ui-server/src/routes/voice.ts:26); proposed live settings stay independent. Current dictation authorization is source context, not approval of the still-proposed live-route boundary. Start-time presentation remains #3698; this issue owns registration, live settings and their data contract.

Triage 2026-11-08 at main 8752570331ffebdbb9233196412781f6cd71f3d9: Folded the later schema/authorization/compatibility amendment and R1 into the body, retained its decision prerequisite and added the still-required design sign-off. Reconciled the already-shipped dictation Voice pane without broadening live or dictation policy.

Maintainer decision — 2026-11-08 (R1 and sign-off)

  • R1: a legacy client on a multi-provider host with no effective service sees live conversation as unavailable. conversationProfile stays absent until a saved or host default exists. There is no deterministic legacy fallback, consistent with L2.
  • Design sign-off: the reconciled design in the body (§1 precedence, §2 registration/discovery, §3 storage and the new owner-only write guard, §4 compatibility table, §5 activation, §6 ui-react: configure and select live-conversation personas through Settings #3617 coordination, §7 Storybook-first slices) is approved as the implementation specification. needs: design is removed. Implementation follows the §7 slice order: the ui-kit Live service group first, then SDK/server, then integration.

2026-11-08: recorded R1 and the design sign-off; removed needs: decision and needs: design, added agent-ready.

Activity

  1. added
    type: feat
    area: ui-sdk
    area: ui-server
    area: ui-react
    priority: p2
    needs: design
    contract
    on Nov 5, 2026
  2. schlessera commented on Nov 5, 2026

    @schlessera
    OwnerAuthor

    The requested Settings-based live-provider default is decided. Placement, preference scope/precedence, compatibility and the behavior of a change during an active conversation still need a concrete interaction design; the current single-provider registration cannot settle those choices. Prepare the proposal on this issue, coordinated with #3617, before implementation readiness is granted.

    Design #3616 in schlessera/brain-kit, under voice-conversation epic #54, coordinated with persona Settings #3617. The required outcome is a saved live-provider default selectable through Settings, independent of the ordinary chat/task backend. Existing providers are Gemini Live and GPT-Live; no new provider is requested.
    
    Read first:
    - The full bodies of #3616, #3617 and #54, plus the architecture ruling #317 and context delivery #3178.
    - conversationProvider, packages/ui-server/src/app.ts:247: today's single-provider host option.
    - SECTIONS, packages/ui-react/src/components/settings/settings-panel.tsx:27-36: existing Settings navigation.
    - getDefaultModelId, packages/ui-server/src/db/settings.ts:106-112: ordinary model preference, not the requested live default.
    - disclosureKey, packages/ui-react/src/voice/conversation-client.ts:324-339, and conversation_start at line 465: disclosure/start boundary.
    - ROADMAP.md, What binds future work; docs/decisions/live-conversation.md; docs/decisions/provider-history.md; docs/decisions/voice-permission.md including its later supersessions; docs/plans/voice-conversation.md; docs/integration-contract.md and relevant SDK/wire/HTTP components. Verify source locations before relying on them.
    
    Problem: choosing a default currently requires host registration; users cannot do it in Settings, and a dropdown alone cannot make multiple host adapters selectable.
    
    Design these decisions explicitly:
    1. Settings placement and relationship to persona configuration and ordinary model/provider settings.
    2. Who owns the default and who may read/change it; server, user and device preference scope; persistence and precedence with host defaults and any explicit session selection.
    3. Registration/discovery requirements and behavior for zero, one or multiple configured providers; legacy callers; saved choices that become unavailable or lose credentials.
    4. Save, cancel, failure, reload and concurrent-change behavior; when a save applies while a conversation is active. Specify the next Start and any explicit stop/restart flow.
    5. Provider/persona voice compatibility and joint validation with #3617 without creating a circular implementation dependency.
    
    Requirements to hold: no microphone or history transfer merely from opening/saving Settings. Show the actual destination before explicit Start. Never silently switch destination or rewrite provider-facing prompt/tools/earlier messages. Keep ordinary host policy, chat-model defaults, dictation and permission grants unchanged. No credentials in discovery or errors. Use existing components, accessible names/keyboard/focus behavior, touch targets and legible 320px layouts. Preserve supported/unproven capability honesty; do not invent provider capabilities or assume a paid test budget.
    
    Deliverable: a recommended design with alternatives/tradeoffs, ASCII mocks at 320px and desktop, a state/compatibility table, persistence/auth rules, activation/consent sequence, proposed public contract additions and an implementation/test breakdown. Update the issue body with approved decisions and readiness only after design review. A documented technical limitation or need for a maintainer ruling is an acceptable design finding; silently dropping the requested Settings default is not. Do not implement during this design pass.
    

    Navigation refresh 2026-11-08: source locations checked at main 1619741f291f525d17cde4970a5ada40644117c1. Read the later proposed design and the current issue-body approval gap together with this prompt; no open recommendation is promoted to approval.

  3. schlessera commented on Nov 6, 2026

    @schlessera
    OwnerAuthor

    Design brief: default live-conversation service in Settings (coordinated with #3617)

    Read at main: SECTIONS/SettingsPanel (settings-panel.tsx), getSetting/setSetting/getDefaultModelId (db/settings.ts), LiveConversationProvider / LiveConversationOpenOptions (ui-sdk/src/server/conversation.ts), disclosureKey / requireCurrentDisclosure / startEpoch / server_hello handling (voice/conversation-client.ts), docs/decisions/live-conversation.md (incl. #3178 Start correction, #3053 consent boundaries).

    #3616 Settings Voice pane: live service default at 320 and desktop, states
    Persona editor and Start sheet are on #3617.

    1. Placement

    New pane Voice in Settings › This brain, between Models and Accounts (meta: "live", icon reuse: existing voice/mic kit icon). It holds two radio groups: Live service (this issue) and Persona (#3617). Reasons:

    • not Models — the issue requires the live default to stay independent of the chat/task model; one pane mixing both invites "default model" confusion.
    • not Appearance & input — that pane is device-scoped; this preference is brain-wide.
    • not Accounts — no credentials are managed here (out of scope); Accounts keeps provider keys.

    Alternative considered: a "Live service" row inside Models. Rejected for the reason above and because personas need room.

    2. Ownership, scope, precedence

    • Scope: brain-wide, stored server-side in the existing settings KV: voice.live.defaultProvider = "<providerId>" | null, exactly the models.default pattern (total reader, corrupt → null). Follows the owner across devices; no device override.
    • Read: any authenticated human session of the brain (needed to render Start). Write: the same authorization as PUT of the model default (human owner session). Device/agent principal credentials are refused (403, no body detail). No credential, key presence detail or endpoint appears in discovery or errors.
    • Effective service for a new Start (first match wins):
      1. explicit per-conversation choice in the Start sheet (Change, only when ≥2 usable);
      2. saved default, if usable;
      3. host default (defaultConversationProviderId registration option), only when nothing is saved;
      4. the single registered service;
      5. none → live conversation unavailable.
    • A saved default that is not usable never falls through to 3/4 silently. Start shows the recovery sheet (ui-react: configure and select live-conversation personas through Settings #3617 image, B4) and requires an explicit pick for this conversation; the saved value is kept until the user changes it in Settings.

    3. Registration and discovery (additive)

    • createBrainUiServer({ conversationProviders?: LiveConversationProvider[], defaultConversationProviderId?: string }). Legacy conversationProvider = list of one. Both given → startup error naming the conflict. Duplicate ids → existing assertLiveConversationProvider-style error.
    • server_hello keeps conversationProfile (= the effective profile for a legacy client, so old clients behave exactly as today) and adds conversationProfiles: ConversationProfile[] + liveDefault: { saved: string | null; savedUsable: boolean; effective: string | null; source: "saved" | "host" | "only" | "none" }.
    • GET/PUT /api/settings/voice → { defaultProvider, revision }; PUT takes { defaultProvider: string | null, revision }. Unknown/unregistered id → 400 LIVE_PROVIDER_UNKNOWN. Stale revision → 409 (UI: "Changed on another device", reload value). After a save the server re-broadcasts server_hello-equivalent fields to the owner's connections so other open Settings/Start sheets update.
    • conversation_start gains optional providerId. The host only opens that provider if it equals disclosed.providerId (existing exact-echo admission) and is registered; otherwise the existing refusal path. Absent providerId = effective default (legacy).

    Compatibility table

    Registered Saved Settings shows Start uses
    0 any info banner "Live conversation isn't set up on this host." group hidden unavailable (today's behavior)
    1 (legacy option) none single non-interactive row "The only live service on this host" that one
    1 other id (removed) single row + "Saved default · not available" row (dashed, not selectable) recovery sheet → explicit pick
    2 none radios, host default marked default host default, else first registered with disclosure (as today)
    2 usable id radios, saved checked default saved
    2 unusable id radios + dashed unavailable row recovery sheet → explicit pick
    legacy client, any — — conversationProfile = effective; no new frames read

    "Usable" = registered at boot. This design doesn't add runtime credential probing (no paid/key calls); a provider whose key later fails surfaces through the existing provider_error close, unchanged.

    4. Save / cancel / concurrency / active conversation

    • Radio selection saves immediately (same as Models default); no Save button, nothing to cancel. Pending: radio shows checked + inline "Saving…"; failure reverts the radio and shows the inline error (A3) with Try again. Keyboard: arrow keys move within the radiogroup and select (standard radio semantics); 52px rows.
    • Opening/saving Settings never opens a provider, captures audio or reads chat history.
    • Active conversation: saving never retargets. Settings shows an info banner naming the running service/persona, and marks that row in use now separately from default · saved (A2). To switch: the user Leaves and starts again → the Start sheet discloses the new destination → explicit Start. No extra "restart" button is proposed (avoids a one-tap destination change). Automatic recovery/reconnect of the running conversation keeps its entry's provider (already pinned by disclosureKey), so a default change mid-conversation cannot leak into a reconnect epoch.

    5. Activation / consent sequence

    Settings save ─► KV write ─► hello fields updated (no provider I/O)
    Enter voice ─► Start sheet: effective service + persona + voice + what is sent
                └► Change (≥2 usable) ─► per-conversation choice, not saved
    Start ─► conversation_start{ disclosed(profile for chosen id), providerId, personaRef }
    host ─► exact echo check (provider + persona revision, #3617) ─► open chosen adapter
    

    Any mismatch (default changed on another device between sheet and Start, provider removed) → existing "The voice disclosure changed. Review it and select Start. Microphone off." path.

    6. Persona coupling (#3617) without a circular dependency

    Voices are per-service in each persona, so the service default never edits a persona. Validation is joint only at Start: (effective service, selected persona) → voice for that service is valid / missing (→ service default voice, disclosed) / stale (→ B4 recovery). #3616 ships first with the Persona group absent; #3617 adds it to the same pane and adds personaRef to Start. Neither change requires the other's schema.

    Implementation slices

    1. SDK/server: multi-registration + defaultConversationProviderId, hello fields, providerId on start, settings route + KV key; keyless tests with two adapter doubles asserting which double's open is called, legacy single-option byte-identical hello conversationProfile.
    2. UI: Voice pane (service group) at 320/≥900, Start sheet service row + Change, recovery sheet.
    3. Proof: failing-first — save GPT default → Start opens GPT double; remove GPT registration → no open on either double until explicit pick; save during active conversation → no conversation_stop/start sent, reconnect reopens original provider; no audio/history frames precede Start after a destination change. Browser: Settings at 320 and 1280, reload persistence, Start flow for both ids. CONTRACT: additive minor; update docs/integration-contract.md (wire hello + start, HTTP settings route, package API registration options).

    Open decisions

    • L1 Per-conversation Change on the Start sheet: in scope (recommended — it's the "explicit session selection" in precedence) or defer and require a Settings change to switch?
    • L2 Saved default unusable: recovery sheet requiring an explicit pick (recommended) vs. auto-using the host default with a disclosed notice.
    • L3 Pane name "Voice" (would later also be the natural home for dictation preferences) vs. "Live conversation".

    Design source: Voice Settings 3616 3617.dc.html (project mockups).

  4. added
    needs: decision
    needs: design
    and removed
    needs: design
    on Nov 6, 2026
  5. schlessera commented on Nov 8, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-11-08):

    • L1: Include the one-time Change control on the Start screen; it does not change the saved default.
    • L2: An unavailable saved provider requires an explicit provider pick; no automatic host-default substitution.
    • L3: Call the shared Settings pane Voice.

    The proposed brain-wide default applies at the next explicit Start. Saving never retargets an active conversation; reconnect preserves its original destination. Show the actual provider before Start, with no audio/history transfer merely from opening or saving Settings.

    The body now selects these branches and updates acceptance criteria. Remove needs: decision; keep the existing needs: design until the brief's schema/authorization/registration and compatibility table are reconciled and reviewed. In particular, the proposed owner-only guard is a requirement to implement, not a claim about the current Models route; the precedence list must agree with the multiple-provider table. The existing design prompt and mocks remain the starting point. No agent-ready label is added while design remains.

  6. removed
    needs: decision
    on Nov 8, 2026
  7. 5 remaining items

  8. schlessera commented on Nov 8, 2026

    @schlessera
    OwnerAuthor

    Design sign-off: Live service group in the delivered Voice pane

    3616-3617-voice-pane.png

    The reconciliation folded into the body is design signed off. The UI is the same under either answer to R1: R1 only changes what a legacy client shows, so it stays with the maintainer (needs: decision kept).

    Fit to #3709's VoiceTab

    • Group order: Dictation (existing, untouched), then Live service (this issue), then Persona (ui-react: configure and select live-conversation personas through Settings #3617). These are independent siblings in the existing flex-col gap-6 stack.
    • Independent state: each group owns its route, revision, saving state and errors. A 409 LIVE_SETTINGS_CHANGED reloads only the Live service group, with the inline line "Changed on another device. Showing the latest." Dictation's state and revision are never read or written.
    • Shared header change, the only one: the ScreenHeader subtitle becomes "dictation and live conversation · where your spoken words go".
    • Live service group:
      • It has a mono group label and radio rows (52 px, with the full row as the target). Each row's secondary mono line reads "saved default", "host default" or "saved default · not available" (dashed row).
      • Below the rows is the line "Used from the next Start. A running conversation keeps its service."
      • With 0 services: "Live conversation isn't set up on this host."
      • With 1 service: one non-interactive row, "The only live service on this host".
    • Desktop: the same groups, with the label in a 140 px left column and the radios side by side when there are exactly 2 services.
    • Accessibility: the radios form a radiogroup named "Live service". The not-available row is announced as "GPT-Live, saved default, not available" and cannot be chosen.
    • Opening or saving the pane does no provider I/O, no mic access and no history read. It sends no audio.

    ui-kit slice (unchanged list, one addition)

    Live service group stories: zero / one / several / saved-unavailable / 409 inline / saving. Added: the full pane with Dictation and Persona groups present, proving the groups don't interact at 320 and desktop, in light and dark.

    needs: design removed. needs: decision stays for R1 only.

  9. added
    agent-ready
    and removed
    needs: design
    needs: decision
    on Nov 8, 2026
  10. schlessera commented on Nov 8, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-11-08):

    • R1: a legacy client on a multi-provider host with no effective service sees live conversation as unavailable. conversationProfile stays absent until a saved or host default exists. There is no deterministic legacy fallback, consistent with L2.
    • Design sign-off: the reconciled design in the body (§1 precedence, §2 registration/discovery, §3 storage and the new owner-only write guard, §4 compatibility table, §5 activation, §6 ui-react: configure and select live-conversation personas through Settings #3617 coordination, §7 Storybook-first slices) is approved as the implementation specification. needs: design is removed. Implementation follows the §7 slice order: the ui-kit Live service group first, then SDK/server, then integration.
  11. self-assigned this
    on Nov 10, 2026
  12. schlessera commented on Nov 10, 2026

    @schlessera
    OwnerAuthor

    Claimed (token claim-3616-48c82ff3). Branch feat/3616-live-provider-default from main 96ba8a7c8. Collision report: path overlaps on conversation-client.ts with draft evaluation PRs #3056/#3059 only; #3617 (persona) is being worked in parallel and shares the Voice pane and settings route, so whichever lands second merges main and adapts.

  13. added this to the 0.45.0 milestone on Nov 10, 2026
  14. schlessera commented on Nov 11, 2026

    @schlessera
    OwnerAuthor

    Delivered by #3956, squash-merged as be9f6f4c0 (on main; issue and PR on 0.45.0). Hosted candidate proof run 42957480023 passed on head e928c04f0, and main CI for be9f6f4c0 was still running at merge.

    #3617 landed first (#3955), so the live-service default shares its GET/PUT /api/settings/voice route, as design §6 intended:

    • Top-level defaultProvider and revision sit beside persona, and each group has its own revision.
    • Writes on the route go through the owner-only guard isLiveSettingsWriter.

    The Start card (#3698) still owns the Service row, Change and the S3d visuals. Until it lands, the disclosure sheet carries a minimal stand-in pick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agent-readyarea: ui-reactarea: ui-sdkarea: ui-servercontractpriority: p2type: feat

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions