Repository navigation
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
Walkthrough
Merge Risk:
|
|
@coderabbitai full review |
✅ Action performed
|
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to GitHub limitations.

Minor · Preserve includesStructuredSessions in… · session-list-result-validation.ts:171-177
src/main/ai-vault/session-list-result-validation.ts:171-177
🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick winPreserve
includesStructuredSessionsinparseAiVaultListResult.When a structured-session result passes through this parser, the envelope schema strips
includesStructuredSessions, and the returned object omits it. The mobile hook then marks the result incomplete and shows the legacy “Update Orca” state.Proposed fix
- unchanged: z.literal(true).optional() + unchanged: z.literal(true).optional(), + includesStructuredSessions: z.literal(true).optional() ... scannedAt: envelope.data.scannedAt, + ...(envelope.data.includesStructuredSessions ? { includesStructuredSessions: true as const } : {}), ...(envelope.data.fingerprint ? { fingerprint: envelope.data.fingerprint } : {}),

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
6da1968b-9161-4b44-b801-f10bc481783d
Files selected for processing: 34-
config/scripts/mobile-web-app/mobile-web-app-project-conversations-render.test.mjsconfig/scripts/mobile-web-app/mobile-web-app-render.test.mjsmobile/README.mdmobile/app/h/[hostId]/agent-history/[worktreeId].tsxmobile/app/h/[hostId]/agent-history/[worktreeId].web.tsxmobile/src/agent-history/MobileAgentSessionHistoryList.tsxmobile/src/agent-history/MobileAgentSessionHistoryPanel.tsxmobile/src/host-screen/HostConversations.tsxmobile/src/host-screen/conversation-copy.tsmobile/src/host-screen/conversation-open.test.tsmobile/src/host-screen/conversation-open.tsmobile/src/host-screen/conversation-styles.tsmobile/src/host-screen/host-screen-view.tsxmobile/src/host-screen/project-conversations.test-fixture.tsmobile/src/host-screen/project-conversations.test.tsmobile/src/host-screen/project-conversations.tsmobile/src/host-screen/use-conversation-actions.test.tsxmobile/src/host-screen/use-conversation-actions.tsmobile/src/host-screen/use-project-conversations.test.tsxmobile/src/host-screen/use-project-conversations.tsmobile/src/session/notification-pane-tab.test.tsmobile/src/session/notification-pane-tab.tssrc/main/ai-vault/session-list-result-validation.tssrc/main/ai-vault/session-list-results.test.tssrc/main/ai-vault/session-list-results.tssrc/main/ai-vault/structured-conversation-navigation.test.tssrc/main/ai-vault/structured-conversation-navigation.tssrc/main/ai-vault/structured-session-ownership.test-support.tssrc/main/ai-vault/structured-session-ownership.test.tssrc/main/ai-vault/structured-session-ownership.tssrc/main/runtime/rpc/methods/ai-vault.test.tssrc/main/runtime/rpc/methods/ai-vault.tssrc/shared/ai-vault-types.tssrc/shared/rpc-contract/ai-vault-params.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
-
|
Addressed the outside-diff The envelope validates The same commit addresses the inline local- No native-device, live-provider, full CI, or review-approval result is claimed. |
|
The selected-owner The three-file adaptation passed all 41 whole affected suites (392 tests) with zero teardown errors, all four Bun CI typechecks, scoped quality, formatting, catalogs and normal hooks. The actual activation helper and its original explicit-target test remain unchanged. Earlier unqualified mechanical-port/fixture attempts are not reported as passing; complete upstream CI and live device/transport acceptance remain pending as stated in the description. |
There was a problem hiding this comment.
Actionable comments posted: 2

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
a75d5b0e-36c2-454d-b41c-c826adbcfcb0
Files selected for processing: 15-
config/scripts/mobile-web-app/mobile-web-app-render.test.mjsmobile/app/h/[hostId]/agent-history/[worktreeId].tsxmobile/app/h/[hostId]/agent-history/[worktreeId].web.tsxmobile/src/agent-history/MobileAgentSessionHistoryList.tsxmobile/src/agent-history/MobileAgentSessionHistoryPanel.tsxmobile/src/session/notification-pane-tab.tssrc/main/ai-vault/structured-conversation-navigation.test.tssrc/main/ai-vault/structured-conversation-navigation.tssrc/main/runtime/rpc/methods/ai-vault.test.tssrc/main/runtime/rpc/methods/ai-vault.tssrc/renderer/src/components/right-sidebar/AiVaultSessionVirtualList.keyboard.test.tsxsrc/renderer/src/components/right-sidebar/ai-vault-session-resume-here.tssrc/renderer/src/lib/worktree-activation-structured-chat-surface.test.tssrc/shared/ai-vault-types.tssrc/shared/rpc-contract/ai-vault-params.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.
-
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to GitHub limitations.

