Repository navigation
fix(conversations): preserve recorded silence and canonical transcript windows - #25540
Merged
Merged
Conversation
Prevent model resume across recorded quiet, contain speaker selection to the canonical window, and preserve explicit close wakeups after a live task ran in the same minute. Failure-Class: new
Treat overlap as zero silence when checking explicit resume evidence. Retain the hard quiet boundary, manual-end fence, and two-hour cap. Failure-Class: FC-textual-merge-without-chronological-precondition
Failure-Class: FC-textual-merge-without-chronological-precondition
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.
A five-minute recorded-speech gap now remains a hard conversation boundary even when the outline asks to resume the previous topic. Continuous speech spread across short capture/reconnect pieces stays one canonical conversation. Speaker selection is limited to the opened v3 window, and an explicit Stop cannot be swallowed by a completed live task with the same owner-minute name.
Failure-Class: FC-textual-merge-without-chronological-precondition
Verification
Authoritative backend
test.sh: 223 passed across engine, contract, review and recording-speaker suites.Exactly two hours across 120 capture pieces remains one window under reordered/reconnect input; a prior family conversation across a 15-minute gap stays separate.
Read-only replay of the reported production timestamps verifies the gap fence with adversarial resume output. This replay uses deterministic outline output, not a live model or acoustic-silence proof.
iPhone 17 Pro / iOS 26.4 simulator replay: three Home → normal detail → Summary/Transcript → Select → Export → Back cycles passed with synthetic speech at the recorded timestamps; zero episode/feed calls. Final readable captures and a 51.7-second native recording were inspected. Native sharing is intercepted; physical hardware and live processing latency are unverified.
Overlapping turns cannot evade the two-hour cap by hiding a later end behind a shorter last line; both ordinary and resumed-outline regressions failed before and passed after the fix.
76 existing mobile regressions passed, covering v3 wire/provider/Home routing, audio playback, transcript export and playback synchronization.
Scope and release
Uses the existing v3 pipeline from #25500. Five-minute automatic closure and the two-hour cap are unchanged. This change does not claim automatic notes finish in 30 seconds; quiet-triggered early notes are separate work. No flags, rollout, backfill or production history changed. The production conversations-v3 queue and rollout qualification remain prerequisites.
Product invariants affected
none