Skip to content

feat(conversations): one row per recorded event across capture surfaces - #17281

Merged
Git-on-my-level merged 10 commits into
mainfrom
feat/cross-surface-capture-groups
Sep 24, 2026
Merged

Git-on-my-level merged 10 commits into
mainfrom
feat/cross-surface-capture-groups

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Why

When the Omi pendant and the Mac both hear a meeting, each surface produces its own conversation. Each one gets its own summary, memories and tasks. On 2026-09-23 David's desktop list showed one 62-minute meeting four times: the desktop recording plus three pendant fragments. The backend had already linked all three (duplicate_capture_of, #14370), but no client reads that link.

Production baseline, read-only, 14 days:

  • 42% of users with desktop conversations also record on another surface.
  • The two surfaces disagree on whether to keep the conversation for 28% of overlapping pairs.
  • Wall-clock overlap alone is weak evidence of one event: most window-overlapping pairs share little text.

Full record: omi-knowledge-base/projects/cross-surface-continuity/.

This is the first shippable slice of that project: one row per recorded event, built on evidence strong enough to trust.

What changes

Backend

  • utils/conversations/shared_speech.py (new) confirms a wall-clock match from content. It uses word-trigram containment against the smaller transcript. Confirmation needs:

    • at least 30 words on each side;
    • at least 15 shared trigrams;
    • containment of at least 0.25.

    All three thresholds are env-tunable. The stored evidence is numeric only.

  • database/capture_groups.py (new) is the only writer of capture_group, capture_group_exclusions and capture_group_closed.

    • It creates a group, or joins a capture to an existing group through any member.
    • Every member is re-read inside the transaction. A discard, a deletion, a window change, or a change to the stored transcript's fingerprint fences the join. Members that were deleted or absorbed by sync are pruned from the record.
    • Two existing groups are never bridged by one pair, and a group is capped at 12 members.
    • The group id is minted independently, so the primary (the longest capture) can move without changing the event's identity.
  • duplicate_capture.link_duplicate_captures keeps writing the existing advisory link unchanged. It then checks at most 6 window matches for shared speech and groups the confirmed ones. It never blocks finalization: a failure records duplicate_capture_check → separate_captures.

  • Conversation.capture_group is a new additive response field. The two whole-document processing writers strip it, so a stale in-memory copy cannot clobber membership.

  • Deleting a conversation leaves its group and closes it in one transaction, so a finalizer racing the delete cannot regroup it.

  • POST /v1/conversations/{id}/capture-group/separate is sticky: the conversation is never regrouped with the members it left. It is idempotent, and a pair dissolves when one member leaves.

  • New metric: omi_product_event_total{event="capture_group_joined", outcome=applied|none|conflict}.

Desktop (macOS)

  • CaptureGroupPresentation collapses each group to one row, preferring the primary, using only the rows already loaded.
    • Paging offsets still count server rows.
    • A member whose group has no other loaded member is shown as itself, so grouping can hide a duplicate but never a conversation.
  • The row shows a badge for each device that captured it.
  • Membership is persisted in the local conversation cache (captureGroupJson, additive migration), so a cached list collapses the same way before the server answers.
  • Selections that become hidden behind a group's row are dropped before a merge or delete. Separating from search results refreshes the search. Optimistic star, title and folder edits keep membership.

Desktop conversation page (reworked in this PR)

  • Two-row header (about 168 pt → about 82 pt):

    • Row 1: back button, emoji, one-line title (full title on hover), a Summary | Transcript switch, then star, share, and a "…" menu holding copy transcript, rename, move to folder and delete.
    • Row 2: one metadata line with date · time range · duration · people ("You, Dana +2") · category. For a grouped event it ends with a device stack, "3 recordings".
  • Recordings list: clicking the device stack lists every recording of the event, with the current one checked. Clicking one opens it, fetched by id if it isn't loaded. Each has "Separate…" with a confirmation. After separating, the page, the list and any open search refresh.

  • Removed or condensed:

    • the card-in-card and its "Conversation Details" bar
    • the duplicated metadata chips
    • the separate transcript header
    • the grey empty-apps box
    • a stray double gap under the summary

    Nothing users rely on was removed. ConversationDetailView.swift went from 1835 to 1155 lines, split into header, sections and recordings views.

  • Row menu: the row's "Captured by N recordings" submenu is gone; the page owns that now.

  • Automation: a new automation action, conversation_detail_recording (list / open / separate / show / hide), drives the same code paths for harness QA.

