Skip to content

fix(conversations-v3): keep a stretch open for the capture after a reconnect - #26749

Merged
kodjima33 merged 5 commits into
mainfrom
t3/v3-conversation-reconnect-continuity
Nov 30, 2026
Merged

kodjima33 merged 5 commits into
mainfrom
t3/v3-conversation-reconnect-continuity

Conversation

@kodjima33

@kodjima33 kodjima33 commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

What changed and why

A socket reconnect mid-speech seals the current batch recording and opens the next one on the same device at
once. The next recording has no transcript until it seals, so the v3 builder read it as silence: the first card
locked at the five-minute rule, and the rest of the conversation became a second card when it landed.
CONVERSATIONS_V3_CAPTURE_CONTINUITY (on by default) did not cover this. load() kept a stretch open only for a
following recording that was already v3_pending. _mark_successor_pending held one only behind a
rotation-stamped seal, which is off in prod, and only when that source spoke last.

Synthetic shape of the incident: recording A runs 0:00 to 2:56, the socket drops, and A seals at 3:00 as B opens
on the same phone. B captures ten more minutes of the same talk and lands 11 minutes after A ended. On main,
A's card locks and gets notes about five minutes after A landed, and B becomes card 2.

The fix, under CONVERSATIONS_V3_CAPTURE_CONTINUITY:

  • Which sources. Any loaded recording whose latest server seal came within 90 s of its last line
    (policy.LIVE_SEAL_GAP, either way within 10 s, policy.CAPTURE_SKEW).
    • The seal clock is record_sealed_at, else home_transcription_pending_at. It is never finished_at, which is
      the last archived audio frame.
    • A quiet seal comes at least 120 s after the last speech, so it never qualifies and reads nothing.
    • A source the user ended with Finish does not qualify.
  • Which successor (database/conversations_v3.py _mark_successor_pending): the next batch_live_v1 capture
    from the same client_device_id that opens within 90 s of that line.
    • Each such seal gets its own started_at window query anchored at its last line, most recent seal first, read
      in pages of 16 (SUCCESSOR_PAGE).
    • All the lookups of one pass read at most 64 documents (SUCCESSOR_READS; an empty query counts as one).
    • The first successor the user ended (a requested or applied Finish) fences off every later capture, even
      once it is discarded with its Finish kept. Any other discarded successor never holds.
  • Rotation is main's, under either setting. Its lookup and hold are main's code: a successor still capturing
    within the cap, or processing within 15 min of finished_at, marks a page continuation
    (policy.awaiting_transcript, unchanged). The clocks and proof below apply only to the reconnect lookup, after
    the continuity flag and the device and lane match.
  • Which stretch. A held source carries outline.SUCCESSOR_HOLD. The last stretch holding it stays open
    whichever device spoke last. Earlier stretches settle.
  • How long (policy.successor_hold_until, absolute deadlines on server stamps that do not move):
    • While capturing: up to 15 min after created_at.
    • After a first close inside that window: up to 15 min after it, never past both windows. The first close is the
      earliest of record_admitted_at, home_transcription_pending_at and record_sealed_at.
    • A close after the window starts no wait. An expired hold stays expired through a late close, a reseal or a
      retry.
    • A Finish bounds every wait to 5 min (FINISH_WAIT) after its trusted request time, v3_finish_requested.at.
      Without that stamp, the bound runs from the first close.
    • Failure receipts are checked before status. Stamps more than 10 s in the future never hold.
  • When it has landed (_capture_landed):
    • Proven silence: empty_transcription.terminal, whose empty spans cover the closed audio.
    • The durable proof that every unit of the latest seal landed: capture_end.units_landed. Batch projection now
      writes record_units_landed_seal_at (the seal the job covered) in the transaction that commits the
      authoritative sibling completion (database/batch_pipeline_projection.py), last in that transaction and only
      while the row still carries that seal.
    • For seals completed before that proof existed: the capture ledger's best-effort transcribed transition after
      the latest seal (capture_end.seal_proof). It is one read with a 3 s timeout and no retry, memoized per
      successor per pass.
    • A first projected unit proves nothing, silent or not, nor does a unit held for recovery (units_held).

