Repository navigation
fix(desktop): Activity opens what you click, and the conversation summary is whole again - #12042
Merged
kodjima33 merged 9 commits intoAug 22, 2026
Conversation
…ou clicked Three defects, one surface. The hub's four views share two chat-first routes, and every one of these came from a place where that sharing was hand-listed instead of derived. 1. Activity always lost to Memories. `ChatFirstMemoryRoutePolicy` preserved the caller's hub view across the `.memories` route by naming one of them: `current == .brainMap ? .brainMap : .memories`. `.activity` was appended as a fourth hub view later and never added, so the route sync that runs on the very next `onChange` rewrote the just-written `.activity` back to `.memories`. The click was correct and then undone a frame later, from the pill and from the hub's own switcher alike. It now derives the answer from the one route mapping (`MemoryHubSelectionPolicy.chatFirstRoute`), so a view that lives on a route survives it and the next view added cannot ship broken the same way. 2. The pill said Memories and opened whichever view was persisted last. It is titled Activity, wears a glyph that is not Rewind's, and routes through `selectHubDestination(.activity)` — the same writer the switcher uses, so one path owns moving both halves of the state. Conversations, Memories and Brain Map stay one click away in the hub switcher; `ShellDestination.activity.reach` is now `.topBar` so the reachability model states that honestly, and `unreachable()` remains empty (INV-NAV-1). 3. Activity's rows did not open anything. Memory rows had no action at all — no Button, no tap gesture, no hit region — so the one row naming what Omi learned was the one row you could not open; clicks landed on the conversation card above it. Conversation rows carried the full record, narrowed it to an id, wrote that id into the automation *snapshot* singleton, then called `selectPrimary`, whose contract is to discard an unconsumed deep link. Rows now hand the record to the typed deep link, and memories open through the gate the Brain Map's citations use, which does not leave Activity if the memory cannot be resolved. `showsCaptureArchive` also had no second release: once any capture link was followed it stayed latched, so later conversation navigation kept landing in the reduced archive pane. An exact-conversation deep link now releases it, which is what the branch's own comment already promised. Verified: clicked through a real signed build (omi-navfix, prod backend, never the production bundle). Activity pill -> Activity page; switcher Memories -> Activity stays on Activity; conversation row -> conversation_detail_snapshot reports detail_open=true on the exact conversation; standalone and indented memory rows both open that memory's inspector; Chat/Tasks/Rewind/Apps pills each land on their own page; hub switcher persists activity=3 conversations=1 brainMap=2 memories=0. `swift-test-suites.sh`: 664 suites, 0 failures. `OMI_AUTOMATION_PORT=47911 tests/test-mounted-navigation-latency.sh`: every route mounts as itself within budget. Failure-Class: new Co-Authored-By: Claude Opus 5 <[email protected]>
…e row navigates Activity carried two rows of chips a few points apart — the Memory hub's switcher (`Activity | Conversations | Memories | Brain Map`) and, directly beneath it, a filter row (`All | Conversations | Memories | Tasks | Rewind`) that narrowed the spine in place. They shared three of their words and did different things, so the row you were about to press told you nothing about what pressing it would do. There is one row now, and every chip in it navigates. `Brain Map` joins it as a peer destination. `All` becomes `Activity` — the page you are on, which is what the row's selected state now means rather than a filter that happens to match everything. **The spine's in-place filtering goes with it.** That is the real cost of the change and it is deliberate: a row where `Conversations` leaves the page while `Tasks` narrows it is the rule-then-broken-rule this row is being collapsed to avoid. Home's search results keep their filter chips — that panel is shared, and a navigating chip there would throw away the query you just typed, so `ChipBehavior` makes the two surfaces say which one they are instead of drifting. Activity also renders as three separate panels now, like Chat. It always built the right column — the same `panelGap`, corner radius and lane Chat uses — but `PageGlassLane` wrapped the whole Memory hub in a fourth, full-height panel, nesting Activity's two inside it. Nesting `.behindWindow` inside `.behindWindow` does not stack two materials, it takes a second copy of the desktop and doubles the scrim, so Activity read visibly muddier than every page around it. The wrap is now asked which hub page is mounted: Activity brings its own glass, the hub's list pages still need the lane. Two things this uncovered: - `ShellDestination.Reach.memoryHubView` named the switcher as the mechanism reaching Conversations, Memories and Brain Map, but `unreachable()` only ever checked that a pill existed. Deleting the switcher would have stranded three pages with every test green. `Reach.activityChipRow` is checked against `ActivityDestinationChip`, the same value the row renders from, so the claim is falsifiable now. - The non-chat-first shell's pill never wrote the hub destination — `DesktopTopBar` declared the binding and never used it. With the switcher gone, pressing `Activity` there would land on Memories (the stored default) with neither a switcher nor a chip row: a dead end reachable from a cold launch. Both shells now force `.activity`. Verified by clicking the real build (omi-navfix, prod backend, never the production bundle): Activity renders as three separate panels with one chip row; Conversations, Memories and Brain Map chips each open their page; Tasks and Rewind chips reach theirs; the Activity pill returns from each. `scripts/swift-test-suites.sh`: 663 suites, 0 failures. INV-NAV-1 Co-Authored-By: Claude Opus 5 <[email protected]>
…nd sends The summary did not get worse; the client stopped reading most of it. The backend's notes pipeline moved the substance of a conversation summary out of `overview` and into `structured.sections` — headed blocks, each with a markdown body — leaving `overview` a short compatibility paragraph. The generated wire DTO has decoded `sections` since that landed. The domain `Structured` never read the field: a grep for it across the desktop sources outside `Generated/` returned nothing. So every desktop surface rendered the compatibility paragraph and presented it as the whole summary. `sections` is now decoded, encoded, and rendered: - `SummarySection` on `Structured`, populated in both initialisers and round-tripped through `encode(to:)` — the cache path matters as much as the decode, since dropping it there empties an already-correct summary one relaunch later. Named `SummarySection` rather than `Section` because the latter shadows SwiftUI's `Section` across the whole module. - One `ConversationSummarySections` view used by both detail surfaces. They had already drifted — the legacy editor rendered markdown, the chat-first archive pane rendered plain `Text` — and a shared renderer is what keeps the next field the backend adds from reaching only one of them. - The archive pane also gains markdown and action items, which it never showed. Deliberately unchanged: an app-generated summary still replaces `structured.overview` rather than appearing beside it. That is a recent, intentional mobile-parity decision; sections are added on top of it rather than reopening it here. Note for whoever picks this up next: the Flutter app has the identical gap in `app/lib/backend/schema/structured.dart`, so "match mobile" is a lower bar than "render what the backend sends". Worth its own issue. Verified: clicked a conversation in a real signed build (omi-navfix, prod backend); its detail renders "Product Cleanup" and "Metrics Strategy" as headed markdown with bullets where it previously showed one paragraph. New decode tests cover the wire decode, a missing `source_segment_ids`, a pre-notes-pipeline capture with no sections, and the cache round trip. `swift-test-suites.sh`: 664 suites, 0 failures. Failure-Class: new Co-Authored-By: Claude Opus 5 <[email protected]>
…ends Same defect the desktop had, in the Flutter client: the backend moved the substance of a conversation summary out of `structured.overview` and into `structured.sections` — headed blocks, each with a markdown body — leaving `overview` a short compatibility paragraph. `conversation_wire.g.dart` has decoded `sections` since that landed, but `Structured` in `structured.dart` declared only `title, overview, emoji, category, actionItems, events`, and `fromGenerated` never read the field. The data arrived on every conversation and was dropped on the floor. `sections` is now carried through every path that builds a `Structured`: `fromJson`, `fromGenerated`, `toJson`, `toGenerated`, and `toString()`. `toJson` is the one that matters most and is easiest to miss — `ServerConversation.toJson` is the local cache path, so a field that decodes but does not serialize renders correctly on first load and comes back empty after the next app launch. `toString()` matters because it is what "copy summary" puts on the clipboard, which was losing the same content. `Section` is a typedef over the generated wire type rather than a hand-written adapter: it has no client-only fields or behavior, and the typedef guarantees the `body_markdown` / `source_segment_ids` key symmetry that a second hand-rolled `fromJson` would eventually get wrong. Rendered through the existing `ConversationMarkdownWidget` with the same stylesheet as the overview above it, so nothing about the screen's styling changes. Sections show only when Omi's own summary is being displayed — an app-generated summary replaces them, matching how `overview` already behaved. Deliberately left alone: sections render as their own markdown block rather than being concatenated into the summary content, because double-tap-edit writes the whole rendered string back into `structured.overview` only, so folding them together would permanently duplicate the sections into the overview on the first edit. Verified: `app/test.sh` full suite 1409 passed, 0 failures, 5 pre-existing skips. New tests cover the wire decode, the `toJson` round trip, `fromGenerated`, the full `ServerConversation` cache round trip (the app-restart case), and a missing `sections` default; two widget tests pump the real `AppResultDetailWidget` and assert the section headings and bodies actually paint. Regression proof: deleting the `sections` line from `Structured.toJson` fails the round-trip tests with `Expected: length of <2> / Actual: []`. Not verified: no run against a live signed-in account with a real summarized conversation — the UI evidence is the widget test, not a screenshot of the shipping app. Co-Authored-By: Claude Opus 5 <[email protected]>
…re it found
`context-bucket-benchmark.py` enriches an HTTP failure by reading the error body for
a stable error code. The read was guarded by an enumerated tuple —
`(AttributeError, json.JSONDecodeError, UnicodeDecodeError)` — and the ways an
`HTTPError` body can be unreadable are not enumerable across interpreters. On Python
3.9, which is what macOS ships as `/usr/bin/python3`, `HTTPError(..., fp=None).read()`
raises `KeyError('file')` out of `tempfile.__getattr__`. That escaped the guard and
replaced the real `probe returned HTTP 400` with a traceback about a temp file.
Python 3.12+ returns `b''` instead, so the defect is invisible there — which is how it
shipped.
The read is best-effort diagnostic enrichment, so it now catches broadly and the real
`RuntimeError` always survives. No assertion is weakened: the stable-error-suffix case
still asserts the full enriched message. The new regression test drives an error body
whose `read()` raises, so the contract is pinned on every interpreter rather than only
on the one that happened to expose it.
`test.sh` also aggregates its launcher-script section instead of aborting on the first
failure. `set -euo pipefail` over that loop meant one red script cost the entire Python
and Swift stages — the operator saw a single error and got zero signal from the 663
Swift suites below. BasedHardware#11747 fixed the membership that made that reachable without a real
failure; any genuinely failing script still reproduced the same blackout. Failures are
now collected, reported, and exit non-zero at the end, mirroring backend/test.sh.
Verified: the benchmark test passes on 3.9 and 3.14, and fails on both without the fix.
Full `test.sh` with a working venv: 44 launcher scripts, 202 pytest, 663 Swift suites,
exit 0. With a failure injected: exit 1, both failures listed in the aggregate, and all
663 Swift suites still ran — which is the behaviour this change exists for.
Not fixed, flagged instead:
- `tests/test-desktop-core-harness-readiness-teardown.sh` fails at pristine baseline on
this machine ("readiness should recover from one transient startup failure"), confirmed
against a clean tree via git stash. State-dependent; it shells out to `make dev-up`. So
`test.sh` is still red here — but now red *after* running everything rather than hiding
the Swift stage.
- `scripts/pre-push:762` keeps a third hand-listed copy of the discovery-skip membership
that `check-launcher-test-skips.py` does not cover — the same class BasedHardware#11747 fixed, in a
loop the guard does not reach.
- `scripts/agent-continuity-gauntlet-lib.py:200` has the same unguarded `exc.read()` shape.
Failure-Class: none
Co-Authored-By: Claude Opus 5 <[email protected]>
Both defects in this PR are one shape: a hand-written model or policy that mirrors a source of truth by restating its members, and is not updated when the source gains one. BasedHardware#11834 added `sections` to the conversation wire schema — the generated clients decoded it, the hand-written Swift and Dart domain models never read it, and every summary silently rendered a compatibility stub. BasedHardware#11372 added `.activity` as a fourth hub view sharing the memories route, and the route-survival policy preserved members by naming one of them, so the new view was rewritten back a frame after every click. Neither produced a decode error, an unhandled case, or a failing test: a mirror that drops a member is still internally consistent, so the product reads as thin or flaky rather than as broken, and it ships. Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
…ing e2e flows Co-Authored-By: Claude Opus 5 <[email protected]>
Failure-Class: none Co-Authored-By: Claude Opus 5 <[email protected]>
kodjima33
approved these changes
Aug 22, 2026
kodjima33
left a comment
Collaborator
There was a problem hiding this comment.
Desktop bug fix (owner-override): Activity opens the clicked item and conversation summary sections render again — well-tested (new XCTest + Dart test coverage), CI green, no abuse signals.
Archit-lal
added a commit
that referenced
this pull request
Aug 22, 2026
…get back Follow-up to #12042, which shipped the Activity spine, its navigating chip row and the summary sections. Three things that PR left wrong, plus the five defects an independent review found in it. **The row's header called itself `Filter`.** Its chips open pages; nothing about them narrows a list. The word now follows the behaviour rather than the surface — Home's search results still say `Filter`, because there the chips genuinely do filter in place, and `QueryPanelChipBehavior` is what decides. It was hoisted out of the generic panel so a test can assert the two cases without naming three view types. **`Tasks` and `Rewind` were in the row.** Both already have their own pill in the bar two inches above; a second control to the same place is not a shortcut. The row is now exactly the hub's four pages, and a test pins that — it is the reachability mechanism, so a page dropped from it must fail a test rather than quietly become unreachable. **The row is a one-way door.** It lives on Activity's panel and does not travel, so opening Conversations, Memories or Brain Map left no way back except knowing the top-bar pill was the answer. Each of those pages, and the chat-first Conversations route that mounts its own host, now carries a `‹ Activity` control that names where it goes. Review findings fixed: - **The standalone Memories page lost its glass.** #12042's `PageGlassLane` rule keyed panel-ownership on `.conversations` *and* `.memories`; only the first is the hub. In the modern shell `SidebarNavItem.memories` renders a standalone `MemoriesPage` that paints no ground, so pressing `Activity` and then reaching Memories by a route that does not reset the persisted destination drew its rows onto the wallpaper. The test added with it asserted the wrong claim for that index and locked it in; it now asserts the opposite. - **`SummarySection.id` was the heading.** Model-written blocks repeat headings and may have none, and duplicate `ForEach` ids make SwiftUI drop or duplicate rows. - **Desktop and mobile disagreed on provenance.** Flutter suppresses `sections` when a summarization app produced the summary; desktop rendered them anyway, stacking a second unattributed Omi summary under the app's. Desktop now matches. - **Flutter: an empty-content app result hid the sections and reported "no summary."** `getSummarizedApp()` returned `appResults[0]` without checking it carried anything. - **Flutter: one malformed section killed the whole conversation decode.** The sections loop threw where the `actionItems` and `events` loops beside it tolerate bad entries. Also: `ActivityDestinationChip.hubDestination` is non-optional, so "every chip opens a hub page" is a compiler guarantee; the orphaned `MemoryHubDestination.switcherOrder` is gone with four tests that had become assertions about nothing; and four e2e flows plus several doc comments stop describing the deleted switcher and the retired `Library` pill. Verified: `scripts/swift-test-suites.sh` — 665 suites in isolation, 0 failures. `app/test.sh` — 1421 passed, 5 skipped, 0 failures, each Flutter fix confirmed to fail without it. `check-e2e-flow-coverage.py --strict` — exit 0. Clicked through a real signed build for the `View` header, the four-chip row, and `‹ Activity` on Conversations and Brain Map. INV-NAV-1 INV-UI-1 Failure-Class: FC-mirrored-model-omits-new-member Co-Authored-By: Claude Opus 5 <[email protected]>
Archit-lal
added a commit
that referenced
this pull request
Aug 22, 2026
…get back (#12059) feat(desktop): Activity's row is a View, and every page it opens can get back Follow-up to #12042, which shipped the Activity spine, its navigating chip row and the summary sections. Three things that PR left wrong, plus the five defects an independent review found in it. **The row's header called itself `Filter`.** Its chips open pages; nothing about them narrows a list. The word now follows the behaviour rather than the surface — Home's search results still say `Filter`, because there the chips genuinely do filter in place, and `QueryPanelChipBehavior` is what decides. It was hoisted out of the generic panel so a test can assert the two cases without naming three view types. **`Tasks` and `Rewind` were in the row.** Both already have their own pill in the bar two inches above; a second control to the same place is not a shortcut. The row is now exactly the hub's four pages, and a test pins that — it is the reachability mechanism, so a page dropped from it must fail a test rather than quietly become unreachable. **The row is a one-way door.** It lives on Activity's panel and does not travel, so opening Conversations, Memories or Brain Map left no way back except knowing the top-bar pill was the answer. Each of those pages, and the chat-first Conversations route that mounts its own host, now carries a `‹ Activity` control that names where it goes. Review findings fixed: - **The standalone Memories page lost its glass.** #12042's `PageGlassLane` rule keyed panel-ownership on `.conversations` *and* `.memories`; only the first is the hub. In the modern shell `SidebarNavItem.memories` renders a standalone `MemoriesPage` that paints no ground, so pressing `Activity` and then reaching Memories by a route that does not reset the persisted destination drew its rows onto the wallpaper. The test added with it asserted the wrong claim for that index and locked it in; it now asserts the opposite. - **`SummarySection.id` was the heading.** Model-written blocks repeat headings and may have none, and duplicate `ForEach` ids make SwiftUI drop or duplicate rows. - **Desktop and mobile disagreed on provenance.** Flutter suppresses `sections` when a summarization app produced the summary; desktop rendered them anyway, stacking a second unattributed Omi summary under the app's. Desktop now matches. - **Flutter: an empty-content app result hid the sections and reported "no summary."** `getSummarizedApp()` returned `appResults[0]` without checking it carried anything. - **Flutter: one malformed section killed the whole conversation decode.** The sections loop threw where the `actionItems` and `events` loops beside it tolerate bad entries. Also: `ActivityDestinationChip.hubDestination` is non-optional, so "every chip opens a hub page" is a compiler guarantee; the orphaned `MemoryHubDestination.switcherOrder` is gone with four tests that had become assertions about nothing; and four e2e flows plus several doc comments stop describing the deleted switcher and the retired `Library` pill. Verified: `scripts/swift-test-suites.sh` — 665 suites in isolation, 0 failures. `app/test.sh` — 1421 passed, 5 skipped, 0 failures, each Flutter fix confirmed to fail without it. `check-e2e-flow-coverage.py --strict` — exit 0. Clicked through a real signed build for the `View` header, the four-chip row, and `‹ Activity` on Conversations and Brain Map. INV-NAV-1 INV-UI-1 Failure-Class: FC-mirrored-model-omits-new-member Co-Authored-By: Claude Opus 5 <[email protected]> ## Known-red, not caused by this PR `tests/test-desktop-core-harness-readiness-teardown.sh` fails on a pristine upstream/main checkout with a clean tree — verified in a separate worktree at d6b9e35. It shells out to `make dev-up` and is state-dependent locally. Separately, `RewindCaptureExclusionGenerationTests.testOwnerSnapshotStaysCurrentWhenAuthLeadsUnresolvedRewindDatabase` fails at that same pristine baseline: it reads `auth_userId` out of the real machine's `UserDefaults`, so it is non-hermetic and depends on who is signed in. It passes under the per-suite isolation `test.sh` and CI use. Both predate this change and neither touches any symbol in it. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/12059?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. -->
cursor Bot
pushed a commit
that referenced
this pull request
Aug 23, 2026
Conflicts were in conversation capture (#12014 auto-accept + writer fallback vs INV-TASK-2 propose-only), the candidate-capture tests, and ConversationDetailView (#12042 summary sections vs Add to Tasks). Keep INV-TASK-2: extraction never accepts or writes a task. Keep #12014's evidence clamp and #11980's wake-word gate. Keep both summary sections and the suggestion-only action-item rows. Wake-word fixture scoring now treats policy_capture_kind == explicit_command as the command-admitted signal (create_direct is gone). Co-authored-by: David Zhang <[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 this fixes
Six defects on the desktop Activity surface and the conversation summary, plus the
Flutter client's copy of one of them and the desktop test runner that was hiding all
of it.
1. Activity always lost to Memories.
ChatFirstMemoryRoutePolicypreserved theselected hub view across the shared
.memoriesroute by naming one of them(
current == .brainMap ? .brainMap : .memories)..activitywas added as a fourthhub view later and never added, so the route sync that runs on the next
onChangerewrote the just-written
.activityback to.memories. The click was correct andundone a frame later — from the top-bar pill and the hub's own switcher alike.
2. The pill said Memories and opened whichever page was persisted last. It is
titled
Activity, opens Activity, and routes through the same writer the chip rowuses.
3. Activity's rows opened nothing. Memory rows had no action at all — no
Button,no tap gesture, no hit region — so the one row naming what Omi learned was the one row
you could not open; clicks landed on the conversation card above it. Conversation rows
carried the full record, narrowed it to an id, wrote that id into the automation
snapshot singleton, then called
selectPrimary, whose contract is to discard anunconsumed deep link.
showsCaptureArchivealso latched true forever after the firstcapture link, so later conversation navigation kept landing in the reduced archive pane.
4. The conversation summary rendered a fraction of what the backend sends. #11834
moved the substance of a summary out of
structured.overviewintostructured.sectionsand left
overviewa short compatibility paragraph. The generated wire DTO decodedsectionsfrom day one; the hand-written domain model never read the field. A grep forit across the desktop sources outside
Generated/returned nothing. Fixed on desktopand in the Flutter client, which had the identical gap in
app/lib/backend/schema/structured.dart.5. Activity is three panels, and its two chip rows are one. It carried the hub
switcher directly above a filter row that shared three of its words and did something
different. There is one row now and every chip navigates;
Brain Mapjoins it.PageGlassLanewas also wrapping the whole hub in a fourth full-height panel withActivity's two nested inside — nesting
.behindWindowinside.behindWindowdoublesthe scrim, which is why Activity read muddier than every page around it.
6.
desktop/macos/test.shwas red at baseline and hid the Swift stage.context-bucket-benchmark.pyguarded an error-body read with an enumerated exceptiontuple; on Python 3.9 — what macOS ships as
/usr/bin/python3—HTTPError.read()withno body raises
KeyError('file')out oftempfile, escaping the guard and masking thereal HTTP error. Python 3.12+ returns
b'', so the defect is invisible there.set -eover the launcher loop then meant that one failure cost the entire Python and Swift
stages: the operator saw one error and got zero signal from 663 Swift suites.
Two traps this surfaced
ShellDestination.Reach.memoryHubViewnamed the hub switcher as the mechanismreaching Conversations, Memories and Brain Map, but
unreachable()only ever checkedthat a pill existed. Deleting the switcher would have stranded three pages with the
whole suite green.
Reach.activityChipRowis now checked againstActivityDestinationChip.reachableHubDestinations— the same value the row rendersfrom.
DesktopTopBardeclared amemoryDestinationRawValuebinding and never wrote it, soin the non-chat-first shell the
Activitypill landed on Memories (the stored default)with neither a switcher nor a chip row. A dead end reachable from a cold launch.
Deliberate cost
Making the whole chip row navigate removes the spine's in-place filtering. A row where
Conversationsleaves the page whileTasksnarrows it teaches a rule and then breaksit. Home's search results keep their filter chips — that panel is shared, and a
navigating chip there would discard the query just typed, so
ChipBehaviormakes eachsurface state which it is.
Verification
Clicked through a real signed build (
omi-navfix, prod backend, never the productionbundle): Activity pill opens Activity; switcher-era regression gone; conversation rows
report
detail_open=trueon the exact conversation; standalone and indented memory rowsopen that memory's inspector; the summary renders headed markdown sections where it
previously showed one paragraph; Activity renders as three separate panels; all six chips
open their page; the pill returns from each.
desktop/macos/scripts/swift-test-suites.sh: 663 suites, 0 failuresapp/test.sh: 1409 passed, 0 failures, 5 pre-existing skipscontext-bucket-benchmarktest passes on 3.9 and 3.14, fails on both without the fixtest.shwith a venv: 44 launcher scripts, 202 pytest, 663 Swift suites, exit 0;with a failure injected, exit 1 with an aggregate and all 663 Swift suites still run
Known-red, not caused by this PR
tests/test-desktop-core-harness-readiness-teardown.sh("readiness should recover fromone transient startup failure") fails on a pristine
upstream/maincheckout atd6b9e35 with a clean working tree — verified in a separate worktree, not by
stashing. It shells out to
make dev-upand is state-dependent locally.Note the interaction: before this PR,
test.shaborted attest-context-bucket-benchmark.sh(alphabetically earlier), so this failure was never reached and nobody saw it. Fixing the
benchmark and making the loop aggregate is what surfaced it. That is the aggregation
working as intended, not a regression introduced here. The local pre-push run of this
one script was hatched with
PRE_PUSH_SKIP_DESKTOP_LAUNCHER_TESTS=1; CI remains theauthority on it.
INV-NAV-1
INV-UI-1
Line-Count-Exception: desktop/macos/Desktop/Sources/MainWindow/DesktopHomeView.swift | 1634 -> 1636 | threading the mounted hub page into PageGlassLane so Activity is not wrapped in a second glass panel; two lines at one call site, no new responsibility in this file
Failure-Class: new