Grouping is presentation metadata only. Transcripts, summaries, the keep/discard decision and derived memories/tasks stay per capture. Merging those is the next project phase and needs an event revision protocol first.

Review

Before this PR was opened, Codex (gpt-6-astra, high) reviewed the first commit read-only. It found six P2 defects, all fixed in the second commit, each with a regression test:

  1. A delete racing a finalizer could leave a group pointing at the deleted capture. Fixed with the close fence.
  2. Sync absorption soft-deleted a member without cleanup. Fixed by pruning.
  3. The transcript could change between confirmation and join. Fixed by the fingerprint fence plus fresh reads.
  4. Hidden rows could stay in a merge selection.
  5. Separating from search results left a stale collapse.
  6. Optimistic mutations dropped membership.

Validation

  1. Unit, backend. 31 new tests in tests/unit/test_capture_groups.py, plus the existing duplicate-capture and product-metric suites, pass via backend/test.sh. They cover:
    • shared-speech thresholds;
    • transactions on StrictFirestore: found, join, idempotence, no bridging, fencing, cap, sticky separation, dissolve;
    • the processing-write strip and delete cleanup;
    • the finalization seam: confirmed, window-only, degraded and bounded cases;
    • the route.
  2. Full backend unit suite (1,243 files, required by the selector because database/conversations.py changed) found one real regression, which is fixed: a router stub harness lacked database.capture_groups, so the route now calls through conversations_db. The remaining failures were CPU-duration guards tripped while a Swift build shared the machine, plus two environment gaps (fakeredis without Lua, resolved by syncing the venv from pylock.macos.toml). On the final commit, all 1,243 files pass in pytest. The 8 files flagged only by the CPU-duration guard during the parallel run also pass that guard when rerun serially (BACKEND_PYTEST_WORKERS=1, exit 0).
  3. End to end on the real Firestore emulator plus the running local backend (PROVIDER_MODE=offline make dev-up, isolated instance, restarted on the final commit). Captures were written through the production writer, so they are encrypted at rest (enhanced), and grouped by the production hook. Results, observed over HTTP:
    • same speech on two surfaces → one group, primary = longer capture, pointer kept;
    • overlapping window with unrelated speech → no group;
    • stale processing write → membership kept;
    • separate → dissolved; finalizing again stays separate; a second separate → unchanged;
    • a third capture (phone) joins; deleting it dissolves the group.
  4. Replay on real production transcripts (read-only bot; non-enhanced accounts only; aggregates only). This ran the exact shared_speech.py in this PR:
    • Unrelated same-user pairs from different surfaces: 0 of 162 confirmed.
    • Window-overlapping pairs with enough speech: 43 of 79 confirmed. The other 36 were different content, which window-only linking would have grouped.
  5. Desktop. CaptureGroupPresentationTests pass together with the reconciliation, record, projection-persistence and discoverability suites under local xcrun swift test (Xcode 27). The 7 tests cover decode, collapse order, unloaded primary, lone member, cache round-trip, migration, and an optimistic mutation keeping membership. The pinned CI toolchain is authoritative.
    • Page rework: 156 tests pass, including 14 in ConversationCaptureRecordingsTests and 3 new ConversationRepositoryTests for load-by-id. SwiftLint shows 0 violations; swift-format, test-quality, the text-selection check and e2e flow coverage --strict all pass.
    • Visual check on the named bundle against the local harness, signed in as the synthetic user alice:
      • the list collapses a desktop meeting plus two pendant pieces into one row with device badges;
      • the page shows the compact header and the recordings list;
      • separation (via the automation action) splits the list.
    • Still unclicked by a human: the Separate confirmation dialog.
    • Local sign-in only works with the separate harness fix (OMI_AUTH_API_URL in the local desktop profile), which is not part of this PR.
  6. Contracts. The OpenAPI app-client spec and the Dart, TypeScript and Swift DTOs were regenerated. Released app-client compatibility passes. The route policy inventory and baseline pass.