Round 5: the two review items on 17a21f9e3d

  1. Rotation is exactly main's. The rotation scan no longer calls policy.successor_hold_until; its loop is
    main's, line for line, except that it stops at the silence gap with break so the reconnect lookup still runs.
    • The review's case now settles: A rotated at 300 s, B opened then on another device and closed at 400 s into the
      server-batch handoff (completed, home_transcription_pending_at, no speech yet). At 621 s A's card locks
      with its notes queued, with capture continuity on or off, as on main.
    • The round-3 rotation case still holds: B queued with finished_at 610 s and no close stamp keeps A open at
      620 s, and B joins it at 650 s.
  2. Line-count exception matches the file. backend/database/conversations_v3.py is 2,678 lines (2,511 on
    main), and the exception below says so. Validated with this body by make preflight.

Round 4: the two review items on d5c20e5eb9

  1. main's rotation wait is back. Rotation successors no longer go through the reconnect policy first.
    • policy.awaiting_transcript (main's rule) decides and marks _v3_page_continues, as on main. Where it let
      go, the reconnect wait still ran; Round 5 removes that.
    • The review's case now holds: A rotated at 300 s, B still in finalization with finished_at 610 s and no close
      stamp, capture continuity off. At 620 s A stays open, and B joins it at 650 s.
    • The rotation tests in test_conversations_v3_review.py are main's again, unchanged.
  2. A discarded successor's stored Finish still fences. After the device and lane match, a discarded successor
    carrying its Finish ends the scan without holding A.
    • The review's case now settles: B's Finish at 228 s, C opened at 229 s, then B discarded with the Finish kept.
      A is not held at 529 s or 598 s.
    • An ordinary discard only releases B.

Round 3: the three review items on 5a03416141

  1. Finish is bounded by its original request.
    • v3_finish_requested.at is projected and drives the 5 min bound.
    • The ordinary wait runs from a stable first close, so a moved seal cannot extend it.
    • The latest seal generation is used only for the landed proof.
    • The immediate successor's Finish fences off later captures.
    • The review's cases: a Finish at 300 s with the close at 460 s releases by 601 s; a seal moved to 597 s still
      releases by 670 s; with B finished at 228 s and C opened at 229 s, A is not held at 529 s.
  2. Unrelated rows cannot exhaust the lookup.
    • Each live seal has its own window query, most recent first. The rotation query is unchanged from main.
    • Pages continue past cards and other devices' rows, and total reads stay at most 64 per pass.
    • The query-shape driver observes both shapes. Both are single-field started_at ranges, so no index is needed.
  3. Durable whole-capture completion, bounded lookups.
    • Projection persists the seal it proves with the sibling completion.
    • With no proof, an absent ledger no longer counts as complete, and units_held no longer releases.
    • A stale ledger after all speech landed releases promptly on the proof.
    • The ledger fallback is memoized per successor per pass with a 3 s timeout: twelve matching sources read it
      once.

Expected latency cost

  • Quiet seals (how a conversation normally ends): no change, and no extra read.
  • Reconnect mid-speech, then the talk goes on: one card. It locks on the normal lock delay after the rest of
    the capture lands.
  • Reconnect mid-speech, then silence: the card can arrive up to about 10 min later than today. A batch row the
    socket created that has heard no speech stays open while the socket streams
    (utils/stt/speech_clock.quiet_since, FC-transport-liveness-read-as-speech-activity).
  • Worst case, about 30 min after the reconnect: the capture runs almost 15 min, closes, and its transcript
    never lands.
  • A capture running past 15 min after a reconnect: still splits, up to 10 min later than today. Listen
    resuming the same recording on reconnect would remove that case.
  • The user ends B: the hold lasts at most 5 min after the Finish request, however late the close.
  • A successor with no proof (its projection completed before this deploy, and no ledger transcribed): it waits
    out its bound, 15 min after its first close.
  • Reads while held: the existing follow-up wake runs a pass about once a minute. Each pass reads the successor
    windows, at most 64 metadata documents (usually one or two), plus, without the durable proof, one ledger
    document per partly projected successor.
  • Rollout order: the proof writer runs wherever batch projection completes; the hold runs on backend-sync.
    Until the writer is live, holds release on the ledger's transcribed or wait out their bound.

Product invariants affected

none

How it was verified

  • Replays fail on the old code. The multi-pass replays use the real loader on a query-capable copy of the strict
    Firestore rows, with the real service.reconcile and commit_projection.
    • On round 4's loader (17a21f9e3d), the round-5 regression fails with capture continuity on and off, as the
      review found. On main's loader it passes with both. The round-3 rotation cases pass on all three.
    • On round 3's product files (d5c20e5eb9), the round-4 regressions fail as the review found: the rotation
      successor still in finalization past the cap (loader case and continuity-off replay), and the discarded B whose
      Finish must fence C. The ordinary-discard control passes on both.
    • On round 2's files (5a03416141), the round-3 replays fail: a silent first unit with no ledger, a stale ledger
      with all speech landed, and a Finish with the close 160 s after the request.
    • On this head everything passes.
  • Mutation checks. Without its device match, the reconnect lookup fails the round-5 regression with continuity
    on. Each round-4 rule was removed in turn, and each removal failed its own test:
    • a discard dropping its Finish fence;
    • a discard able to hold;
    • no main rotation rule;
    • the rotation flag made group-wide.
  • Round 3 rule checks, still caught:
    • no Finish fence;
    • a single page;
    • no landed memo;
    • ignoring the durable proof;
    • round 2's ledger rule;
    • the writer stamping no proof;
    • the writer ignoring the seal generation;
    • the latest seal as the wait anchor;
    • Finish timed from the close;
    • accepting a future Finish;
    • oldest cut first.
  • Pipeline lab. All 17 committed scenarios, --jobs 4 --repeat 2 --stt replay: every check passed in both runs
    (552.8 s on a loaded host).
    • Three scenarios were flagged nondeterministic only by one account_deletions read between repeats, the
      account-deletion check's wall-clock cache. Rerun alone, all three passed deterministically with the same counts.
    • Round 3's traced run refreshed reach.json, which lists utils/sync/capture_end.py for the four reconnect
      scenarios. Rounds 4 and 5 add no file to any scenario's reach, so it stands.
    • reconnect_successor_lands_late passes 9/9 within budget, at 367 reads.
    • Other scenarios' counts are unchanged.
    • The lab's transcript stand-in now stamps the completion proof, as production's sibling completion does.
  • Unit suites. 158 suites ran under the CI per-test budget (BACKEND_UNIT_TEST_FILE_LIST=... bash test.sh): all
    test_conversations_v3*, test_pipeline_lab*, test_batch_pipeline_projection*, capture-end, record-seal and
    server-batch-completion files. All 158 files passed: 5,042 tests, none failed.
  • Firestore index guard set (7 files, 928 passed, including 644 query-shape tests): the
    _mark_successor_pending driver runs a rotation source and a live-cut source, and records both shapes:
    started_at > with limit 8, and the started_at window with limit 16. Both are single-field ranges, so no
    composite index is needed.
  • Type check: scripts/typecheck.sh reports 0 errors.
  • Preflight: make preflight with this body passed 40 of 41 checks, including the line-count exceptions,
    the failure class, the index guard and the lifecycle write guard. The one failure is feature-flag-registry
    at today's date: 82 flag reviews due 2026-11-22 are past their grace, repo-wide, and this PR changes no flag.
    scripts/check_feature_flag_registry.py --as-of 2026-11-29 passes.
  • Not yet seen in production. This is not deployed, and no real reconnect on a deployed backend has run through
    it. The hold runs on backend-sync; the proof writer runs wherever batch projection completes.

Tests

backend/tests/unit/test_conversations_v3_successor_hold.py (71 cases):

  • Round 5: rotation lets a closed capture from another device go as main does: a multi-pass replay of the
    review's case, with capture continuity on and off.

  • Round 4:

    • Rotation keeps main's wait for a same-device batch successor still in finalization past the cap, as a loader
      case and a continuity-off multi-pass replay.
    • A discarded successor keeps the fence of its stored Finish; an ordinary discard only releases it.
  • Loader matrix:

    • Capture window, and first-close waits and bounds.
    • A reseal after the first close.
    • The Finish request bound: request at 300 s with the close at 460 s, a seal moved to 597 s, a Finish while
      capturing, and a future Finish.
    • Proof present with a stale ledger, proof of an older seal, and units held for recovery.
    • One unit projected; no proof and no ledger; transcribed; transcribed before a reseal.
    • Complete silence, and silence on the first unit only.
    • Failure receipts, and future stamps.
    • Device, lane, sync, deleted and discarded.
    • Window bounds.
  • A finished successor fences off a later capture (B finished at 228 s, C opened at 229 s, A free at 529 s).

  • Crowding: 24 other-device captures plus 16 cards are paged through in three pages; past 64 documents the lookup
    stops.

  • Lookup order: the newest cut is looked up before an older crowded one, and rotation keeps its own lookup
    beside a crowded earlier cut.

  • Twelve sources matching one successor: one ledger read, with the 3 s timeout; zero reads with the durable proof.

  • The real projection completion stamps the seal it proves after the last sibling, and writes nothing for a job
    admitted before a reseal.

  • Round 2 cases kept:

    • A late seal stays expired.
    • Quiet rollover and skew read nothing; continuity off reads nothing.
    • Interleaved device, and an earlier independent stretch.
    • 18 cards in the window.
    • Two reconnects in a row.
    • Finish and owner End still end the stretch.
  • Multi-pass replays:

    • The incident, with continuity on and off.
    • A silent first unit with the ledger absent, transcribed, or stale.
    • Another device speaking last.
    • A requested Finish, closed at once or 160 s late.

Each test runs at or under the 1.0 s CPU budget.

Elsewhere:

  • test_conversations_v3_review.py: back to main's rotation tests. MemoryQuery accepts read options (timeout,
    retry) and <.
  • test_batch_pipeline_projection.py: the completion helper takes an optional job.

