Repository navigation
feat(app): ending a conversation shows it processing and starts a fresh session - #23371
Merged
Merged
Conversation
…sh session Wrap up, a pendant double-tap and Finish now share one finalize hook. Home shows the ended conversation as a Processing row under the live row again (the row went away with #23044). The live episode closes at once and a fresh one counts from 0. An ended episode is never adopted again while the server still reports it live. Wrap up never pauses the pendant any more. A paused session reads "Paused" with no running clock, and its page leads with one-tap Resume. A second double-tap within 3 s is ignored, and a double-tap gives a light haptic. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Keeps capture_controller.dart within six lines of its size limit. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Home showed the legacy speaker tag card as Review's stand-in while availability was unknown, so it flashed at every launch before the questions card replaced it. The stand-in now shows only when Review is known off. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… questions UI Review is on in every prod deploy and every app is eligible, so the speaker tag card only appeared as Review's loading stand-in and flashed at launch. Removes the card, its test, its visual-audit scenarios and its integration capture. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Ending a conversation now looks like it did something, and the next one starts cleanly (David, 2026-10-23). This covers Wrap up, a pendant double-tap and Finish.
processingConversations.CaptureExternalActions.onLiveFinalized, called fromforceProcessingCurrentConversation.EpisodeProvider.onLiveFinalizedcloses the live episode (POST /v1/episodes/{id}/wrap-upwith no conversation id closes it on the server at once), never adopts that episode again while the server still reports it live, and restartsLiveStartAnchorat the moment of the finalize. The label then never jumps back when the next episode opens at its first words.pauseCapture, because the capture's segments were already empty. With nothing new it now just closes the episode and restarts the clock.REVIEW_SURFACE_MODE=on) and every app is eligible, so the older card (with its play button) only ever appeared as Review's stand-in while availability loaded, which made it flash at every launch. Deleted:speaker_tag_prompt_card.dart(752 lines), its test, its two visual-audit scenarios, and the integration capture built around it.ReviewEntryCarddraws nothing until Review is known on. Dead-code ratchet passes. Test:test/pages/review/review_widgets_test.dart.The backend change that makes the server close the episode immediately on every finalize path is in a separate backend PR. This app change is correct without it.
Builds on #23366 (merged).
Screens
Rendered from the real widgets (iOS platform, SF Pro).
Tests
test/unit/live_start_anchor_test.dart: the restart counts from the finalize and never jumps back; an ended episode is never re-adopted; ending with nothing live still restarts.test/widgets/episodes_ui_test.dart: Wrap up with nothing new never pauses; while paused Resume leads and resumes.test/perf/home_after_detail_perf_test.dart: the processing row sits under the live row and leaves when the conversation is replaced.Line-Count-Exception: app/lib/services/capture/capture_controller.dart | 4501 -> 4507 | the finalize hook must fire where the processing placeholder is added; the debounce state lives in live_finalize_gate.dart
Product invariants affected
app/lib/main.dartonly addsEpisodeProviderto the capture provider's dependencies so the finalize hook can reach it. No endpoint, environment, Firebase project or data plane changes.app/lib/services/capture/**adds a hook call and a double-tap debounce next to the existing processing placeholder. No socket, subscription, WAL or audio path changes, and Wrap up now pauses the pendant less often (never), so no frame is dropped that was kept before.backend/utils/conversations/process_conversation.pyarrives through feat(app): quiet live row on Home; background conversations move to the daily recap #23366, stacked under this branch. It changes Home salience (a presentation field) only, with no memory intake or task writes. This branch adds no backend change.Failure-Class: FC-generated-presentation-contract-bypass
(From #23366's salience fix, stacked under this branch.)
Risk
Client-only. Rollback is a revert. No data changes.
🤖 Generated with Claude Code