Dev click-through (2026-09-24, lane 1)

Merged current main into the branch (merge commit, no rebase). Local named bundle omi-lane1-groups built from the merged head, against the offline local harness (instance lane1, Firestore emulator, synthetic user alice). Captures written through the production writer and grouped by the production hook (a desktop capture plus three pendant pieces of the same speech, and one unrelated capture).

  • List: the desktop capture and two confirmed pendant pieces collapse to one row with desktop + pendant badges. The third piece (under the 30-word floor) and the unrelated capture stay as their own rows. 5 captures → 3 rows.
  • Page: compact header, "3 recordings" device stack; the recordings list opens with the current one checked.
  • Open a member: it opens with its own summary, its own action item ("Add to Tasks") and its own transcript.
  • Separate: separating one member refreshes the page to "2 recordings"; the list shows it as its own row; reopening it shows no group and its own summary, action item and transcript.
  • Server: all 5 conversations keep their own structured and action items; the group record now has 2 members.
  • Not clicked: the Separate confirmation itself. It is a system .alert, which neither the in-app capture nor an agent shell (no Accessibility grant) can reach; separation was driven through conversation_detail_recording action=separate, which calls the same separateRecording path. fix(desktop): one navigation, dismissal, delete and copy vocabulary across the macOS app (INV-UI-2) #17286 moves this confirmation to the in-window shellConfirmation.

Rollout notes and known limits

  • Pendant-finalized-last pairs in production only group once the GKE pusher runs current code. The production pusher Deployment has been on its 2026-08-30 ReplicaSet (see the david-account-conversation-audit KB project, issue 8). This is also why about 30% of eligible pairs are missing the existing link today. Un-stalling the pusher is tracked there, not in this PR.
  • The Flutter app and web will render members as separate rows until they adopt the same collapse (a follow-up). Because the field is additive, released clients are unaffected.
  • No backfill. Pairs grouped before this change stay ungrouped; a reversible backfill needs its own go.
  • Third-party integration payloads now include capture_group (ids, sources, windows; no text).
  • The branch merges current main. It includes a small unrelated fix: chore(llm): consolidate Luna model references behind one constant #17284 made the hermetic backend/testing/e2e/fakes/llm.py import utils.llm.model_config. The dev harness loads that fake in its own interpreter, so make dev-up offline preflight and 10 dev-harness unit tests failed with No module named 'utils'. The fake now uses a clearly fake model id.
  • On macOS, three test_native_probe_builds tests fail under the default TMPDIR because of the /var → /private/var symlink. This is also the case on main, and they pass with a real temp dir. It's unrelated to this PR.

How to try it on dev

Once this is deployed to dev and the desktop build is on Beta:

  1. Record a conversation with both the pendant and the Mac.
  2. After both finalize, the desktop list shows one row with a badge per device.
  3. Open it: the metadata line ends with a device stack ("2 recordings"). Click it to open either recording or separate one.