UI evidence

UI-Evidence: none -- backend-only change

Failure class (fixes)

Failure-Class: FC-live-settlement-uses-capture-clock

Line-Count-Exception: backend/database/conversations_v3.py | 2511 -> 2678 | the successor hold extends the loader's existing check in place beside #26705's edits to the same file; splitting the store is out of scope for an incident fix
Line-Count-Exception: backend/database/batch_pipeline_projection.py | 1567 -> 1582 | the completion proof must commit in the sibling-completion transaction that already lives here

🤖 Generated with Claude Code

…connect

A socket reconnect mid-speech seals the current batch recording and opens
the next one on the same device at once. The next recording has no
transcript until it seals, so the builder read it as silence, locked the
first card at the five-minute rule, and the rest of the conversation
became a second card when it landed.

_mark_successor_pending held a stretch only behind a rotation-stamped seal
(rotation is off in prod). Under CONVERSATIONS_V3_CAPTURE_CONTINUITY it
now also holds when the seal came within 90 s of the last line (a quiet
seal comes at least 120 s after the last speech) and the next batch
capture from the same client_device_id opened within 90 s of that line
and is still in flight: capturing for at most 15 minutes after it opened,
or sealed without its projection receipt for at most 15 minutes. A batch
capture that closed before its transcript landed now counts as awaiting
for rotation successors too.

