Skip to content

Chat renames are saved as the chat's name, so Session History shows them after the tab closes - #31602

Merged
brennanb2025 merged 35 commits into
mainfrom
brennanb2025/session-title-tab-vs
Oct 25, 2026
Merged

brennanb2025 merged 35 commits into
mainfrom
brennanb2025/session-title-tab-vs

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 47 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​3304 $\color{#cf222e}{\Huge{\mathbf{−}}}$​205 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​3099
Prod 101 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​5033 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1487 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​3546

ELI5

Renaming a chat tab now renames the chat itself. Session History, the sidebar, phones and other windows all show the new name, and it stays after the tab closes or Orca restarts.

What Changed

The problem. Renaming a native chat tab (Claude, Codex, OpenCode, Grok, OMP, Pi) only changed that window's tab. Session History showed the new name only while the tab was open; once the tab closed or Orca restarted, History went back to the auto-generated name (or "Claude Chat"). Phones and other windows never saw the rename. A teammate noticed this on 10-21.

Why it happened. The chat's name had two owners. The host that runs the chat saved Orca's automatic name on the chat's session record, which is what Session History, phones and other windows read. The user's rename was saved only in that one window's tab state and was never sent to the host.

Before: rename a chat tab, close it, open Session History: the old name.
After: the row (and the reopened tab, the sidebar, phone tabs and other windows) shows the name you gave it.

Mechanism.

  • New host method agentSession.rename (capability agent-session.structured.rename.v1). It saves the name on the chat's session record, in the field History, tabs, sidebars and phones already read, and republishes it through the existing status feed and phone tab titles.
  • The record now remembers that the user chose the name (conversationNameSource: 'user'). Automatic naming never replaces a user's name, including a rename back to the same text while a name is being generated.
  • Renaming from the tab strip, context menu, rename shortcut, floating terminal panel and the layout-owner build all go through the host. The existing session.tabs.setTabProps customTitle call from an agent also saves the native chat name, including without an attached window. Unsupported combined property requests are refused before changing the name; accepted title-only edits still save. An empty name shows "A chat name can't be empty" and keeps the current name. A failed save shows "Couldn't rename this chat" and keeps the old name.
  • Upgrade: a tab renamed on an older build still carries its own name. When its tab records the owning host, or its workspace resolves to one host without using the current selection, and that host supports saved names, the window uploads the name as a pre-upgrade name. The host takes it only if the chat still has Orca's own name, so a newer rename from any window always wins. The tab then stops carrying its own copy.
  • Older paired hosts that don't have the new method keep today's tab-only rename.
  • Session History rows for OpenCode, Grok, OMP and Pi chats now show the chat's name once it has one. Before, they always showed the CLI's own title. An unnamed chat's row still shows the CLI's title.
  • Places that showed the old tab-only name now read the chat's name: Send to agent targets, Ctrl+Tab switcher, the pinned-tab close confirmation, workspace link origins, the activity feed and dashboard rows, and the name copied when a chat continues in a terminal.

Why

This is the common pattern: a thread has one title stored with the thread; renames and generated titles write that same field, and every list reads it. A rename beats a pending generated title.

For chats whose host is known, the saved host name replaces the tab copy. Keeping independent names everywhere would let windows and phones disagree again. The intended exception for an older tab whose host cannot yet be proved is described below; it does not change the tab’s execution host or migrate drafts or launch state.

Differences from the common pattern, each intended:

  • An older tab whose host cannot be proved keeps a tab copy (intended, maintainer ruling 10-22). If its saved tab has no execution host and its workspace exists on two hosts, an explicit rename saves the name on the addressed host and also keeps the new name on the tab. Switching away therefore keeps the chosen label. The tab copy is retired through the existing legacy-name mechanism once the host is known. This does not stamp tab ownership or change drafts, outboxes or launch state.
  • Existing same-ID mirror behavior stays out of scope (intended). If two computers hold the same chat ID, for example after copying an Orca profile or through a caller supplying that ID, an older tab’s name can follow whichever computer the window later attaches that chat to. Ordinary chat creation uses random IDs; no ordinary UI path producing such a collision was found.
  • The record stores who chose the name instead of an in-memory "generation in progress" marker. It survives host restarts, and the pre-upgrade upload uses it to decide.
  • Older paired hosts keep the tab-only rename. Orca supports mixed client and server versions with no minimum server version.
  • The name is not written into Claude's or Codex's own session files. Claude's own /resume list keeps Claude's title.
  • Names are capped at 200 characters, the existing limit for this field, so older clients still accept the names a newer host publishes.

Behavior changes to note:

  • Clearing a rename no longer brings back the auto-generated name: an empty name is refused.
  • OpenCode/Grok/OMP/Pi History rows show the chat's name once named.
  • An older desktop talking to a newer host still prefers its own tab names. No wire change is needed for that.

Plan: my older PR #19859 sent a desktop chat rename to the host as a tab property. This PR replaces it.

Linked Issue

N/A (maintainer).

History after /clear

Clearing context keeps the native chat and its manual name while detaching the previous provider conversation. An open History list could keep that old association, display the native name on the detached provider row, and offer the wrong owner’s actions. The host now invalidates that association through the existing feed, and desktop lists, indexed search and current phone History query the current rows without Refresh. Stale replies cannot replace a newer host, scope, connection or association result. An unchanged layout is used throughout; this adds no phone rename control.

QA and tests

Full source review finished after four rounds, with final whole-mechanism comparison against the common pattern, performance and readiness checks accepted. Source review head: 36e0610ed5bab5e219bfc4e92b52ce8e05c686aa; production unchanged since 27123456 before the final main sync. Merge ad4663f86957f2b5b8b46fc806c1d6798af9101e incorporates main e4d1c981a4ca1f1c50f73ce0bbdb17df95566959. Its conflicts in build-dashboard-snapshot.ts, useDashboardPopoutBridge.ts and useLiveDashboardSnapshot.ts retain both main’s lifecycle/launch-route inputs and this PR’s saved-name inputs. Named merge verification passed 12 suites /117 tests; the required merge hook passed. Pre-merge CI was 31 successful checks/23 skipped. The initial merged-head WebKit listener-cleanup failure was unchanged from main; the lane owner reports the rerun green. This loop did not rerun CI. Both GitHub review threads are resolved.

Conflict-required follow-up merge c0c261a0cb80f85d4f15e0cfb56e7e8980b8064e incorporates main 0399ffa2c6e78379bd9a264c5ab53f6b77fd90dc. Its seven conflict files retain this PR’s code and applicable structural comments while accepting main’s comment cleanup. Six files are parser-token identical to ad4663f; host-types additionally keeps main #31941’s exact type import/optional request-failure dependency required by merged callers. An import-local alias in the auto-merged host preserves the same function/call/order while fitting the 300-line gate; parser equivalence confirms that only the local binding changed. Nine named suites /96 tests and the required direct merge hook passed; incoming lockfiles remain intact. Merged-head CI is green (31 successful checks, 23 skipped); mobile web app bundle, including main’s corrected WebKit check, passed. Main merges carry the completed lifecycle evidence, so head= and qa_head= remain ad4663f; no new QA was performed.

The owner-required Claude/Codex lifecycle run and its same-scenario post-clear continuation passed on exact ad4663f. Genuine previous-build state was carried through graceful upgrade and restart; no fixture replaces that evidence.

Changed flow Accepted evidence
Rename lifecycle, Claude and Codex Real previous-build 2c937546 chats, replies and saved aliases carried into 76554533: rename, close → exact History row → reopen, actual same-profile process restart, cold rename, and real assistant replies after restart. Current-head ad4663f run: both agents passed actual previous2c state, graceful upgrade, manual rename/close, graceful current restart, exact History/reopen, real assistant reply and canonical/tab manual-name retention after /clear. Old provider rows correctly detach and regain their provider titles. The same preserved cleared chats each then received exactly one ordinary composer turn: real assistant journal reply, fresh completed/success native status, exact manual name/source=user, and a new native-owned History row without Refresh. Old provider rows remain correctly detached/provider-titled. Codex’s indexed preview showed zero messages at capture; actual reply proof is independent of that preview.
Refused property edit saves no name; valid title edit saves (9cfc1941) Tests-only under the runtime RPC/CLI classification. Real dispatcher, native host and SQLite regression was RED before the fix, GREEN after; refused combined edit leaves saved name/alias unchanged, title-only control saves. Three focused suites passed 32/32.
History after ordinary /clear: mounted desktop list and indexed search Tests-only under the native UI classification. Real-host/store clear integration plus renderer list/search, cache, stale-answer and owner/action contracts. The pre-fix mounted case failed; correction passed. No screen layout or appearance change requires a screenshot run.
Current phone History after /clear Tests-only under the mobile classification. Mounted History hook/feed/loader contracts cover same-client generation, scope changes, held results, errors, coalescing and teardown; 9/9 passed. No native-phone runtime pass is claimed.
Activity saved-name projection (c16ce794, 294c6ca5) Bounded real sidebar host-name/focus result retained on 294c6ca5; renderer/source contracts cover the projection correction. No full Activity matrix or real agent-hook caller pass is claimed.
Other readers, compatibility and agent-specific shared branches Renderer/host/wire contracts, including recorded OMP ACP17.0.5 output, actual released v1.4.222 reader operations/decoders against current host/SQLite/RPC, two successive names/fresh reads, and owner-qualified native pinned-close name. Final test-only contract run: 4 files / 106 tests PASS.

History correction evidence includes 13 named suites /147 tests on the initial repair; the affected lifecycle correction passed 42 desktop tests and 9 phone tests; final compiler/organization correction passed four exact suites /38 tests. These are checkpoint runs, not extra distinct tests or a new broad run on the final head. Final-head CI covers current source. Integration fixtures use controlled clients/providers and are not native app runs.

Representative committed tests: src/main/runtime/renderer-owned-tab-properties.test.ts, tests/e2e/ai-vault-manual-name-clear.unit.test.ts, src/renderer/src/components/right-sidebar/use-ai-vault-search.test.tsx, mobile/src/agent-history/agent-history-association.test.tsx, and tests/e2e/cross-version-wire/agent-session-saved-name-old-client.unit.test.ts.

The historical lifecycle run covers shared code with Claude and Codex; the current-head lifecycle and post-clear next-turn continuation passed all steps above. Other shared-agent branches use recorded-output/contract tests. Grok and Antigravity — runtime QA waived by Brennan: “Those are excused.” Both are tests-only: Grok’s account was out of paid usage on the QA machines; Antigravity native chat needs its own browser sign-in. No provider login code changes here.

The terminal-title reset and native-first unpin order also happen on the previous build; the separate attribution check is unrelated to this PR and excluded from its QA round count. The conservative historical audit and disclosure remain retained privately.

No native-phone/paired-transport runtime pass, exhaustive timing/race matrix, automatic-migration intermediate-ack timing pass, or live CPU/memory measurement is claimed. Those former broad-matrix cells are covered according to the current flow classification by tests; the lifecycle run is the real-run row. Earlier wrong-target sends and the retracted Pi reply claim are excluded from accepted evidence. Existing mobile suites requiring absent react-test-renderer did not load locally and are not counted as passes; the mounted DOM/feed contracts above did pass.

Accepted-run limits: the rig’s terminal inventory active flag disagreed with native selection; the actual visible composer’s explicit session/host/transport and runtime fence were checked instead, with all product guards retained. No direct send RPC or store mutation was used. Real config hashes were unchanged within the accepted phase; the Codex config hash differed between phases before the continuation launched, with cause unproven and no contents read or edited. All app stops were graceful, assigned ports free, recorded app/controller incarnations absent, and four pristine baseline snapshots unchanged.

Known limits

  • Deferred P3, tracked in STA-11852: invisible-only legacy aliases can normalize to empty and fail migration. Saved bytes remain; explicit visible rename recovers. No automatic deletion or data reset.
  • Deferred P3: unsupported older hosts can receive repeated capability probes on eligible events. Request-count evidence is bounded; live CPU and delay were not measured.
  • History search displays a saved name on transcript hits; retrieval solely by the renamed title was already unsupported.
  • The inherited pane metadata map can retain provider metadata. History uses the host’s current projection independently; this PR does not repair every inherited consumer.

Visual proof

New whole-window screenshots from the ad466 lifecycle run are attached in the review-loop status comment. The previous-build and PR screenshots show different action states; they are not pixel-matched visual comparisons. The final pair shows real post-clear replies and native-owned History rows with their saved names. No screenshot rig was launched for the test-typed corrections. Tab captions are truncated visually; full saved labels and session/host bindings are preserved in the scalar evidence.

  • Current-head Claude/Codex upgrade, restart, rename, reopen, reply, clear preservation and post-clear next-turn History recovery
  • Current-head CI green per lane owner’s rerun report; focused merge tests passed
  • Four review rounds, reference/performance/readiness source checks accepted

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

Current phone History updates from the host’s saved name while mounted, qualified by host/client. Older phones use existing fresh-query behavior. Renaming from a phone is not added here. Remote SSH: native chats do not run over direct SSH. Existing agent-hook caller concern remains tracked in #24512; the endpoint integration is not a hook-origin runtime claim.

…hem after the tab closes

Renaming a native chat tab only changed that window's tab. Session History, phones and other windows read the host's saved name, so the rename vanished from History once the tab closed or Orca restarted.

A rename now goes to the host that owns the chat (agentSession.rename) and is saved as the chat's one name, the field History, tabs, sidebars and phones already read. The record remembers that the user chose it, so automatic naming never replaces it. A window's pre-upgrade tab rename is uploaded once and only fills a name Orca chose. Hosts without the new capability keep the old tab-only rename. Every native agent's History row now shows the chat's name once it has one.
@brennanb2025
brennanb2025 marked this pull request as ready for review October 21, 2026 19:45
@coderabbitai

coderabbitai Bot commented Oct 21, 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.

ℹ️ 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: bba485cc-81c4-42e5-a011-11e2ee9cd3d9
📥 Commits

Reviewing files that changed from the base of the PR and between 2208836 and 7655453.

📒 Files selected for processing: 2
  • src/renderer/src/components/native-chat/native-chat-agent-message-sender-identity.test.tsx
  • src/renderer/src/components/sidebar/WorkspaceAttachmentOrigins.test.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.

Walkthrough

The changes add persisted user renames for structured agent sessions and expose them through a rename RPC. Status feeds publish conversation-name metadata, which renderer and mobile views use for chat labels and history titles. The renderer migrates legacy tab labels to persisted names and retains tab-label fallback behavior when a host cannot save names. Bridged-parity tooling adds stricter replay evidence and updates History recordings and classifications.

Priority: Normal

Merge Risk: Low · up to 76554

Some unusable legacy tab names can repeatedly fail migration on reconnect. This is a bounded edge case that should be cleaned up, but does not block merging.

Pre-merge checks: Passed 3 · Failed 1 · Inconclusive 1

Failed Failed checks: 1 warning · 1 inconclusive

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 37.84% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 111 functions across 82 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check Inconclusive The description is thorough and follows the template's main sections: ELI5, What Changed (problem, mechanism, before/after), Why (with alternatives and intended deviations), QA and tests, Visual Proof… Clarify the Linked Issue section (state the issue or confirm the maintainer exemption applies). In Testing, tick or state the manual and automated test status and list the platforms actually tested (macOS, Linux, Windows, SSH). Add reviewer…
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title clearly summarizes the primary change: chat renames persist as chat names and remain visible in Session History after the tab closes.
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.
Full details: Description check

Explanation

The description is thorough and follows the template's main sections: ELI5, What Changed (problem, mechanism, before/after), Why (with alternatives and intended deviations), QA and tests, Visual Proof, Notes, and an Agent skill upstream boundary checkbox. The linked issue is marked N/A (maintainer), which deviates from the template's required issue link. The Testing section is not in template form: the 'I manually tested these changes locally' and 'Automated tests added/updated' checkboxes are not ticked, and the platforms tested (macOS/Linux/Windows/SSH) are not stated explicitly. The AI Disclosure section is absent, and the Review, Checklist, and Notes items (Security, cross-platform, backwards compatibility, performance) are only partly addressed. The description is long and dense, and its QA section mostly reports run results without a clear reviewer-followable test procedure.

Resolution

Clarify the Linked Issue section (state the issue or confirm the maintainer exemption applies). In Testing, tick or state the manual and automated test status and list the platforms actually tested (macOS, Linux, Windows, SSH). Add reviewer steps to reproduce the rename-to-History flow. Add an AI Disclosure entry if applicable, or confirm the team-member exemption. Complete the Checklist items, including cross-platform, SSH/remote, and performance impact. Reduce the QA narrative to a concise, reviewer-followable summary.

✨ Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
  • 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

Comment @coderabbitai help to get the list of available commands.

@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

🧹 Nitpick comments: 1
mobile/src/agent-history/agent-history-current-host-capability.test.tsx: 1

107-123: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Send the stale event through the old subscription.

The replacement client reuses subscribe, so its subscription replaces emit with the new client's listener. The later emit(...) call therefore does not test an event from the old client.

Keep hostId unchanged and invoke the saved old listener. This isolates the client identity guard instead of allowing the host ID check to make the assertion pass.

Suggested test correction
+    const oldEmit = emit
     connection.client = {
       ...fakeClient(async (method) =>
         method === 'status.get'
           ? { id: 'status-b', ok: true, result: { capabilities: ['aiVault.v1'] } }
           : new Promise<RpcResponse>(() => {})
       ),
       subscribe
     }
-    hostId = 'host-b'
     await act(async () => tree?.update(createElement(Card)))
     await act(async () =>
-      emit({
+      oldEmit({

ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 31d53c6a-5694-4b1d-a9dd-7f2095ec02e7
📥 Commits

Reviewing files that changed from the base of the PR and between 3d6a945 and bb04638.

⛔ Files ignored due to path filters: 1
  • src/shared/rpc-contract/rpc-params-catalog.generated.ts is excluded by !**/*.generated.*
📒 Files selected for processing: 78
  • mobile/src/agent-history/agent-history-current-host-capability.test.tsx
  • mobile/src/agent-history/use-mobile-agent-history-state.ts
  • mobile/src/session/mobile-structured-session-status-feed.ts
  • src/main/ai-vault/structured-session-ownership-acp-and-pi.test.ts
  • src/main/ai-vault/structured-session-ownership.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-host-status-feed.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-host-types.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-host.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-status-feed-conversation-name.test.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-status-feed-deps.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-status-feed.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-status-summary.ts
  • src/main/native-chat/structured-chat-naming.test.ts
  • src/main/native-chat/structured-chat-naming.ts
  • src/main/runtime/agent-session-record-conversation-name.ts
  • src/main/runtime/agent-session-record-store.ts
  • src/main/runtime/rpc/methods/structured-agent-session-gate-classification.test-fixture.ts
  • src/main/runtime/rpc/methods/structured-agent-session-rename.test.ts
  • src/main/runtime/rpc/methods/structured-agent-session-rename.ts
  • src/main/runtime/rpc/methods/structured-agent-session-schemas.ts
  • src/main/runtime/rpc/methods/structured-agent-session-status-stream.ts
  • src/main/runtime/rpc/methods/structured-agent-session.test.ts
  • src/main/runtime/rpc/methods/structured-agent-session.ts
  • src/renderer/src/app-shell/use-app-shell-services.ts
  • src/renderer/src/components/activity/activity-event-builder-context.ts
  • src/renderer/src/components/activity/activity-event-builder.ts
  • src/renderer/src/components/activity/use-agent-pane-threads.ts
  • src/renderer/src/components/dashboard/build-dashboard-snapshot.ts
  • src/renderer/src/components/dashboard/dashboard-card-labels.ts
  • src/renderer/src/components/dashboard/useDashboardPopoutBridge.ts
  • src/renderer/src/components/dashboard/useLiveDashboardSnapshot.ts
  • src/renderer/src/components/editor/ReviewNotesSendMenuContent.test.tsx
  • src/renderer/src/components/editor/ReviewNotesSendMenuContent.tsx
  • src/renderer/src/components/right-sidebar/AiVaultSessionRow.structured-title.test.tsx
  • src/renderer/src/components/right-sidebar/use-ai-vault-session-display-title.ts
  • src/renderer/src/components/sidebar/WorkspaceAttachmentOrigins.tsx
  • src/renderer/src/components/tab-bar/TabBarItemRow.tsx
  • src/renderer/src/components/tab-bar/recent-tab-switching.ts
  • src/renderer/src/components/tab-bar/tab-bar-item-model.ts
  • src/renderer/src/components/tab-bar/use-tab-bar-item-projection.ts
  • 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/zh.json
  • src/renderer/src/lib/running-agent-targets.ts
  • src/renderer/src/lib/structured-agent-session-action-launch.ts
  • src/renderer/src/runtime/legacy-chat-rename-migration.test.tsx
  • src/renderer/src/runtime/legacy-chat-rename-migration.ts
  • src/renderer/src/runtime/structured-agent-session-client.ts
  • src/renderer/src/runtime/structured-agent-session-owner.ts
  • src/renderer/src/runtime/structured-agent-session-status-feed.test.ts
  • src/renderer/src/runtime/structured-agent-session-status-feed.ts
  • src/renderer/src/runtime/structured-chat-name-observation.ts
  • src/renderer/src/runtime/structured-chat-rename.ts
  • src/renderer/src/runtime/structured-chat-tab-name.ts
  • src/renderer/src/runtime/structured-conversation-name.ts
  • src/renderer/src/runtime/workspace-layout-frame-tab-props.test.ts
  • src/renderer/src/store/pinned-tab-close-guard.ts
  • src/renderer/src/store/terminals/structured-chat-tab-rename.test.ts
  • src/renderer/src/store/terminals/terminal-tab-appearance.ts
  • src/renderer/src/store/terminals/terminal-tab-layout-owner-actions.ts
  • src/shared/agent-session-conversation-names.ts
  • src/shared/agent-session-record.ts
  • src/shared/agent-session-status-snapshot-fold.ts
  • src/shared/agent-session-wire.ts
  • src/shared/protocol-version.ts
  • src/shared/rpc-contract/structured-agent-session-rename-params.ts
  • src/shared/rpc-contract/workspace-layout-params.ts
  • src/shared/structured-agent-session-surface-capabilities.ts
  • src/shared/structured-chat-row-name.ts
  • src/shared/workspace-layout/workspace-layout-command-types.ts
  • src/shared/workspace-layout/workspace-layout-tab-commands.ts
  • src/shared/workspace-layout/workspace-layout-tab-rename.ts
  • tests/e2e/cross-version-wire/structured-agent-session-host-fixture.ts
  • tests/e2e/cross-version-wire/structured-agent-session-surface-calls.ts
  • tests/e2e/cross-version-wire/structured-agent-session-surface-manifest.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: 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: 79b641c2-befd-4a1c-81c2-24516fe2f085
📥 Commits

Reviewing files that changed from the base of the PR and between bb04638 and 1988cfa.

⛔ Files ignored due to path filters: 1
  • src/shared/rpc-contract/rpc-params-catalog.generated.ts is excluded by !**/*.generated.*
📒 Files selected for processing: 82
  • config/scripts/verify-mobile-web-app-bundle.mjs
  • mobile/rpc-foundation/goldens/aivault-history-scan-fulfilled.json
  • mobile/rpc-foundation/goldens/aivault-history-scan-unsupported.json
  • mobile/rpc-foundation/goldens/aivault-history-scan-worktrees-late.json
  • mobile/rpc-foundation/goldens/aivault-history-screen-listed.json
  • mobile/rpc-foundation/goldens/aivault-history-screen-worktrees.json
  • mobile/rpc-foundation/goldens/matrix-aivault.history-aivault.listsessions-1.json
  • mobile/rpc-foundation/goldens/matrix-aivault.history-screen-platform-status.json
  • mobile/rpc-foundation/goldens/matrix-aivault.history-screen-status.get-2.json
  • mobile/rpc-foundation/goldens/matrix-aivault.history-screen-worktree.ps-1.json
  • mobile/rpc-foundation/goldens/matrix-aivault.history-status.get-1.json
  • mobile/src/agent-history/MobileAgentSessionHistoryPanel.tsx
  • mobile/src/agent-history/use-mobile-agent-history-state.ts
  • mobile/src/test-support/bridged-parity/absent-result-evidence.ts
  • mobile/src/test-support/bridged-parity/c5-page-closure.test.ts
  • mobile/src/test-support/bridged-parity/c5-page-closure.ts
  • mobile/src/test-support/bridged-parity/divergence-classes.test.ts
  • mobile/src/test-support/bridged-parity/divergence-classes.ts
  • mobile/src/test-support/bridged-parity/divergence-evidence.test.ts
  • mobile/src/test-support/bridged-parity/divergence-evidence.ts
  • mobile/src/test-support/bridged-parity/replay-verdict.ts
  • mobile/src/test-support/rpc-recording/adapters/agent-history-mount-adapters.ts
  • mobile/src/test-support/rpc-recording/golden-difference.ts
  • mobile/src/test-support/rpc-recording/operation-module-loader.test.ts
  • mobile/src/test-support/rpc-recording/operation-module-loader.ts
  • mobile/src/test-support/rpc-recording/rpc-recording-through-bridge.test.ts
  • src/main/native-chat/structured-chat-naming.test.ts
  • src/main/native-chat/structured-chat-naming.ts
  • src/main/runtime/rpc/methods/structured-agent-session-rename.test.ts
  • src/main/runtime/rpc/methods/structured-agent-session.ts
  • src/main/runtime/runtime-desktop-pane-title-forwarding.test.ts
  • src/main/runtime/session-tabs/headless-terminal-tab-close.ts
  • src/main/runtime/session-tabs/structured-session-tab-rename.ts
  • src/renderer/src/components/activity/ActivityPrototypePage-test-fixtures.ts
  • src/renderer/src/components/activity/ActivityPrototypePage.test.ts
  • src/renderer/src/components/activity/ActivityPrototypePage.thread-grouping.test.ts
  • src/renderer/src/components/activity/activity-event-builder-context.ts
  • src/renderer/src/components/activity/activity-event-builder.identity-reuse.test.ts
  • src/renderer/src/components/activity/activity-event-builder.ts
  • src/renderer/src/components/activity/activity-thread-grouping.status-order.test.ts
  • src/renderer/src/components/activity/use-agent-pane-threads.ts
  • src/renderer/src/components/dashboard/build-dashboard-snapshot-folder-workspace.test.ts
  • src/renderer/src/components/dashboard/build-dashboard-snapshot-orchestration-routing.test.ts
  • src/renderer/src/components/dashboard/build-dashboard-snapshot.rows-cache.test.ts
  • src/renderer/src/components/dashboard/build-dashboard-snapshot.test.ts
  • src/renderer/src/components/dashboard/build-dashboard-snapshot.ts
  • src/renderer/src/components/dashboard/dashboard-card-labels.test.ts
  • src/renderer/src/components/dashboard/dashboard-card-labels.ts
  • src/renderer/src/components/dashboard/useDashboardPopoutBridge.test.tsx
  • src/renderer/src/components/dashboard/useDashboardPopoutBridge.ts
  • src/renderer/src/components/dashboard/useLiveDashboardSnapshot.ts
  • src/renderer/src/components/editor/ReviewNotesSendMenuContent.test.tsx
  • src/renderer/src/components/editor/ReviewNotesSendMenuContent.tsx
  • src/renderer/src/components/sidebar/WorkspaceAttachmentOrigins.tsx
  • src/renderer/src/components/tab-bar/recent-tab-switching.test.ts
  • src/renderer/src/components/tab-bar/recent-tab-switching.ts
  • src/renderer/src/components/tab-bar/tab-bar-item-label.ts
  • src/renderer/src/components/tab-bar/tab-bar-item-model.ts
  • src/renderer/src/components/tab-bar/use-tab-bar-item-projection.ts
  • 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/zh.json
  • src/renderer/src/lib/notes-send-agent-targets.test.ts
  • src/renderer/src/lib/notes-send-agent-targets.ts
  • src/renderer/src/lib/running-agent-targets.ts
  • src/renderer/src/lib/workspace-session-ssh-partition-round-trip.test.ts
  • src/renderer/src/runtime/legacy-chat-rename-migration.test.tsx
  • src/renderer/src/runtime/legacy-chat-rename-migration.ts
  • src/renderer/src/runtime/structured-agent-session-owner.ts
  • src/renderer/src/runtime/structured-chat-name-observation.ts
  • src/renderer/src/runtime/structured-chat-rename-action.ts
  • src/renderer/src/runtime/structured-chat-rename.ts
  • src/renderer/src/runtime/structured-chat-tab-name.ts
  • src/renderer/src/store/terminals/structured-chat-tab-rename.test.ts
  • src/renderer/src/store/terminals/terminal-tab-appearance.ts
  • src/renderer/src/store/terminals/terminal-tab-layout-owner-actions.ts
  • src/shared/rpc-contract/workspace-layout-params.ts
  • src/shared/structured-agent-session-surface-capabilities.ts
  • src/shared/workspace-layout/workspace-layout-command-types.ts
🚧 Files skipped from review as they are similar to previous changes: 6
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/zh.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json

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

@brennanb2025

brennanb2025 commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor Author

Renaming a native chat used to save only a window’s tab label. After closing it or restarting Orca, History returned to the old title; phones and other windows never received the rename. This PR saves the chosen name on the host’s chat record, so existing readers share it and late automatic naming cannot replace it.

Full review finished after four source rounds. The whole-mechanism comparison with the common pattern, performance bounds and final readiness review accepted the final source; no open P0/P1 remains. Fixes include owner-qualified name reads, durable manual intent and legacy transfer, stale rename completion suppression, Activity projection, validation before any saved-name write, and History association refresh after context clear. Intended compatibility differences: unresolved legacy owners retain their tab label; older hosts retain tab-only rename; manual provenance survives restart; provider-owned session files are unchanged. Deferred P3s: invisible-only legacy aliases (STA-11852; saved bytes retained, explicit visible rename recovers) and repeated capability probes on unsupported hosts (request counts tested, live CPU not measured).

Current-head runtime evidence: On ad4663f86957f2b5b8b46fc806c1d6798af9101e, both Claude and Codex carried actual previous-build 2c937546 state through a graceful upgrade, manual rename and close, a second graceful restart, exact History reopen and a real assistant reply. Both kept the exact manual name and source=user after ordinary /clear. The old provider conversations correctly lost their native owner and regained their provider titles without Refresh; expecting those detached rows to keep the native name was a QA-oracle error, refuted against the adopted design and an independent evidence audit.

Post-clear continuation PASS: Each same preserved native chat received exactly one ordinary composer turn on ad4663f, followed by an actual assistant journal reply and a fresh completed/success native turn. While History stayed mounted without Refresh, each new provider row joined the original native session and showed its exact manual name with the native action route. The old provider rows remained detached with provider titles. Both canonical records retained source=user. The Codex History preview still showed zero messages at capture; the rendered reply, assistant journal and completed native status independently prove the turn. No source defect or fix was established. All app stops were graceful; assigned ports are free and owned app/controller processes are absent. Real configuration hashes were unchanged within each accepted phase; a Codex config hash differed between phases before the continuation launched, with its cause unproven and no real config contents read or written. Four pristine baseline stores remained unchanged.

Grok and Antigravity were waived by Brennan on 10-23: “Those are excused.” They are tests-only: Grok’s paid usage was exhausted; Antigravity native chat needs its own browser sign-in. Shared-agent code is represented by Claude/Codex plus the recorded OMP ACP17.0.5 output contract. The terminal-title reset and native-first unpin order also reproduce on the previous build; the unrelated attribution check does not count as PR QA.

Corrections reviewed before the current-head lifecycle run:

Commit(s) Evidence retained or added
c16ce794, 294c6ca5 Activity projection correction/comment clarification; bounded actual sidebar host-name/focus evidence on294 plus renderer/source tests. No full Activity or real agent-hook provenance claim.
5a256b71, 6f8d32d6 Main merge and package-manager churn cleanup. Narrow merge-delta/reference check accepted; current-head CI covers integration.
9cfc1941 Runtime RPC validate-before-write: real dispatcher/native host/SQLite RED/GREEN, refused combined edit leaves name/alias unchanged and valid title-only edit saves; 32/32 focused tests. Tests-only flow.
ba6194ad, df11bc36, 27123456 Desktop mounted History/list/indexed search and current phone History after /clear use host association invalidation and stale-reply protection. Native manual name remains. Real-host/store integration plus renderer/mobile tests; checkpoint147 root tests, affected42 desktop/9 phone tests, final38 compiler/organization tests. These are overlapping checkpoint runs, not additional distinct tests. UI/mobile flow uses tests; layout unchanged, no new screenshot run.
36e0610e Five non-shipping test/support files only; recorded OMP output projection, released v1.4.222 two-name/two-fresh-read wire contract and paired-owner native pinned-close name. 4 exact files /106 tests PASS; independent delta acceptance.

Pre-merge 36e061 CI was 31 SUCCESS /23 SKIPPED, including static/type checks, renderer/mobile and platform suites. Normal hook passed. Tests that could not load locally because react-test-renderer was absent are not counted as passes. Deterministic faults, races and bounds are contract coverage; tests do not claim native-phone runtime. No new source review round was needed. The owner-required targeted lifecycle run and its same-scenario next-turn continuation both passed on ad4663f.

For Brennan’s review: new whole-window proof from the ad466 lifecycle run follows. The first pair shows actual previous-build state; the second pair shows current-head restart replies with the saved names. The third pair shows the intended /clear result: the tab keeps its manual name while the released provider row has its own title. The final pair shows real post-clear replies and the new native-owned History rows with their saved manual names. Images show different action states, not a pixel-matched comparison.

baseline-claude.png

baseline-codex.png

restart-reply-claude.png

restart-reply-codex.png

clear-history-claude.png

clear-history-codex.png

next-turn-claude.png

next-turn-codex.png

Three code spots for judgment:

Final main sync: merge ad4663f86957f2b5b8b46fc806c1d6798af9101e incorporates e4d1c981a4ca1f1c50f73ce0bbdb17df95566959. Three conflicts were resolved in src/renderer/src/components/dashboard/build-dashboard-snapshot.ts, useDashboardPopoutBridge.ts and useLiveDashboardSnapshot.ts: main’s chat-program acquisition/release and launch-route inputs remain, alongside this PR’s canonical name inputs, subscriptions and cleanup. A migration-test capability mock was made partial to retain the new reader used by main. Named tc-gate verification covers 12 suites /117 tests (11 suites passed on the first execution; the corrected migration suite then passed8/8). The required pnpm exec lint-staged --diff=MERGE_HEAD --concurrent false passed; pnpm’s unmerged lockfile churn was discarded. The initial CI watch stopped on the unchanged-from-main WebKit editor listener-cleanup assertion; the lane owner reports the rerun green. No CI rerun was started by this loop. Main merges do not stale lifecycle QA. The shared status-feed change received the targeted Claude/Codex lifecycle run and post-clear continuation on this exact merged head. The rig initially stopped with zero sends on an overstrict terminal-inventory active flag; source-traced visible native composer/session/host/fence checks replaced that rig check, with product permission and fence checks retained. Inventory selection disagreement remains an unexplained diagnostic, not a proven PR defect.

Conflict-required main sync after QA: Merge c0c261a0cb80f85d4f15e0cfb56e7e8980b8064e incorporates main 0399ffa2c6e78379bd9a264c5ab53f6b77fd90dc. The seven conflict files are:

  • src/main/ipc/ai-vault-host-leg-cache.ts
  • src/main/ipc/ai-vault.ts
  • src/main/ipc/runtime-environments/runtime-environment-subscription-handlers.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-host-types.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-status-feed-deps.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-status-feed.ts
  • src/main/native-chat/agent-session-wire/structured-agent-session-status-summary.ts

Main’s comment rewording is retained on unchanged code, and structural explanations remain where this PR changed the mechanism. Parser checks before and after the hook show six files have exactly the ad4663f code tokens. The seventh, host-types, additionally retains exactly main #31941’s StructuredAgentSessionRequestFailure type import and optional onRequestFailure dependency, which merged main callers require. The auto-merged host file combined to 302 counted lines: a local alias for the same queue-wiring import brings it to 300 with identical export/module, call position, arguments and closure; parsed-program equivalence was checked with only that local alias normalized. There is no new behavior or lint suppression.

Named tc-gate verification passed 9 suites /96 tests (7/63 for the conflict modules and inherited request-failure contract, plus 2/33 for host queue construction and quit/restart). The required node_modules/.bin/lint-staged --diff=MERGE_HEAD --concurrent false passed after that size repair; incoming main lockfiles are unchanged and no incidental churn remains. Merged-head CI is green (31 successful checks, 23 skipped); mobile web app bundle, including main’s corrected WebKit check, passed. The initial watch returned before checks registered; it was re-armed after exact-head workflow registration, without rerunning CI. No new QA was run. The completed lifecycle evidence and both marker heads remain on ad4663f, carried across this main merge.

Conflict-required main sync: merge ee0a34d600cc95d50e83b7547d81bdd7c1401db6 integrates main 456c7bf1f7965a941a8c0d7efa1b656906c733ce. The sole textual conflict was src/renderer/src/components/native-chat/native-chat-agent-message-sender-identity.test.tsx: main relocated an import and added no test cases there. The resolution retains every existing main assertion and every PR case/assertion, using main's relocated import. Named tests also exposed three stale imports in PR-added naming files; these now point to main's relocated conversation-name module with unchanged bindings and implementation. No behavior change was introduced by the resolution.

Validation for this merge: the sender identity, sender host, History structured title, and dashboard conversation-name suites passed (4 files, 39 tests) through tc-gate. The required direct merge hook passed, and incoming lockfile blobs were unchanged. Existing Claude/Codex lifecycle evidence and screenshots on ad4663f86957f2b5b8b46fc806c1d6798af9101e carry across this main merge; no new QA was run.

CI on ee0a34d600cc95d50e83b7547d81bdd7c1401db6 is green: {"SUCCESS":31,"SKIPPED":23}. The single requested blocking watch completed successfully.

Conflict-required main sync: merge 4f7192813e0d0d0bcfafb6e846e2fda3c357fcb1 integrates main e4bbbe045fba1aea2d965ca829c8f6786ae92743. The sole conflict was mobile/src/agent-history/use-mobile-agent-history-state.ts. Main removed an obsolete effect-dependency suppression comment; the PR had already removed it while making scope changes trigger History loading. The resolution keeps that cleanup and all PR behavior, including scope-dependent loading, request/client/host identity checks, association invalidation, and live naming updates. The resolved file equals the PR parent byte for byte; no executable behavior was changed by resolving the conflict.

The required direct main-merge hook passed; incoming lockfile blobs were unchanged. Three named mobile History Vitest suites were attempted through tc-gate: the association suite passed (1 test); current-host-capability and retry could not collect locally because this worktree lacks react-test-renderer. No dependencies were installed or borrowed on the shared Mac. The mobile CI configuration installs that declared dependency and selects all three suites; actual execution and results are recorded below. Existing Claude/Codex lifecycle evidence and screenshots on ad4663f86957f2b5b8b46fc806c1d6798af9101e carry across this main merge. No new QA was run.

Completed Mobile verify CI executed all three exact History suites successfully: association 1 test, current-host-capability 5 tests, retry 5 tests (11 passed; no skips in these suites). Its checkout contains PR head 4f7192813e0d0d0bcfafb6e846e2fda3c357fcb1.

The requested CI watch stopped on an incoming-main failure in ci-draft-pr-admission.test.mjs: main's new native-fingerprint job admits draft PRs. The workflow, contract test, and evaluator are identical on main and this PR. Main fix #33438 adds the missing non-draft condition. No unchanged retry was dispatched; this PR remains blocked on that main CI fix. Snapshot after the watch: {"SUCCESS":30,"SKIPPED":23,"FAILURE":2}.

Main CI-fix sync: merge aa22d565f70a0c1d04a532886f9148ad72eb5e1e integrates main 9b23bd6b6eb3ab426f80165b0c6ee5854832dcfe, including #33438's fix for the draft-admission failure reported above. It merged without conflicts and preserves the exact automatic merge tree; no PR-specific behavior was edited. Existing Claude/Codex lifecycle evidence and screenshots on ad4663f86957f2b5b8b46fc806c1d6798af9101e carry forward, with both marker fields unchanged. No new QA was run.

The required direct merge hook was attempted: oxlint and its JS-plugin step passed, then the new ast-grep step could not start (ENOENT). Main #33430 added that native tool after this worktree's dependency install. The coordinator explicitly authorized this merge only to commit with --no-verify and use CI for the ast-grep gate; no tool/dependency installation or hook suppression was performed. Later hook tasks were not reached, so this is not a full local hook pass. Incoming lockfile blobs and the automatic merge tree remained unchanged. CI results are recorded below.

CI on that merge passed the changed-lines ast-grep gate but found three existing test-pattern violations under main's new flaky-test ratchet. Tests-only follow-up 43c6b8de3933a1183142a6c29614fef0610b47f4 adds a controlled/restored fixture clock and a truthful reason for the existing cold-release integration timeout (three lines, two test files). All nine test bodies and assertions, the pinned old-client release, and the timeout value remain unchanged. Both exact named suites passed through tc-gate (9 tests), and the normal pre-commit hook passed all steps including ast-grep. No production code changed; retained QA evidence carries across this non-shipped commit. Incidental unstaged lockfile churn from the hook was discarded, preserving incoming-main lockfiles. The factory-supplied ast-grep shim became available after the merge push; the coordinator had instructed leaving that already-pushed merge for CI, and the later test commit used the complete hook.

Final CI on 43c6b8de3933a1183142a6c29614fef0610b47f4 is green: {"SUCCESS":32,"SKIPPED":23}. The blocking watch completed successfully, including static analysis/typecheck, all test shards, mobile verification, cross-version compatibility, packaging, SSH and layout checks. The prior draft-admission and test-pattern blockers above are resolved. No new QA was run.

Conflict-required main sync: merge 6644fe00d9245d607381635736440f5d09b32d8c integrates main 7d18e19907adcc2fe039f2eafb4aa40dca0c707c, including the repository comment cleanup in #33249 (7d6603aa). All 24 conflicted files retained the PR's executable code and assertions while adopting main's removed/shortened comment style. Incoming changes in these conflicted paths were comments only; parser token and normalized AST comparisons passed for all 24 files before and after the hook. There were no logic exceptions or behavior changes in the resolutions. Conflicts covered mobile History and bridge-test support, desktop title validation, History display/refresh, Activity/dashboard naming, shared wire/capability/name types, and the cross-version checkout helper.

Validation: ten named desktop suites passed (146 tests), four named mobile suites passed (54 tests), and two explicitly selected budget cases passed without running build cases. Four additional named mobile suites could not collect locally because this worktree lacks react-test-renderer: current-host-capability, retry, operation-module-loader, and rpc-recording-through-bridge. No dependency was installed or borrowed; CI's execution evidence for those suites is recorded below. The required full direct main-merge hook passed, including ast-grep. Incoming lockfile blobs were unchanged. Existing Claude/Codex lifecycle evidence and screenshots on ad4663f86957f2b5b8b46fc806c1d6798af9101e carry across this main merge; both marker fields remain on that QA head. No new QA was run.

Completed Mobile verify CI executed all eight exact affected suites: 873 tests passed, zero skipped in those suites. This includes the four locally blocked suites; the bridge suite ran 801 tests over 795 goldens plus aggregate/closure contracts. Its checkout contains exact PR head 6644fe00d9245d607381635736440f5d09b32d8c. The existing corpus limitations remain disclosed: the unchanged residual labels are baseline evidence, not a claim that all recorded flows are byte-identical or that recorder limitations were removed. This is CI execution evidence; no additional app QA was performed.

Final CI on 6644fe00d9245d607381635736440f5d09b32d8c is green: {"SUCCESS":33,"SKIPPED":23}. The registered blocking watch exited successfully, including static analysis/typecheck, all test shards, mobile verification, cross-version compatibility, packaging, SSH and layout checks. No CI rerun or new QA was needed.

@brennanb2025
brennanb2025 merged commit 3aec926 into main Oct 25, 2026
56 checks passed
bokeeeey added a commit to bokeeeey/orca that referenced this pull request Oct 26, 2026
stablyai#31602 made `rowConversationName` take the chat tab names and unified tabs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fixfy-claude added a commit to anderson-fixfy/orca-fixfy that referenced this pull request Oct 27, 2026
O /rename passa a chamar o setUserConversationName do host, como o
rename pela aba desde o stablyai#31602. O nome ganha a origem
'user': a nomeação automática não o troca, e o /clear (stablyai#32287) o mantém
em vez de dar um nome automático novo. O host já publica o nome e
retitula a aba, então o /rename não faz mais isso por conta própria, e
a montagem em workspace-process-listing.ts volta a uma linha.

Rodada da fixfy-orca, 2026-10-26: "Gravar como nome do usuário
(Recomendado)".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Fartown pushed a commit to Fartown/orca that referenced this pull request Nov 3, 2026
ownsContainer was designed for terminal splits and stays false for native chat
tabs, which have no terminal layout. Activity therefore fell back to the bare
agent label ("Codex") while Dashboard showed the chat tab's name ("Codex
Chat"), breaking upstream stablyai#31602's shared-name contract. A native chat tab
holds exactly one session, so its label now names that session.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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