Product invariants affected

  • INV-AUTH-1: matched by the AppState path glob only. The new separateConversationFromCaptureGroup action uses the existing authenticated APIClient.post and does not touch session ownership, token handling or sign-out.
  • INV-CHAT-1: matched because Chat/ChatPrompts.swift gained a column annotation for the new cache column. Chat transcript ownership and continuity are unchanged.
  • INV-TASK-2: backend/config/task_intelligence_sources_v1.json changes only the file path of the existing desktop_manual writer anchor, from ConversationDetailView.swift to ConversationDetailSections.swift, because the page split moved the explicit "add task" gesture there. Its policy class stays direct_command. No capture path writes a task, and proposing capture still never accepts or creates one (check_task_capture_authority passes).
  • INV-NAV-1: ConversationsPage still routes to the same feature-complete conversation destination. Grouping only collapses duplicate rows within that list, and every member stays reachable from the row's menu.

Failure-Class: FC-same-speech-captured-twice-surfaces-twice

Line-Count-Exception: backend/database/conversations.py | 3027 -> 3054 | strip capture_group from the two whole-document processing writers, close/detach on delete, and read a transcript fingerprint from one snapshot; the group logic itself lives in the new database/capture_groups.py
Line-Count-Exception: backend/routers/conversations.py | 2133 -> 2148 | one new route (capture-group separate) beside its conversation routes
Line-Count-Exception: desktop/macos/Desktop/Sources/Rewind/Core/RewindDatabase.swift | 3657 -> 3665 | one additive migration registered with its siblings
Line-Count-Exception: desktop/macos/Desktop/Sources/DesktopAutomationBridge.swift | 5072 -> 5073 | registers conversation_detail_recording (action body lives in Automation/)

🤖 Generated with Claude Code

Git-on-my-level and others added 4 commits September 23, 2026 12:54
…aces

