Skip to content

ui-react: wire the Start card (S1–S5) — service, persona and recovery #3698

Closed

Description

@schlessera

Context

Part of #3690. Prerequisite: #3692, which supplies the StartCard with all its variants and the S-stories, signed off. This issue is integration only: it feeds the real discovery, persona and disclosure data into the card. The card replaces the current disclosure sheet and presents the Start-time rulings on #3616 (L1/L2) and #3617 (P2/P3).

Start states S1–S5

Data mapping

  • Disclosure line and "What's shared": the current disclosure content. The card shows at least what today's sheet shows.
  • Service row: the effective service from ui-react: configure the default live-conversation provider through Settings #3616. Change appears only when more than one service is usable. Change applies to this conversation only and never writes the saved default.
  • Persona list: from ui-react: configure and select live-conversation personas through Settings #3617. The last pick is preselected; picking a persona on the card also saves it as the default (V2).
  • Variants:
    • S3: a persona with no voice for this service; the default voice is used and named.
    • S3b: a saved voice that is invalid or stale; recovery is required.
    • S3c: persona instructions over the service's byte cap; Start is blocked.
    • S3d: the saved service is unavailable; an explicit pick is required.
    • S4: live conversation not set up.
    • S5: connecting.

Acceptance criteria

  • Uses the ui-kit: voice components and stories for every dictation, Start and live state #3692 StartCard unchanged. No new visual design here.
  • The disclosed service, persona and voice exactly match what conversation_start echoes. The existing exact-echo refusal renders as a VoiceNotice.
  • No microphone audio, history read or provider startup before Start, including after a Change or a persona switch in the card.
  • S3, S3b, S3c and S3d are each reachable with local adapter doubles, and none silently substitutes a service or voice.
  • App browser tests at 320px and desktop. The card fits 320×640 with three personas and the Service row.

Decisions (maintainer, 2026-11-08)

Contract impact

UI only. Consumes the fields delivered by #3616 and #3617.

Blocked by #3692, #3616, #3617

2026-11-08: open decisions replaced by the maintainer's rulings; the prerequisites (#3692 for the StartCard; #3616 and #3617 for the service and persona data) are now declared as a canonical dependency line.

Activity

  1. added
    type: feat
    area: ui-react
    priority: p2
    needs: decision
    on Nov 8, 2026
  2. changed the title [-]ui-react: Start card in the voice field — service, persona and recovery (S1–S5)[/-] [+]ui-react: wire the Start card (S1–S5) — service, persona and recovery[/+] on Nov 8, 2026
  3. added
    blocked
    agent-ready
    and removed
    needs: decision
    on Nov 8, 2026
  4. schlessera commented on Nov 8, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-11-08): see the rulings on #3690; this issue's body now states the chosen branch. needs: decision removed. Blocked by #3692 (and, for #3698, by #3616/#3617) until its signed-off components exist.

  5. self-assigned this
    on Nov 11, 2026
  6. schlessera commented on Nov 11, 2026

    @schlessera
    OwnerAuthor

    Claiming (token wsc-3698-0b7e). Branch feat/3698-wire-start-card. #3617 is on main; building against main plus #3956's settled API and merging main once #3956 lands.

  7. removed
    blocked
    on Nov 11, 2026
  8. schlessera commented on Nov 11, 2026

    @schlessera
    OwnerAuthor

    All of #3692, #3616 and #3617 are closed, so I removed blocked.

    What #3616 provides for the Start card

    • Service state: liveServiceView(root.connection.conversation.state.getState()) in packages/ui-react/src/voice/live-service.ts returns:

      • services: the usable profiles;
      • selected: the profile Start would disclose and open, or null;
      • source: change, saved, host, only, none or legacy;
      • savedUnavailable: the saved id for S3d, when it is no longer registered;
      • pickRequired;
      • canChange: whether to show Change (L1);
      • liveDefault.

      Export its LiveServiceView type when the card imports it; the unused-exports gate kept it unexported.

    • Per-Start override: conversation.chooseService(id | null). It applies to this entry only, is never saved and is ignored after Start; null returns to the effective service. state.conversationProfile always follows the pick.

    • Start: conversation.start() sends providerId itself, and the host refuses a mismatch with CONVERSATION_DISCLOSURE.

    • Live updates: a running entry is pinned to the service it started with. A save on another device arrives as live_settings and updates the next Start only.

    • To replace: the stand-in [data-live-service-pick] fieldset in conversation-field.tsx goes away when the Start card takes over.

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

    @schlessera
    OwnerAuthor

    Delivered by #3970, squash 4a8c43f3 on main. Main CI passed on that commit. Milestone 0.45.0.

    • Card. Live conversation opens on the kit StartCard in place of the disclosure sheet. "What's shared" lists everything the sheet showed.
    • Service row. Change appears only with two or more usable services. It applies to this conversation only and is never saved. When the saved service is unavailable (S3d), an explicit Choose is required and nothing is substituted.
    • Personas. A persona picked on the card is also saved as the default (V2).
    • Recovery states. S3, S3b and S3c are drawn as the card's notice, and so is an unusable persona file. The one-time "Use the default voice this time" and "Use Standard this time" go into personaRef.
    • Proof. packages/ui-react/tests/start-card-runtime.test.ts runs in real Chrome at 320×640 and 1280×860. Mutation receipts for the no-capture-before-Start gate, Change-not-saved and the V2 save are in the PR.

    For #3701:

    • The card takes focus on its Start button when it opens.
    • Escape inside the card leaves.
    • A coverage notice's Details (client.details()) also opens the card mid-conversation.
    • Changes to the card's notice are not announced yet.
    • Focus moving to Mute on the first mic-on is unchanged.
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-reactpriority: p2type: feat

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions