Skip to content

Retire the terminal-backed chat view outside WSL - #35886

Open
brennanb2025 wants to merge 26 commits into
mainfrom
brennanb2025/chat-deprecation-retire-view
Open

brennanb2025 wants to merge 26 commits into
mainfrom
brennanb2025/chat-deprecation-retire-view

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Orca used to have an "old chat view": a chat-looking screen drawn on top of a running terminal agent. It wasn't a real chat session, and now that real chats exist it only confuses people. This PR retires that old view everywhere except WSL projects, which still need it until real chat works there. Tabs that were saved in the old view now simply show their terminal: the same running agent, same scrollback, nothing restarted or cleared. OpenClaude and ZCode lose the old chat view entirely, on desktop and phone, WSL included.

Files Added Deleted Net
Test 17 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1525 $\color{#cf222e}{\Huge{\mathbf{−}}}$​244 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1281
Prod 38 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​714 $\color{#cf222e}{\Huge{\mathbf{−}}}$​221 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​493

What Changed

  • No way into the old view outside WSL. The terminal pane menu, the tab menu and the keyboard shortcut no longer offer it on non-WSL projects. The way back from the old view to the terminal stays available everywhere.
  • Saved or open old-view tabs show their terminal. When a tab saved in the old view loads (or is already open when its project turns out not to be WSL), it shows its terminal and the saved layout is updated to match. The agent process, pane and scrollback are untouched.
  • Unknown stays unknown. While Orca doesn't yet know whether a project runs in WSL (for example, early in startup), a saved old-view tab keeps its view and no new entry is offered. Once the answer arrives, the tab settles either way.
  • What counts as WSL. A local Windows project whose runtime is WSL (including repository-free folders and projects that inherit their host from a group), or a paired Windows host whose workspace path is a WSL network path (\\wsl.localhost\...). A paired Windows host with an ordinary Windows path stays "unknown" for now (see below).
  • OpenClaude and ZCode are removed from the shared list of agents the old view supports, so they lose it on desktop and phone, including WSL. Other phone transcript views are unchanged.
  • SSH wording. SSH hosts running on Orca's own server already get real chats. The menu row and launch error that used to say chat doesn't work "over SSH" now say the host isn't on Orca's server yet, and what to do (all translations updated).

Why

The old view overlays a terminal rather than running a real chat, so it duplicates the real Chat UI with weaker behavior. Retiring it through the one existing entry check and the existing per-pane view owner removes it without adding a second routing path or restarting anyone's agent.

Intended: WSL projects keep the old view because real chat isn't available in WSL yet (confirmed by Brennan). Temporary: the old view's internals stay until WSL gets real chat, and the phone keeps its other transcript views until the follow-up that switches conversations automatically. Temporary: a paired Windows host with a non-WSL path keeps any saved old-view tab and offers no new entry, because Orca can't yet tell whether that host runs the project in WSL; tracked in #28977.

Out of scope: the desktop Chat UI default, the real "Continue in Chat UI" pane button, and the chat⇄terminal switch in #31595 are unchanged.

Linked Issue

Internal maintainer request; no linked issue.

Visual Proof

A saved old-view tab outside WSL now opens as its terminal (Windows, real Codex). The tab was saved in the old view by the previous build. After upgrading to this branch and reloading, it shows its terminal with the original conversation, and the agent answered a new message after the reload.

Codex terminal after upgrade and reload, with replies before upgrade, after upgrade and after reload

A WSL tab open in the old view, after its project is switched to run on Windows (real agents, same running process kept on both builds):

main: stays in the old view this branch: shows its terminal
On main the Codex tab is still in the old chat view after the switch On the branch the Claude tab shows its terminal and replies after the switch

WSL keeps the old view across a restart and reload on this branch (the Codex tab is still in the old view). The missing reply in this capture also happens on main and is tracked in STA-13050.

WSL Codex tab still in the old chat view after restart and reload

Phone (iOS, fixture data, no live agent): an OpenClaude tab stays in its terminal and its menu has no transcript action.

Terminal Tab menu
OpenClaude fixture in the native phone terminal Native tab menu with no Chat or transcript action

Desktop SSH wording (shipped components, fixture data, narrow width):

Host not on Orca's server yet (menu row) Launch refusal
Disabled chat row explains that the host has no Orca server yet Complete wrapping launch refusal with Retry

Testing

  • Required lifecycle/recovery QA completed, except the published-v1.4.212 upgrade row below
  • Automated tests added/updated

Real runs on Windows with Claude and Codex, on builds of this branch:

  • Non-WSL: tabs saved in the old view by the previous build open as their terminal after upgrade; the tab menu no longer offers the old view and Mod+Shift+J stays in the terminal (the pane menu is covered by tests); both agents answered in their original conversations after a graceful restart and after a reload that kept the same running terminals.
  • WSL (git worktree and plain folder): saved old-view tabs keep the old view across upgrade, graceful restart and reload, and the routes into and out of the old view still work.
  • WSL tab open in the old view when the project switches to Windows: the tab moves to its terminal with the same running process; Claude answered afterwards.
  • Phone and SSH wording: tests plus the screenshots above.

Not proven, and why:

  • Upgrade from published v1.4.212 with an old-view tab whose agent had exited: blocked before the step under test. On upgrade, a WSL path spelling change dropped the saved tabs. That bug exists on main and is tracked in STA-13039. This PR's tests cover that recovery path; no real run of it passed.
  • "No live terminal" after reload: the old-view composer on a WSL tab once showed "No live terminal" right after a reload. The bug was seen once, then not reproduced in 3 reload cycles on f46e224. The source shows no cause in this PR.
  • Codex replies in WSL old-view tabs after a reload or runtime switch sometimes never arrived. The same thing happens on main, tracked in STA-13050.
  • OpenClaude and ZCode removal is shown by tests (no real run needed).

Full CI passed on the current head 76d1550 (static analysis and typecheck, all 12 unit shards, layout and e2e checks, WSL distro tests, mobile, packaging and persistence). The Windows packaging job passed after one failed-job retry for a browser-renderer attachment timeout in an unchanged test. CI is the desktop validation gate: the explicit local desktop test command was declined before execution by the shared resource gate after 30 minutes of memory pressure; the focused mobile suite passed all 3 tests.

Review

Full review path, because this rewrites a saved tab setting on load, changes phone eligibility and covers paired hosts. Four correctness rounds, an architecture challenger and design panel rulings, and a performance pass (the WSL check is cached per project and tested at 10× scale) are complete. Review fixes kept saved views while the runtime is still unknown, made repository-free WSL folders and group-inherited hosts count as WSL, and removed a repeated per-worktree scan.

Main was merged in 33d9fc7. An independent Claude Opus-medium reviewer checked its conflict resolution and subsequent test/lint corrections through the current head without blocking findings. The original real-run QA still applies; these corrections changed no user flow.

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

No new saved fields or wire operations, and no minimum server version. Retiring a view never restarts or clears a terminal. An unrelated existing issue found during review, where Reveal for a nested SSH workspace on a WSL hub can open the local WSL path, is tracked in STA-13084.

Checklist

  • This PR stays within terminal-chat retirement and the ownership/recovery behavior needed to preserve existing sessions
  • I explained what changed and why
  • Before/after screenshots or videos attached for UI changes
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and shortcut impact considered
  • CI lint, typecheck, tests, and build passed on the final head

@brennanb2025
brennanb2025 marked this pull request as ready for review October 29, 2026 09:45
@greptile-apps

greptile-apps Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no blocking code issues were found.

Summary

This PR limits new terminal-backed chat entry to WSL projects and removes OpenClaude and ZCode from desktop and mobile chat eligibility.

  • Terminal chat opens only for supported agents in confirmed WSL projects.
  • OpenClaude and ZCode no longer qualify for the terminal-backed chat view.
  • SSH chat messages explain when a host still needs an Orca server.

No new actionable issues were found. Both earlier findings are addressed in the current code. This review checked source and tests; it did not run the app or capture visual proof.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Terminal-backed chat] --> B{New entry or saved view?}
  B -->|New entry| C{Confirmed WSL and supported agent?}
  C -->|Yes| D[Open chat view]
  C -->|No| E[Keep terminal view]
  B -->|Saved view| F{Project or agent confirmed unsupported?}
  F -->|Yes| G[Return to terminal and save route]
  F -->|No| H[Preserve saved view]
  H --> I[Recover pane owner when evidence is available]
Loading

Reviews (13) · Last reviewed commit: "Merge origin/main into chat retirement b..." · Reviewed by Greptile

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Reviews paused

It 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 reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review.

Walkthrough

Native chat entry now requires a WSL project and a supported agent. Saved chat routing uses owner and leaf dispositions to retain, recover, or retire chat views as runtime and agent evidence changes. Execution-owner and local project resolution now use workspace and host facts. OpenClaude and ZCode are no longer supported for native chat. SSH availability messages refer to Orca server setup. Documentation describes the WSL and supported-agent limits.

Merge Risk: Minimal · up to 68b54

Outside WSL, terminals stop switching into the old chat view, and saved chat tabs open as terminals. Paired Windows projects with an ordinary Windows path keep an existing saved chat view until the runtime work in #28977, as the PR states. No merge-blocking issue was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title clearly and concisely describes the primary change: retiring the terminal-backed chat view outside WSL.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description follows the repository template closely. It has an ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Risk, AI Disclosure (omitted, which is acceptable for maintainers), Rev…
Full details: Description check

Explanation

The description follows the repository template closely. It has an ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Risk, AI Disclosure (omitted, which is acceptable for maintainers), Review, Agent skill upstream boundary, Notes, and Checklist sections. The Risk section is missing as a labeled section with a 'Level' value and a rollback note. The Linked Issue section states there is no linked issue, which the template requires for outside contributors, but the author says this is an internal maintainer request. Visual Proof includes before and after comparisons. Testing includes manual local runs on Windows with Claude and Codex, plus the unresolved gaps. The Risk section is the main gap: it lacks an explicit risk level and a backout plan (plain revert or what a revert would not undo).

Finishing Touches

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent 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: baa55592-87ed-4b00-8039-8e7903b50942
Commits

Reviewing files that changed from the base of the PR and between da10499 and 68b540b.

Files selected for processing: 19

  • mobile/src/session/native-chat/mobile-native-chat-eligibility.test.ts
  • mobile/src/session/use-mobile-native-chat-controller.test.ts
  • src/renderer/src/components/native-chat/native-chat-leaf-routing.test.ts
  • src/renderer/src/components/native-chat/native-chat-leaf-routing.ts
  • src/renderer/src/components/native-chat/use-native-chat-toggle-shortcut.keybindings.test.ts
  • src/renderer/src/components/tab-bar/TabBarItemRow.test.tsx
  • src/renderer/src/components/terminal-pane/terminal-chat-ownership-lifecycle.test.tsx
  • src/renderer/src/components/terminal-pane/terminal-pane-host-state-memo.test.ts
  • src/renderer/src/components/terminal-pane/terminal-pane-host-state.test.ts
  • src/renderer/src/components/terminal-pane/terminal-pane-host-state.ts
  • src/renderer/src/components/terminal-pane/use-terminal-pane-chat-state.ts
  • src/renderer/src/components/terminal-pane/use-terminal-pane-projection.ts
  • src/renderer/src/lib/agent-launch-prompt-delivery.test.ts
  • src/renderer/src/lib/local-preflight-context.ts
  • src/renderer/src/lib/local-project-runtime-workspace.ts
  • src/renderer/src/lib/local-runtime-project-index.ts
  • src/renderer/src/lib/resolved-worktree-execution-host.ts
  • src/renderer/src/lib/worktree-runtime-owner-index.ts
  • src/shared/native-chat-availability.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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: 84ddbfc1-0af6-48ad-a0e8-444d7cc27085
Commits

Reviewing files that changed from the base of the PR and between 03d1e8c and 24d506c.

Files selected for processing: 33
  • docs/site/content/docs/agents/native-chat.mdx
  • mobile/src/session/native-chat/mobile-native-chat-eligibility.test.ts
  • src/renderer/src/components/native-chat/native-chat-leaf-routing.test.ts
  • src/renderer/src/components/native-chat/native-chat-leaf-routing.ts
  • src/renderer/src/components/native-chat/use-native-chat-toggle-shortcut.keybindings.test.ts
  • src/renderer/src/components/native-chat/use-native-chat-toggle-shortcut.ts
  • src/renderer/src/components/tab-bar/tab-agent-launch-options.test.ts
  • src/renderer/src/components/tab-bar/tab-agent-row-presentation.ts
  • src/renderer/src/components/tab-bar/tab-bar-item-surface.tsx
  • src/renderer/src/components/terminal-pane/terminal-chat-ownership-lifecycle.test.tsx
  • src/renderer/src/components/terminal-pane/terminal-pane-host-state.test.ts
  • src/renderer/src/components/terminal-pane/terminal-pane-host-state.ts
  • src/renderer/src/components/terminal-pane/use-terminal-pane-chat-state.ts
  • src/renderer/src/components/terminal-pane/use-terminal-pane-foundation.ts
  • src/renderer/src/components/terminal-pane/use-terminal-pane-projection.ts
  • src/renderer/src/i18n/locales/de.json
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/pt.json
  • src/renderer/src/i18n/locales/ru.json
  • src/renderer/src/i18n/locales/tr.json
  • src/renderer/src/i18n/locales/zh-Hant.json
  • src/renderer/src/i18n/locales/zh.json
  • src/renderer/src/lib/structured-agent-session-launch-failure-wsl.test.ts
  • src/renderer/src/lib/structured-agent-session-launch-failure.ts
  • src/shared/native-chat-agent-support.test.ts
  • src/shared/native-chat-agent-support.ts
  • src/shared/native-chat-availability.test.ts
  • src/shared/native-chat-availability.ts
  • src/shared/structured-native-chat-launch-route.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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: 18719c0c-1d4d-4837-9e17-123c8fea39e0
Commits

Reviewing files that changed from the base of the PR and between 24d506c and 9010a3f.

Files selected for processing: 11
  • docs/site/content/docs/agents/native-chat.mdx
  • src/renderer/src/components/native-chat/use-native-chat-toggle-shortcut.keybindings.test.ts
  • src/renderer/src/components/native-chat/use-native-chat-toggle-shortcut.ts
  • src/renderer/src/components/tab-bar/TabBarItemRow.test.tsx
  • src/renderer/src/components/tab-bar/tab-bar-item-surface.tsx
  • src/renderer/src/components/tab-bar/use-tab-bar-runtime-model.ts
  • src/renderer/src/components/terminal-pane/terminal-chat-ownership-lifecycle.test.tsx
  • src/renderer/src/components/terminal-pane/terminal-pane-host-state.test.ts
  • src/renderer/src/components/terminal-pane/terminal-pane-host-state.ts
  • src/renderer/src/components/terminal-pane/use-terminal-pane-chat-state.ts
  • src/renderer/src/lib/execution-host-facts.ts
Files skipped from review as they are similar to previous changes: 1
  • src/renderer/src/components/tab-bar/tab-bar-item-surface.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


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: a9141ace-0d75-46c1-85ed-3f92d8c6e71d
Commits

Reviewing files that changed from the base of the PR and between 34613fb and da10499.

Files selected for processing: 5
  • src/renderer/src/components/native-chat/native-chat-pane-resolution.test.ts
  • src/renderer/src/components/native-chat/use-native-chat-toggle-shortcut.keybindings.test.ts
  • src/renderer/src/components/native-chat/use-native-chat-toggle-shortcut.ts
  • src/renderer/src/components/tab-bar/use-tab-bar-runtime-model.ts
  • src/renderer/src/components/terminal-pane/terminal-pane-host-state.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.

@brennanb2025

brennanb2025 commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor Author

Review loop status

The problem. Orca's old "chat view" draws a chat-looking screen over a running terminal agent. Now that real chats exist it duplicates them with weaker behavior, so Brennan ruled it retired everywhere except WSL projects, which still need it. OpenClaude and ZCode lose it entirely. Before this PR, users outside WSL could still open the old view from the pane menu, the tab menu or its keyboard shortcut, and tabs saved in it reopened in it.

What changes for users. Outside WSL there's no way into the old view, and tabs saved in it open as their terminal with the same running agent and scrollback. WSL projects keep the old view. When Orca doesn't yet know whether a project is WSL, it keeps a saved view and offers no new entry. OpenClaude and ZCode lose it on desktop and phone. The SSH wording now says the host isn't on Orca's server yet, instead of claiming chat never works over SSH.

Review. Full path: four correctness rounds, an architecture challenger, two design-panel rulings (ruling-check OK), and a performance pass. Fixes made in review: saved views kept while the runtime is still being resolved at startup; repository-free WSL folders and group-inherited hosts recognised as WSL; a per-worktree scan that repeated on unrelated updates removed and covered by an N/10N operation and render test. All 7 review threads are resolved.

QA (Windows, Claude and Codex, builds of this branch):

  • Non-WSL old-view tabs saved by the previous build open as their terminal after upgrade. The tab menu no longer offers the old view and Mod+Shift+J stays in the terminal. Both agents answered in their original conversations after a graceful restart, and after a reload that kept the same running terminals.
  • WSL (git worktree and plain folder): saved old-view tabs keep the old view across upgrade, restart and reload, and the routes into and out of it still work.
  • A WSL tab open in the old view, when its project switches to Windows: it moves to its terminal with the same running process (main keeps the old view). Claude answered afterwards.
  • Phone OpenClaude/ZCode removal and the SSH wording: tests plus screenshots.

Not verified, and why:

  • Upgrade from published v1.4.212 with an old-view tab whose agent had exited: blocked before the step under test, because a WSL path spelling change dropped the saved tabs during upgrade. That bug exists on main, tracked in STA-13039. Tests cover this PR's recovery path; no real run of it passed.
  • "No live terminal" on a WSL old-view composer right after reload: seen once in 3627, not reproduced in 3 reload cycles on f46e224; source shows no Retire the terminal-backed chat view outside WSL #35886 cause. That's a bounded non-reproduction, not proof it's fixed.
  • Codex replies in WSL old-view tabs sometimes never arrived after a reload or runtime switch. Main does the same, tracked in STA-13050.
  • Paired Windows hosts with a non-WSL path stay "unknown" (saved view kept, no entry), temporary, tracked in fix(wsl): open new WSL projects on their distro server #28977.

Main bugs found, outside this PR: STA-13039, STA-13050 (above), and STA-13084: Reveal for a nested SSH workspace on a WSL hub can open the local WSL path.

Heads. Real-run QA ran on ba1c4f6 and f46e224. The prior main merges and test-only correction were already reviewed. Main e4d07cf is now merged by 33d9fc7. Conflict resolution preserves the WSL-only entry policy and saved-tab fallback, main's runtime-owner cache and terminal readback, and main's test pruning. Required regression cases moved into surviving suites; no deleted suite was revived. Main's shortcut is now Ctrl+Shift+F11 by default, with Ctrl+Shift+J as the fallback when function keys are unavailable.

Subsequent corrections db999f7, 18327d0 and 16e8d67 adapt migrated tests to current contracts and isolate their call history. Commit 76d1550 updates a main-added language-change test to expect this PR's SSH wording; its English-to-Spanish checks remain intact. Commit 714e1ea fixes the hook's lint limit by returning the same existing memoized action functions through their object; it changes no user flow. An independent Claude Opus-medium reviewer checked the merge conflict resolution and every correction through 76d1550 with no blocking findings. The original completed review and real-run QA carry forward; no run flow changed.

Full CI is green on 76d1550: all 12 unit shards, static analysis and typecheck, layout/e2e, WSL distro tests, mobile, packaging, persistence and cross-version checks passed (41 successful checks; 26 skipped). The Windows packaging job passed after one failed-job retry for a browser-renderer attachment timeout in unchanged code. Merge state is CLEAN.

Local validation: the focused mobile suite passed all 3 tests. The explicit desktop test command was queued through the shared resource gate, then declined before execution after 30 minutes of sustained memory pressure. No local desktop test pass is claimed; desktop validation uses the current-head CI run. The changed-file formatting/lint check and all commit hooks passed.

For Brennan's review

Saved non-WSL old-view tab after upgrade and reload, branch (Codex):

Codex terminal with replies before upgrade, after upgrade and after reload

The baseline build showed these tabs in the old view; the run recorded that in its saved state, but no unobscured screenshot of it was captured.

WSL tab open in the old view, after its project switches to Windows:

main branch
main keeps the old view branch shows the terminal; Claude replies

WSL keeps the old view after a restart and reload, branch (the missing Codex reply is STA-13050):

WSL Codex tab still in the old view after restart and reload

Phone and SSH-wording screenshots are in the PR description.

Where judgment matters:

  1. nativeChatPresentationPolicy: entry needs a known WSL project, while a saved view is retired only when the project is known not to be WSL (unknown keeps it).
  2. selectNativeChatWslProject: what counts as WSL, including the temporary "unknown" for paired Windows non-WSL paths (fix(wsl): open new WSL projects on their distro server #28977).
  3. resolveNativeChatLeafRoute: a retired view is resolved before an open old-view pane keeps ownership, so an open tab moves to its terminal without a restart.

This branch has not been deployed

No deployments
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