A pendant and the Mac in the same room each produce a full conversation for
one meeting. The backend already linked overlapping captures by wall clock
(#14370), but nothing read the link and window overlap alone is weak
evidence. Confirm window matches with shared speech (word-trigram containment
of the smaller transcript), group confirmed captures under an event id that
is independent of any member, and render one desktop row per group with every
recording still reachable and a sticky "Separate" action.

Grouping is presentation metadata only: transcripts, summaries, discard state,
and derived effects stay per capture.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ion, prune stale members, keep desktop selection/search consistent

Addresses an adversarial review of the capture-group change:
- a deleted capture is closed in the same transaction that removes it, so a
  racing finalizer cannot regroup it;
- joins prune members that were deleted, absorbed by sync, or moved, even when
  both captures are already grouped;
- shared-speech confirmation reads both transcripts fresh and the join
  transaction re-checks a stored-transcript fingerprint;
- desktop drops selections that become hidden behind a group's row, refreshes
  search after a separation, and preserves membership through optimistic
  mutations and transcript resync.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mintlify

mintlify Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
omi 🟢 Ready View Preview Sep 24, 2026, 2:44 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

Git-on-my-level and others added 4 commits September 23, 2026 15:25
…d tidy its layout

The conversation detail now lists every device that recorded the event in a
"Recorded on" row under the title (device, time window, current recording
marked). Another recording opens from its chip, including members the list has
not loaded (fetched by id through ConversationRepository.detail(id:)), and a
recording separates through a quiet "Separate…" menu or the chip's context
menu behind a confirmation. After a separation the detail re-reads its own
membership and AppState refreshes the list, so the row splits. The row's
"Captured by N recordings" submenu is removed; the device badge stays as the
list-level hint.

Layout: one header shared by both panes (back, emoji, title, status, a single
date/time/duration/device/category/folder line, people and place), Summary /
Transcript tabs with the pane's own tools, and star/share/copy plus an
overflow menu (rename, move to folder, delete). The card-in-card and its
"Conversation Details" bar, the metadata chip row, the transcript pane's own
header, and the empty "Try with Apps" slab are gone; sections own their top
spacing so an empty one leaves no gap. Starring from the page is new; every
other capability is kept.

ConversationDetailView.swift drops from 1835 to 1171 lines: header, sections,
and capture-recording UI move to ConversationDetailHeader.swift,
ConversationDetailSections.swift, and ConversationCaptureRecordings.swift.
A conversation_detail_recording bridge action (list/open/separate) drives the
same handlers the chips use.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Row one: icon back, emoji, one-line title (full title on hover), a
Summary/Transcript segmented switch, and Discuss (when available), star,
share and the overflow menu, which now also holds Copy Transcript. Row two:
one secondary line of date, time, duration, people ("You, Dana +2"),
category, folder and place, dropping category and then people/place when it
is short of room, ending in a device stack ("3 recordings") for an event more
than one device recorded, and the transcript re-sync button on the right.

The "Recorded on" chip row becomes an in-window panel hung from the device
stack: each recording with its device, time range and a check on the open
one; a row opens its recording and Separate… keeps the confirmation. The
panel is drawn in the window rather than as an NSPopover so window captures
and the automation bridge can see it; conversation_detail_recording gains
show/hide.

The header drops from about 168pt to about 82pt, and content now starts
about 100pt below the hub chips instead of 183pt.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
#17284 made backend/testing/e2e/fakes/llm.py import utils.llm.model_config
for its canned response's model name. The dev harness loads that fake by
path in its own interpreter without the backend package on sys.path, so
offline provider preflight (make dev-up/dev-check) and 10 dev-harness unit
tests fail with ModuleNotFoundError: utils. The model field of a canned
fake response is cosmetic; use a clearly fake model id instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…on guards

The detail-page split moved the manual task writer and the summary markdown
into ConversationDetailSections.swift. Point the task-intelligence writer
anchor at its new file, and extend the chat selection-overlay ban to the new
header and sections files so the moved summary keeps its protection.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Git-on-my-level added a commit that referenced this pull request Sep 23, 2026
…#17302)

## Bug

The local dev-harness desktop profile
(`scripts/dev-harness/dev_harness/desktop_profile.py`) set
`OMI_PYTHON_API_URL` and `OMI_DESKTOP_API_URL` but not
`OMI_AUTH_API_URL`. The macOS app's
`DesktopBackendEnvironment.authBaseURL()` therefore fell back to the
production API for auth-scoped calls (`GET /v2/desktop/prompts`, `GET
/v1/csat/config`). A local named bundle sent its Firebase Auth emulator
token to production, got 401, and `AuthSessionCoordinator` treated the
post-refresh 401 as a dead session (`invalidateSession
reason=postRefreshHTTP401`) — so every local desktop profile signed
itself out about a second after signing in.

## Fix

Set `OMI_AUTH_API_URL` to the local python backend (same value as
`OMI_PYTHON_API_URL`) so auth-scoped calls stay on the loopback backend
instead of silently defaulting to production.

## Verification

- `python -m pytest -q
scripts/dev-harness/tests/test_desktop_profile.py` → `5 passed in 0.02s`
(interpreter selected the way `scripts/dev-harness/run-tests.sh` selects
it).
- `bash scripts/dev-harness/run-tests.sh` → `550 passed, 6 skipped, 20
xfailed, 23 subtests passed in 100.35s`, run with the documented local
setup: `backend/.venv` provisioned by
`scripts/dev-harness/lane-backend.sh`, `PYTHONPATH=<repo>/backend`, and
a non-symlinked `TMPDIR` (macOS `/tmp`→`/private/tmp` breaks three
`test_native_probe_builds` path tests locally; CI's Linux runners are
unaffected).
- Live behavior, verified in the session that developed the fix: after
the fix a local named bundle stays signed in, and `GET
/v2/desktop/prompts` and `GET /v1/csat/config` return 200 from the local
backend.

Found while validating #17281.

## Note on the dev-harness-unit-tests check (pre-existing on main,
unrelated to this diff)

#17284 (current `main` HEAD) added `from utils.llm.model_config import
LUNA_MODEL` to the shared fake `backend/testing/e2e/fakes/llm.py`, which
this lane loads by file path. In the lean interpreter environments the
lane runs under (no backend package on `sys.path`, no
`openai`/`langchain-openai` deps — exactly CI's Repo Checks Hygiene
job), that import chain fails with `ModuleNotFoundError: No module named
'utils'`, taking ~12 tests red. Reproduced on **clean `origin/main`**
(268e04e) with this branch's change stashed: the same tests fail
identically. No PR since #17284 has selected this check (backend-only
paths don't trigger it), so CI has not surfaced it yet. This PR's
two-file diff doesn't touch the fake or the loader; the failure is
expected to track main until #17284's collateral is fixed upstream.

## Product invariants affected

none

## Failure class (fixes)

Failure-Class: FC-hermetic-suite-points-at-remote-api

The violated contract — a local development context must not send its
traffic to a non-loopback API — is the same shape here: an unset auth
endpoint let the desktop profile silently fall back to the production
API, like the leftover remote `API_BASE_URL` that class was minted for.

🤖 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/17302?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="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->
@Git-on-my-level
Git-on-my-level merged commit 8d8984b into main Sep 24, 2026
65 checks passed
@Git-on-my-level
Git-on-my-level deleted the feat/cross-surface-capture-groups branch September 24, 2026 03:29
Git-on-my-level added a commit that referenced this pull request Sep 24, 2026
Reconciles fix/macos-ux-consistency with feat/cross-surface-capture-groups
(merged main included). Both behaviour sets are kept:

- ConversationDetailView keeps #17281's split (Header / Sections /
  CaptureRecordings) and gains #17286's Back chip with the origin's name,
  layered Esc (find, recordings list, transcript, page), transcript find
  with highlights, shellConfirmation delete, TextPromptSheet rename,
  toast-confirmed transcript copy via SpeakerLabelFormatter, and the
  shared icon-button chrome.
- Action items use ConversationActionItemRow (hover-only controls,
  linked / adding / added / failed states) inside #17281's grouped card.
- Header participants use SpeakerLabelFormatter (1-based "Speaker N").
- The recordings list's Separate confirmation moves from a system alert to
  shellConfirmation (INV-UI-2), and its Esc goes through onEscapeKey.
- ConversationListView keeps the group collapse inside #17286's
  startedAt / OmiDateFormat date buckets.
- ConversationRowView keeps #17281's device badges; the dead source-label
  switch stays removed; "Omi" is capitalised in the capture label.
- ConversationsPage merges only visible rows: a member hidden behind its
  event's row can never reach a merge.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Git-on-my-level added a commit that referenced this pull request Sep 24, 2026
This branch already carried #17281's head (db2aa79) through the earlier
reconciliation merge; the squash's copies of the seven overlapping files are
byte-identical to that head, so the reconciled versions are kept.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Git-on-my-level added a commit that referenced this pull request Sep 24, 2026
… on mobile (#17297)

* feat(conversations): group one event's recordings across capture surfaces

A pendant and the Mac in the same room each produce a full conversation for
one meeting. The backend already linked overlapping captures by wall clock
(#14370), but nothing read the link and window overlap alone is weak
evidence. Confirm window matches with shared speech (word-trigram containment
of the smaller transcript), group confirmed captures under an event id that
is independent of any member, and render one desktop row per group with every
recording still reachable and a sticky "Separate" action.

Grouping is presentation metadata only: transcripts, summaries, discard state,
and derived effects stay per capture.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(conversations): fence capture-group joins on transcript and deletion, prune stale members, keep desktop selection/search consistent

Addresses an adversarial review of the capture-group change:
- a deleted capture is closed in the same transaction that removes it, so a
  racing finalizer cannot regroup it;
- joins prune members that were deleted, absorbed by sync, or moved, even when
  both captures are already grouped;
- shared-speech confirmation reads both transcripts fresh and the join
  transaction re-checks a stored-transcript fingerprint;
- desktop drops selections that become hidden behind a group's row, refreshes
  search after a separation, and preserves membership through optimistic
  mutations and transcript resync.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(desktop): map ConversationListView to the conversation-folders flow

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(backend): satisfy pyright in capture_groups

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(desktop): show an event's recordings on the conversation page and tidy its layout

The conversation detail now lists every device that recorded the event in a
"Recorded on" row under the title (device, time window, current recording
marked). Another recording opens from its chip, including members the list has
not loaded (fetched by id through ConversationRepository.detail(id:)), and a
recording separates through a quiet "Separate…" menu or the chip's context
menu behind a confirmation. After a separation the detail re-reads its own
membership and AppState refreshes the list, so the row splits. The row's
"Captured by N recordings" submenu is removed; the device badge stays as the
list-level hint.

Layout: one header shared by both panes (back, emoji, title, status, a single
date/time/duration/device/category/folder line, people and place), Summary /
Transcript tabs with the pane's own tools, and star/share/copy plus an
overflow menu (rename, move to folder, delete). The card-in-card and its
"Conversation Details" bar, the metadata chip row, the transcript pane's own
header, and the empty "Try with Apps" slab are gone; sections own their top
spacing so an empty one leaves no gap. Starring from the page is new; every
other capability is kept.

ConversationDetailView.swift drops from 1835 to 1171 lines: header, sections,
and capture-recording UI move to ConversationDetailHeader.swift,
ConversationDetailSections.swift, and ConversationCaptureRecordings.swift.
A conversation_detail_recording bridge action (list/open/separate) drives the
same handlers the chips use.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(desktop): compact the conversation header to two rows

Row one: icon back, emoji, one-line title (full title on hover), a
Summary/Transcript segmented switch, and Discuss (when available), star,
share and the overflow menu, which now also holds Copy Transcript. Row two:
one secondary line of date, time, duration, people ("You, Dana +2"),
category, folder and place, dropping category and then people/place when it
is short of room, ending in a device stack ("3 recordings") for an event more
than one device recorded, and the transcript re-sync button on the right.

The "Recorded on" chip row becomes an in-window panel hung from the device
stack: each recording with its device, time range and a check on the open
one; a row opens its recording and Separate… keeps the confirmation. The
panel is drawn in the window rather than as an NSPopover so window captures
and the automation bridge can see it; conversation_detail_recording gains
show/hide.

The header drops from about 168pt to about 82pt, and content now starts
about 100pt below the hub chips instead of 183pt.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(harness): keep the offline LLM fake free of backend runtime imports

#17284 made backend/testing/e2e/fakes/llm.py import utils.llm.model_config
for its canned response's model name. The dev harness loads that fake by
path in its own interpreter without the backend package on sys.path, so
offline provider preflight (make dev-up/dev-check) and 10 dev-harness unit
tests fail with ModuleNotFoundError: utils. The model field of a canned
fake response is cosmetic; use a clearly fake model id instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(app): show one row per recorded event in the conversation list

Decode the additive capture_group field and collapse loaded rows the way
desktop does (#17281): the loaded primary represents its event, else the first
loaded member; a lone loaded member is never hidden, and paging still counts
server rows. Rows name the devices that recorded the event, and a row hidden
behind its event leaves the merge selection. Adds the shared
capture_group_collapse parity fixture with the Flutter adapter and the backend
structural check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(app): compact conversation page with the event's recordings

The conversation page gets one header shared by Summary, Transcript and Action
items: emoji and title, one line of facts (day, time range, duration,
category, and the device when only one recorded it), then the event's
recordings, who spoke ("You, Dana +2"), folder and visibility. An event
several devices recorded shows a device stack; its sheet lists each recording
with its time range, opens it (fetching it when the list has not loaded it) and
separates it after a confirmation, then reloads the page and the list. Rename
and Move to folder join the overflow menu. Strings are localized in every
locale.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

1 active deployment
staging - docs — db2aa797 Deployed Sep 24, 2026 by mintlify[bot]
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