Quiet seals skip the successor read, so normal conversation ends keep
their latency and read cost.

Failure-Class: FC-live-settlement-uses-capture-clock
…s devices, bound by server stamps

Round 2 of the reconnect hold, from the independent review of dfc50c5:

- Every loaded recording whose server seal cut live speech is a predecessor,
  not only the latest one, and the hold keeps the last stretch holding it
  open whichever device spoke last (outline.SUCCESSOR_HOLD). The successor
  read covers a time window of at most 32 metadata documents, so cards and
  other devices' rows cannot hide it.
- policy.successor_hold_until uses absolute deadlines on server stamps: 15
  minutes from created_at while capturing, and a close inside that window
  waits 15 minutes (5 after a Finish on it), never past both. A late close,
  reseal or retry cannot restart an expired hold. Failure receipts come
  first; future stamps never hold.
- The seal clock is record_sealed_at, else home_transcription_pending_at,
  never finished_at, with two-sided skew; a quiet seal reads nothing.
- Release needs the whole capture: proven silence, or every unit of the
  latest seal projected (capture_end.seal_proof, one ledger read while
  partly projected). A first projected unit proves nothing.
- Adds the reconnect_successor_lands_late pipeline lab scenario and moves
  the tests to test_conversations_v3_successor_hold.py.

Failure-Class: FC-live-settlement-uses-capture-clock
… and a durable landed proof

Round 3 of the reconnect hold, from the independent review of 5a03416:

- A Finish bounds the hold to 5 minutes after its trusted request
  (v3_finish_requested.at); the ordinary wait runs from a stable first close
  (record_admitted_at, home_transcription_pending_at or record_sealed_at,
  whichever came first), so a moved seal cannot extend it. The first
  successor the user ended fences off every later capture.
- Each live seal gets its own started_at window lookup, most recent first,
  read in pages of 16 with at most 64 documents per pass; the rotation
  lookup is main's query again. Unrelated rows cannot hide a successor or
  starve another cut's lookup.
- Batch projection stamps record_units_landed_seal_at, the seal whose every
  unit landed, in the transaction that commits the sibling completion. The
  hold releases on that proof or on proven silence; the ledger's best-effort
  transcribed is only a fallback, read once per successor per pass with a
  3 s timeout. An absent ledger or a unit held for recovery no longer counts
  as complete.
- The pipeline lab's transcript stand-in stamps the same proof.

Failure-Class: FC-live-settlement-uses-capture-clock
…essor's Finish fence

Round 4 of the reconnect hold, from the independent review of d5c20e5:

- Rotation keeps main's lookup and hold: a successor still capturing within
  the cap, or processing within 15 minutes of finished_at, marks a page
  continuation exactly as main does (policy.awaiting_transcript is back).
  Only where main lets go does a successor that closed inside the cap window
  wait on trusted stamps. A same-device batch successor still in
  finalization past the cap, with no close stamp, holds again.
- On the reconnect path a discarded successor that kept its stored Finish
  still fences off later captures without holding the source; any other
  discarded successor never holds.

Failure-Class: FC-live-settlement-uses-capture-clock
Round 5 of the reconnect hold, from the independent review of 17a21f9:

- The rotation scan no longer calls policy.successor_hold_until. Its loop
  is main's, line for line, except that it stops at the silence gap with
  break so the reconnect lookup still runs. After a rotation, a capture
  from another device that closed into the server-batch handoff no longer
  holds the rotated stretch, with capture continuity on or off.
- The reconnect clocks, the durable proof and the Finish fence apply only
  on the reconnect lookup, after the continuity flag and the same-device
  live-batch match.