Minor · Clear the hidden search filter for conversation history. · MobileAgentSessionHistoryPanel.tsx:340
mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx:340
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick winClear the hidden search filter for conversation history.
If this panel receives a
conversationIdafter a user searches general history,querykeeps its old value. Section building still applies that value, but this change hides the search input. A selected conversation can therefore show “No agent sessions” even when its session was loaded. IgnorequerywhileconversationIdis present, or clear it when the route changes.

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
15baa803-9c7c-4919-974f-87fe0e81cc54
Files selected for processing: 6-
mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsxmobile/src/agent-history/use-mobile-agent-history-state.tssrc/main/ai-vault/structured-session-ownership.test-support.tssrc/main/ai-vault/structured-session-ownership.test.tssrc/main/ai-vault/structured-session-ownership.tssrc/renderer/src/components/right-sidebar/ai-vault-session-resume-here.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.
-
ee29b01 to
d90628d
Compare
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The host screen now opens on project conversations, so the bots render check waited for workspace rows that only the advanced workspace view draws. Each case opens that view through More options first, and the page pins an English locale because the conversation copy follows the browser locale. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream's agent filter and bottom bar filled MobileAgentSessionHistoryPanel.tsx past its 400-line limit beside this branch's single-conversation history. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ELI5
Browse named conversations within mobile projects, see the latest human message separately, reopen saved chats and keep readable rows during refresh.
What Changed
Legacy workspace rows without
hostIduse the phone's resolved host context for filtering, host labels and offline state. Conversation rows retain that context beside their wire data, so they stay associated with the correct computer across mixed host versions.Groups live and saved conversations by host/project, preserves stable names and human previews, and provides search, new/resume actions, visibility and archive controls. Reuses the host-owned history index with conditional refresh and client/host generation fences. Genuine failures retain rows and offer Refresh; informational scanner notices do not claim that chats are missing or require an upgrade.
Why
The phone needs a stable conversation list that does not replace names with prompts or mistake partial diagnostic information for a missing-chat or update requirement.
Linked Issue
Fixes #35928. It absorbs #36865 and #37012, which were found while testing this PR.
Visual Proof
Actual bundled mobile web renderer with synthetic RPC replies, 390×844, English locale, hidden Chromium. The new regression fails against the previous source and passes after the correction. These captures are not physical-device acceptance.
A real history-source failure retains the list and provides a working refresh action:
Session name and latest human message
Actual Projects screen, English locale, synthetic host records, 390×844. RPC hooks and inactive sheets are isolated; the production conversation projection, list, row JSX, styles, and search field are used. These are headless component/screen captures, not installed-phone acceptance.
Testing
Current upstream refresh
Head
f8f2b4565deb86a9a3220559e1144cff40191bafincludes an ordinary forward merge of main255b5c22c17ec91d1156db4e90049b754886d47e.Resolve current scanner module moves while retaining selected-session discovery, sidecar observations, durable conversation projection and host ownership. Reuse the upstream SQLite worker creation and transcript absence detection instead of duplicating them.
Full desktop/runtime/CLI/web types pass, along with 78 tests in 13 focused suites. The final changed gate passes 40 of 41 checks, including mobile-related source quality, lint, formatting and ratchets; only its broad related-unit selection exceeds the three-minute local limit. Full-suite success is not claimed.
Existing visual proof retains its capture revisions. No new rendered, hosted-CI, package or physical-device acceptance is claimed by this source refresh.
Current head:
9492b8023f198c84d1c51ad1a9c836ebe7d807db, with an ordinary forward merge of main890ad4d8aa24c115d5ddf287eca7776fb033a7be.Existing English screenshots retain their original capture source and dimensions. This compatibility refresh does not claim new rendered, installed Windows/Linux, physical-device, SSH or live-provider acceptance.
Risk
Level: Medium
Host attribution, retained snapshots and selected-session requests must agree across independently updated clients and servers. Capability checks preserve older-host fallback. Reverting restores the prior navigation and leaves saved transcripts intact.
AI Disclosure
Implemented and checked with OpenAI Codex assistance. The contributor owns the change and validation claims.
Review
Read all formal reviews, inline threads and top-level comments with pagination; no unresolved threads remain. Older automated coverage is not current-head approval.
Agent skill upstream boundary
Notes
Scope is this atomic feature. Cross-platform, remote, mobile and folder-workspace behavior were considered; live acceptance remains as stated above.
Checklist
pnpm lint,pnpm typecheck,pnpm test,pnpm buildand upstream CI green