Skip to content

ui-react: wire spoken-turn marks into chat — inline mic/speaker, uncertain and unplayed text, end divider #3700

Closed

Description

@schlessera

Context

Part of #3690. Prerequisite: #3692, which supplies the spoken-turn mark components and chat stories, signed off. This issue is integration only. Recognized speech with provenance (#3050) and durable observed dialogue (#3177) already exist; this issue maps their provenance onto the new marks and replaces any "?" glyphs and diagnostic lines.

Mapping

Provenance Mark
Spoken user turn inline amber mic
Spoken brain turn inline teal speaker
Typed turn no mark
User turn still being recognized outline and cursor
Low confidence or alternatives dotted underline on the word
Unplayed reply tail dimmed, only when the playback position is known
Barge-in "cut off" tag
Live conversation ended divider with duration and persona

Details (confidence, generated vs. heard, timing) open from a long-press or the context menu.

Acceptance criteria

Contract impact

None.

Blocked by #3692

2026-11-08: the prerequisite is now declared as a canonical dependency line.

Blocked by #3728

2026-11-08: #3731 delivers the marks the recorded evidence supports: the inline mic and speaker, the in-progress outline, uncertain words from a retained calibrated confidence, the end divider with its locally observed duration (live only, as "Voice ended" was), and plain legacy turns, with live, settled and reloaded browser tests. Two parts remain and are now declared dependencies. Opening details from a long-press or the context menu, and removing the "?" glyph trigger, need a kit opener with a keyboard path (#3728, needs: design). The cut-off tag and a divider that survives a reload need durable barge-in and conversation-end evidence (#3729, needs: decision). Unplayed dimming stays off: no text position is known.

2026-11-09: #3729 delivered in #3740 (b1843c506); its blocker line is removed. Still blocked by #3728.

Activity

  1. added
    type: feat
    area: ui-react
    priority: p2
    on Nov 8, 2026
  2. changed the title [-]ui-react: spoken turns in chat — inline mic/speaker marks, uncertain and unplayed text, end divider[/-] [+]ui-react: wire spoken-turn marks into chat — inline mic/speaker, uncertain and unplayed text, end divider[/+] on Nov 8, 2026
  3. added
    blocked
    agent-ready
    on Nov 8, 2026
  4. schlessera commented on Nov 8, 2026

    @schlessera
    OwnerAuthor

    Unblocked: #3692 is closed, so scripts/sync-project.ts is removing the blocked label.

  5. removed
    blocked
    on Nov 8, 2026
  6. self-assigned this
    on Nov 8, 2026
  7. schlessera commented on Nov 8, 2026

    @schlessera
    OwnerAuthor

    Claiming this issue (claim token w3700-c8f1). Intended branch: feat/3700-spoken-turn-marks.

    Collision report: path overlap with #3662 on packages/ui-react/src/components/chat/chat-page.tsx and message-bubble.tsx; closure-only overlaps with other open PRs. The diff stays limited to transcript rendering. The composer and dictation (#3693/#3694) and the live overlay in conversation-strip.tsx (#3699) are left to their own issues.

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

    @schlessera
    OwnerAuthor

    Outcome (claim w3700-c8f1): #3731 merged as 4c62d4dbf (a Refs slice; candidate proof run 42513938324 passed at head 6d8c09d81 over base 5de219acf).

    Delivered, using the #3692 components unchanged:

    • Recognized speech is your SpokenTurn (amber mic). A voice reply is brain's (teal speaker). Dictated and reviewed voice messages carry the mic inline. Typed and legacy turns stay plain.
    • The in-progress outline and cursor show only while live recognition is updating, never for restored text.
    • UncertainWord marks a fragment only when its retained calibrated confidence is below the client's 0.9 review threshold, so live and reloaded chats mark the same words.
    • No unplayed dimming: playback evidence does not align text to audio.
    • The end divider shows Live · m:ss for a live conversation, in place of "Voice ended".
    • The "Recognized speech" and "Voice reply" headers and the visible "Original discussion position unknown" line are removed. That evidence stays in the details.
    • The app browser test spoken-turn-marks.offline.tsx covers live, settled and reloaded chats. Mutation receipts are in the PR.

    Still open here, as declared dependencies:

    To resume: once #3728 ships its kit opener, swap the TranscriptQualifiers trigger in packages/ui-react/src/components/voice/conversation-outputs.tsx for it. Once #3729 is ruled and delivered, pass cutOff from the retained barge-in evidence and build the divider from the retained end record. The claim is released.

  11. removed their assignment
    on Nov 8, 2026
  12. schlessera commented on Nov 9, 2026

    @schlessera
    OwnerAuthor

    The kit side of the glyph-free details landed in #3743 (ab48787, closes #3728). Pass the turn's existing qualifier props as <SpokenTurn details={…}>, which renders the reveal trigger and wires long-press and the context menu. The glyph trigger under each spoken turn can then be removed.

  13. removed
    blocked
    on Nov 9, 2026
  14. schlessera commented on Nov 9, 2026

    @schlessera
    OwnerAuthor

    Unblocked: every declared blocker is closed. #3692 and #3728 are merged (#3743, ab48787), and #3729 is merged (#3740). What remains: pass details to SpokenTurn and remove the glyph trigger under spoken turns. The cut-off tag and the end divider already render from retained evidence (#3740).

  15. self-assigned this
    on Nov 9, 2026
  16. schlessera commented on Nov 9, 2026

    @schlessera
    OwnerAuthor

    Claiming this issue (claim token w3700-d7a2) for the final slice: pass each spoken turn's qualifier props as SpokenTurn details and remove the glyph trigger. Branch: feat/3700-spoken-turn-details.

  17. schlessera commented on Nov 9, 2026

    @schlessera
    OwnerAuthor

    Outcome (claim w3700-d7a2): #3808 merged as 2defe5a9d. Candidate proof run 42708312089 passed at head 88bdbea07 over base 3624e5cb1. The squash has that base as its parent and the proven candidate tree. This was the final slice, so #3700 is complete.

    Main's post-merge CI was still running when this was posted.

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