Failure-Class: FC-live-settlement-uses-capture-clock
@kodjima33
kodjima33 marked this pull request as ready for review November 30, 2026 03:46
@kodjima33
kodjima33 merged commit 05ad6e8 into main Nov 30, 2026
64 of 65 checks passed
@kodjima33
kodjima33 deleted the t3/v3-conversation-reconnect-continuity branch November 30, 2026 03:46
kodjima33 added a commit that referenced this pull request Nov 30, 2026
…onnect hold (#26762)

## What changed and why

Follow-up to #26749, from its round-5 review. Listen rotation seals a
recording at its cap, often mid-speech, and
opens the next one on the same device at once. Such a seal can fall
within 90 s of the last line, so `_live_cut`
counted it as a reconnect cut, and the reconnect hold took over wherever
`main`'s rotation check let the recording
go.

Synthetic case: A rotates at 300 s and B opens on the same device. B
enters the completed server-batch handoff at
400 s (`completed` with `home_transcription_pending_at`) before its
transcript lands. With capture continuity off,
and before #26749, A's card locks at 621 s with its notes queued. With
continuity on, the reconnect wait kept A open
until B's transcript landed, or until about 1,300 s.

The fix, in `backend/database/conversations_v3.py`:

- `_live_cut` rejects a recording with a valid rotation stamp.
Rotation's own hold (`policy.awaiting_transcript`)
  alone decides it, under either setting.
- The other recordings in the load are still checked for reconnect cuts.
- `_rotation_cap` is the one definition of a valid stamp (an `int` or
`float` with 0 < cap <= 3600). The rotation
check and `_live_cut` both use it, so the two paths cannot disagree
about which one owns a recording. The rotation
  check behaves as before.

## Expected latency cost

- **Rotation-sealed recordings:** as before #26749. Rotation is off by
default (`CONVERSATIONS_V3_RECORDING_ROTATION`).
- **Reconnect cuts:** unchanged.
- **Reads:** a rotation seal no longer opens a reconnect window query.
Nothing else changes.

## Product invariants affected

none

## How it was verified

- **The regression fails on current `main`.** On `main`'s loader
(`743bd94141`), the same-device replay with capture
continuity on fails as the review found, while the cross-device arms and
continuity off pass. The new loader test
fails there too: the rotation-sealed recording is held. On this head
every case passes.
- **Mutation check.** Returning early when the latest recording is
rotation-sealed, instead of rejecting it in
`_live_cut`, passes the replay but fails the loader test, because the
earlier reconnect cut loses its hold.
- **Pipeline lab.** All 17 committed scenarios, `--jobs 4 --repeat 2
--stt replay`, passed in both runs (89.6 s).
`reconnect_successor_lands_late` passes 9/9 at 367 reads, and every
scenario's checks and counts match the #26749
  head.
- **Unit suites.** 158 suites under the CI per-test budget
(`BACKEND_UNIT_TEST_FILE_LIST=... bash test.sh`): all
`test_conversations_v3*`, `test_pipeline_lab*`,
`test_batch_pipeline_projection*`, capture-end, record-seal and
server-batch-completion files. All 158 files passed: 5,113 tests, none
failed.
- **Firestore index guard set** (7 files): 928 passed, including 644
query-shape tests. Neither query shape changes.
- **Type check:** `scripts/typecheck.sh` reports 0 errors.
- **Preflight:** `make preflight` with this body passed 40 of 41 checks,
including the line-count exception, the
failure class and the index guard. The one failure is
`feature-flag-registry` at today's UTC date: 82 flag entries
due 2026-11-22 are past their grace, repo-wide, and this PR changes no
flag.
`scripts/check_feature_flag_registry.py --as-of 2026-11-29` passes, and
metadata-only preflight passes 4 of 4.
- **Not yet seen in production.** This is not deployed.

## Tests

`backend/tests/unit/test_conversations_v3_successor_hold.py` (74 cases,
3 new):

- `test_rotation_lets_a_closed_capture_go_as_main_does` now runs B on
the same phone as well as on another device,
each with capture continuity on and off. At 621 s A's card is locked
with its notes queued in all four.
- `test_a_rotation_seal_is_no_live_cut_while_other_cuts_still_hold`: a
rotation-sealed latest recording whose
successor closed into the handoff is not held, while an earlier
reconnect cut in the same load still holds on its
  capturing successor.

Each test runs at or under the 1.0 s CPU budget.

## UI evidence

UI-Evidence: none -- backend-only change

## Failure class (fixes)

Failure-Class: FC-live-settlement-uses-capture-clock

Line-Count-Exception: backend/database/conversations_v3.py | 2667 ->
2675 | one shared rotation-stamp check, used by the rotation check and
`_live_cut`, beside the loader's successor checks that already live here

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/BasedHardware/omi/pull/26762?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="View guided diff"
src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a>
<a
href="https://www.cubic.dev/action/auto-fix/pr/BasedHardware/omi/26762?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F26762&source=description"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img
alt="Turn on auto-fix"
src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->
Git-on-my-level pushed a commit to Git-on-my-level/omi that referenced this pull request Nov 30, 2026
…onnect hold

Follow-up to BasedHardware#26749, from its round-5 review. A recording listen rotation
sealed at its cap could also read as a live cut: its seal lands right
after its last line when the speech goes on. Wherever main's rotation
check let it go, the reconnect hold took over. A same-device successor
that closed into the server-batch handoff before its transcript landed
then kept the rotated stretch open for up to 15 minutes after that close,
where main queues its notes.

- _live_cut rejects a recording with a valid rotation stamp; the other
  recordings in the load are still checked for reconnect cuts.
- _rotation_cap is the one definition of a valid stamp, used by the
  rotation check and _live_cut, so the two cannot disagree about which
  owns a recording. The rotation check behaves as before.

Failure-Class: FC-live-settlement-uses-capture-clock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant