Repository navigation
feat(workspace): add native Home and Sessions workspace - #1541
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. Reviewed September 30, 2026, 6:41 PM ET / 22:41 UTC (Revision 30). ClawSweeper reviewWhat this changesThe branch adds a native Home and Sessions workspace for chat, separates Settings into a companion window, and changes gateway-backed agent controls, launch routing, setup recovery, and installer startup behavior. Merge readiness⛔ Blocked before merge - 11 items remain Keep this PR open. Current main still hosts chat in the Settings Hub, so the native Workspace remains a distinct contribution. The current branch has unresolved correctness and proof blockers. Priority: P2 Review scores
Verification
How this fits togetherThe Windows tray app receives launches, tray actions, and gateway agent and session data. Its window router opens setup, Workspace, or the Settings companion; Workspace then displays conversations and sends authenticated gateway actions. flowchart LR
A[Launch and tray actions] --> B[Window routing]
C[Gateway agents and sessions] --> D[Native Workspace]
B --> E[Setup]
B --> D
B --> F[Settings companion]
D --> G[Chat and gateway actions]
Decision needed
Why: The PR explicitly documents the portable migration gap; accepting that user-visible upgrade change requires maintainer intent. Before merge
Findings
Agent review detailsSecurityNeeds attention: The new avatar path lets a gateway-supplied HTTPS URL authorize its own outbound host; no unrelated third-party dependency addition was found. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Ship the separate Workspace with independently authorized avatar sources and quiet startup for existing users, backed by current-head native and signed-upgrade proof. Do we have a high-confidence way to reproduce the issue? Yes at source level for the review findings: an argument-free portable logon reaches the new Hub route, a roster avatar approves its own host, and a concurrent roster read skips the post-creation refresh. This read-only review did not execute Windows. Is this the best way to solve the issue? No, the separate native shell is a coherent way to address the current Hub coupling, but this branch needs the identified boundary and upgrade repairs before landing. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 3eed1f1bac56. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (29 earlier review cycles; latest 8 shown)
|
Adversarial review verdictReviewed head Both models agree: HIGH consensusNo shared findings. Only one model flagged: LOW consensus
Actionable finding: The other findings are not demonstrated current defects: explicit background deep links may be intentional, unload cleanup is idempotent, and existing route tags are registered. No changes recommended for those observations. Fix confidence estimates implementation straightforwardness, not certainty of a defect. Per maintainer request, implementing the selection guard next. This comment records the review verdict, not a claim that the fix is already validated. |
* Seed v3 Colophon design system for OpenClaw Windows Hub Carry over the v1 design.json tokens/brand/authority and principles.md verbatim, port all 9 components (Button, Field, Card, Badge, ComposerPicker, ChatBubble, ChatComposer, ChatThread, ExampleScreen) from raw-CSS attrs.style to v3 Auto Layout with token-bound layout/appearance, and add a v3 colophon.jsonc presentation profile. Adds the idempotent Colophon pointer block to AGENTS.md. Co-authored-by: Copilot App <[email protected]> * Reconcile chat composer/thread/picker with shipping Reactor UI ComposerPicker now follows the Fluent ComboBox pattern (bordered control fill + hairline border, ink value, right-aligned muted chevron). ChatComposer and ChatThread are realigned to the actual ReactorChatComposer/ReactorChatTimeline implementation: - ChatComposer toolbar: adds session picker, speaker, and settings; notes the Send<->Stop toggle; binds ControlFill/ControlStroke (control/controlLine) instead of Card resources; 12px outer margin. - ChatThread/ChatBubble: user bubble uses the softer accentSubtle (AccentFillColorSecondaryBrush) with a hover Copy; assistant bubble uses subtleHover fill + controlLine border, adds Read aloud, and max-width 720. Adds 3 tokens the system did not cover: control (ControlFillColorDefaultBrush), controlLine (ControlStrokeColorDefaultBrush), accentSubtle (AccentFillColorSecondaryBrush). Preview hex only; code binds the resource keys. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * Port composer pickers to Fluent ComboBox; point port authority at WinAppCli Reactor port of the design system's ComposerPicker into the shipping composer: ReactorChatComposer.PickerButton now renders a bordered Fluent ComboBox (ControlFill fill, ControlStroke hairline border, primary-text value, right-aligned muted chevron pinned by a Star/Auto grid, radius 4, MinWidth 64, padding 12/8) instead of a borderless subtle button. Session/model/reasoning selection still opens the existing MenuFlyout of RadioMenuItems. design.json: add a winapp (WinAppCli, https://github.com/microsoft/WinAppCli) tooling reference to authority and a toolingSource on both the default WinUI 3 port and the Reactor chat override, since XAML and Reactor now build/package through winapp. Update the composer chevron contract test to assert the ComboBox styling. Remove em dashes from the Colophon pointer block in AGENTS.md so the repo doc validator (no em dashes in user-facing docs) passes. Validation: build.ps1 OK; OpenClaw.Shared.Tests 3989 passed; OpenClaw.Tray.Tests 2897 passed; design-system validators (componentsio/profileio/validateDesignDir) OK; rubber-duck review clean. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * Revert composer pickers to subtle dropdown style The bordered Fluent ComboBox port regressed the composer's session/model/reasoning selectors. Restore the subtle inline dropdown the surface is meant to ship: ReactorChatComposer.PickerButton goes back to a borderless, transparent button (SubtleFillColorTransparent resting, subtle hover/press, muted value + trailing chevron with a small right/up offset). Update the design system's ComposerPicker to the same subtle pattern (transparent fill, no border, muted text/chevron, gap/padding tokens 1/2) and rename the contract test to ReactorComposer_StylesPickersAsSubtleDropdown. The WinAppCli port authority (design.json) is unchanged. Validation: build.ps1 OK; OpenClaw.Shared.Tests 3989 passed; OpenClaw.Tray.Tests 2897 passed; design-system validators OK. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * Revert composer picker production code; keep design-system seed only This PR is design-system seeding only. Restore src/OpenClaw.Tray.WinUI/Chat/ReactorChatComposer.cs and tests/OpenClaw.Tray.Tests/ChatTimelinePresentationTests.cs to their main state, removing the composer picker code port entirely. The design system (.agents/design/*) still describes the subtle inline dropdown that the app actually ships, and design.json keeps the WinAppCli port authority. No production code or tests are changed by this PR. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * Match ChatComposer preview to the shipping composer Update the ChatComposer sample values and placeholder to mirror the real Reactor composer (Message Assistant placeholder; Main session / Claude Sonnet 5 / Default pickers), and note that a picker with a single option (the session picker with one session) renders disabled so its label reads lighter than its enabled neighbours. Design data only; no code or token changes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: give chat-component buttons the ds-btn reset class The ComposerPicker and the chat icon/send/copy buttons rendered with the browser default button bevel in the Colophon preview because they were the only authored el:button nodes without the canonical ds-btn reset class (border: 1px solid transparent). Adding it drops the retro OS chrome so the subtle borderless pickers render as intended; inline appearance still drives radius, color, and the Send accent fill. Design-only, no production changes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: render composer subtle pickers/buttons as WinUI subtle controls The composer pickers and toolbar icon buttons ship as WinUI subtle DropDownButtons / transparent Buttons (SubtleFillColorTransparent rest, SubtleFillColorSecondary hover, SubtleFillColorTertiary press, ControlCornerRadius, TextFillColorSecondary glyph) - verified against the canonical ReactorChatComposer PickerButton and WinUI Fluent resources. In the web preview these were rendering as native <button>s (browser chrome plus the ds-btn web button weight), which read as Fluent-web rather than Fluent-Windows. Represent them as role-annotated elements so the transparent WinUI rest state shows cleanly; only the filled primary Send stays a real button. Notes now name the WinUI control and resource ladder explicitly. Design-only, no production or test changes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: render composer input as a borderless transparent textbox The composer message input was a raw <textarea>, so the preview showed the browser's default field border. The design intent is a borderless, transparent WinUI TextBox (the hairline border belongs to the outer control panel, not the input). Render it as a borderless contenteditable textbox (role=textbox) showing the muted placeholder, so no field border shows in any theme, while keeping it typeable. Design-only, no production or test changes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: remove web focus outline from composer input preview Clicking the composer input showed the browser's :focus outline ring, a web-Fluent artifact that only appeared because contenteditable made the div focusable. A Windows Fluent TextBox has no such ring. Render the preview input as a non-focusable role=textbox div (drop contenteditable) so no focus outline shows on click, keeping the static borderless rest-state representation. The real focus cue (accent underline) ships on port. Design-only. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: restore typeable composer input; route focus-ring to extension Interactive editability is the point of the web preview, so keep the composer input contenteditable (typeable). The browser's :focus outline ring that shows on click is a web-Fluent artifact the static renderer cannot suppress from design-only JSON (appearance has no outline key; raw style attrs are rejected). Document that caveat and route the fix (suppress web outline / show a Windows accent-underline focus cue) to the Colophon extension, tracked in karkarl/colophon#14. Design-only. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: adopt colophon #16 interaction model for composer input and pickers Re-express the chat composer's borderless input, subtle picker/icon buttons, and picker flyout using the schema-pure interaction keys (control/states/on) from the colophon #16 components schema, replacing the earlier focus-ring-routing workaround. No raw CSS; all tokens bind to design.json. - ComposerPicker root is now a real transparent button: control.chrome none removes the web button border, control.focus supplies the Windows accent focus rectangle, and states carry WinUI subtleHover/subtlePressed plus a disabled shade. on.click opens a representative single-select ComposerPickerOptions flyout (targets take no props). - New ComposerPickerOptions component: WinUI RadioMenuItem-style flyout on a surface sheet with md radius/shadow. - chat-composer-input renders borderless and typeable with an accent underline on focus (control.chrome none + control.focus underline), dropping the web focus ring. - The four subtle icon buttons (add context, dictate, read aloud, chat settings) become real buttons with transparent rest state and WinUI hover/pressed/hoverPressed states. - Notes refreshed to describe the real button + control model and drop the obsolete combobox-div and web-ring caveats. Design-only: no production or test files touched. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: show accent checkmark for selected composer picker option Replace the radio-dot selection indicator in ComposerPickerOptions with a reserved leading glyph column that renders an accent checkmark on the selected row, matching WinUI RadioMenuItem selection. Preserves menuitemradio/aria-checked semantics. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design: render composer picker checkmark with Segoe Fluent Icons glyph Use the Fluent icon CheckMark (U+E73E) in the Segoe Fluent Icons font for the selected ComposerPickerOptions row instead of a generic Unicode check, matching WinUI menu selection glyphs. Document the icon font as an 'icon' typography family (SymbolThemeFontFamily provenance); the glyph keeps its accent color token-bound and applies the icon font via a font-family-only raw style, since the token appearance.fontFamily is capped to display/body/mono. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * seed(design): migrate Colophon design system to DESIGN.md convention Re-express the v3 seed in Colophon's new DESIGN.md format (karkarl/colophon#20): - Add root DESIGN.md carrying every token, Fluent `resource` mapping, the `authority` port targets (WinUI 3 default + Reactor chat override + winapp tooling, owner, sync process), per-color dark/high-contrast themes, and the OpenClaw principles prose (voice, hierarchy, do/don't, anti-references). - Remove legacy .agents/design/design.json and .agents/design/principles.md; loadDesign now errors if both DESIGN.md and design.json coexist. - Keep .agents/design/components.jsonc and colophon.jsonc unchanged. - Repoint the AGENTS.md Colophon block at DESIGN.md. Validated with the colophon validate.mjs CLI at commit cca8a71: design system is valid. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * fix(design): remove em dashes from DESIGN.md and AGENTS.md for docs policy CI user-facing documentation check forbids em dashes. Replace them in the DESIGN.md front matter token descriptions and the managed AGENTS.md Colophon block with commas, periods, and parentheses. Front-matter edits stay YAML-safe (no colon-space introduced into plain scalars); colophon validate still passes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * seed(design): align chat surface with native home refresh (#1459) Carry Barbara Kudiess's native chat modernization (#1459) into the Colophon seed as design-only guidance. DESIGN.md: bubble radius 16->12 and new composer radius (20px); accentSubtle documents the chat-local ChatUserBrush binding; icon token gains the ChatSubmit/ChatAttach/ChevronDown/Stop Fluent glyph aliases; new Chat surface section covering ChatResources brushes, Mica/content-layer layering, reading geometry, and footer controls, sourced from docs/CHAT_VISUAL_DESIGN.md and Themes/ChatResources.xaml. components.jsonc: ChatComposer panel now uses the composer radius and notes ChatComposerBrush/ChatStrokeBrush plus the Send/Stop/Attach glyphs; ChatBubble binds ChatCardBrush/ChatTextBrush with ChatSecondaryTextBrush code text and a ChatCopySuccessBrush copy checkmark; ComposerPicker notes the AutoSuggestBox+ListView model picker and slider/gauge effort picker with ChatPickerAccentBrush; ComposerPickerOptions flyout corners bump to lg (12px); ChatThread user bubble binds ChatUserBrush. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * seed(design): make assistant chat turns bubbleless (#1459) The refreshed native chat renders assistant turns as plain prose flowing in the reading column (avatar + prose + footer), with only the user's own message on a soft ChatUserBrush bubble. The seed still wrapped the assistant message in a card, so correct ChatBubble and the DESIGN.md chat notes to match. components.jsonc: ChatBubble message drops the fill/border/bubble-radius/padding and flows as ChatTextBrush body prose with a 16px (token 3) block gap; note and ChatThread note now state the assistant turn is bubbleless while code surfaces and the user bubble keep the bubble radius. DESIGN.md: Chat surface geometry and Shapes clarify that assistant prose is bubbleless and the bubble radius applies to the user message and code surfaces. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * seed(design): add workspace shell components from production (#1541) Populate the seed with the native Home and Sessions workspace surfaces shipped in #1541, using the app as the source of truth instead of placeholders. All bindings follow the real ThemeResource keys in WorkspaceWindow.xaml and the Controls XAML. components.jsonc: add AgentIdentityBadge (PersonPicture + name/id), ConnectionStatusFlyout (GatewayStatusContent 304px status rows with system-fill dots and action links), NotificationFlyout (NotificationFlyoutContent cards, warning recurrence badge, empty/footer), and WorkspaceShell (Mica window, 256px NavigationView pane, assistant selector, Home/Sessions nav, Owner footer + notifications bell mounting the Reactor chat). meta.note records the #1541 provenance. DESIGN.md: add a Workspace shell section documenting the pane, Owner footer (authenticated users.self with honest fallback), connection-status and notification flyouts, and the sidebar/toolbar glyph aliases. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * seed(design): hyperlink buttons and agent presence dot Address review nits on the #1541 workspace components. components.jsonc: model the four accent flyout links (Approve, Open Connection, Clear all, Open notifications) as real WinUI HyperlinkButtons (transparent subtle button chrome via control.chrome:none, accent text, accent focus rectangle, subtleHover/subtlePressed states) instead of plain anchors. AgentIdentityBadge now carries a presence status dot on the avatar bottom-right (10px pill with a paper ring, state-colored like the connection dots) and ships as a subtle transparent button with hover/pressed states, matching its assistant-selector and Owner-footer roles. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * seed(design): revert agent badge to plain row with dropdown chevron The presence dot and subtle-button treatment belonged to the Owner profile button, not AgentIdentityBadge. Restore AgentIdentityBadge to a plain identity row (avatar + name/id) and add a trailing muted ChevronDown (U+E70D) so it reads as the assistant selector's dropdown trigger; the enclosing transparent ComboBox supplies the dropdown chrome, hover/pressed, and focus. HyperlinkButton link treatment is unchanged. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * seed(design): agent badge subtle-button interaction and single nav selection AgentIdentityBadge: restore the subtle transparent DropDownButton interaction (control.chrome:none rest, subtleHover/subtlePressed states, accent focus) while keeping the trailing dropdown chevron. WorkspaceShell: drop the assistant selector's duplicate chevron (the badge already carries one) and simplify the selector to a plain container so the badge is the sole trigger. Deselect the session row so the pane has a single NavigationView selection (Home), matching native single-select behavior. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): add UserIdentityBadge and left-align agent badge text Add a UserIdentityBadge component (owner/account identity) modeled on the WorkspaceWindow PaneFooter Owner button: a 24px avatar left of a display name over a connection-status line that pairs a leading status dot (positive/warning/critical/muted) with a muted caption. Ships as a subtle transparent WinUI Button. Wire the WorkspaceShell owner footer to reference it instead of the duplicated inline block. Left-align the AgentIdentityBadge name/handle text. Update the DESIGN.md Owner footer note. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): audit production controls into Basic/Setup/Chat/Settings Expand the v3 Colophon catalog to mirror shipping WinUI 3 code with hover and pressed states on every interactive control. Adds Basic controls (SubtleButton, HyperlinkButton, ToggleSwitch, StatusDot, Avatar, InfoBar), Setup composites (SetupProgressIndicator, RecommendedBadge, ProviderArtwork, SetupOptionCard, CapabilityOptionRow, SetupPhaseStatus, SetupWizardShell), ChatCopyButton, and Settings composites (SettingsSectionHeader, SettingsCard, SettingsToggleRow, SettingsExpanderRow, SettingsWindowShell). Reconciles ChatComposer footer to the production Voice + Send/Stop cluster. All 34 components validate; DESIGN.md Components catalog updated; no em dashes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): add setup chat and settings sidebar pages Persist filtered component selections in DESIGN.md, document the built-in catalog limitation, and correct the chat design link. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): refine native controls and preview states Align typography, TextBox, Card, SubtleButton, PersonPicture and InfoBar references with WinUI. Remove the static toggle state gallery and preserve StatusDot dimensions. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): mirror current production chat surfaces Align assistant and user messages, composer geometry, Fluent glyphs and translucent resource colors with production 9e4999c. Preserve native/browser 120-DPI comparison evidence and document Mica, font and renderer limits instead of claiming pixel identity. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): add composer picker option hover states Add token-bound row hover and pressed fills with rounded corners. Keep selection stable and replace the checkmark's overriding inline style with semantic typography. Document the existing high-contrast preview limitation. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): animate toggle and mirror production workspace Add instance-local ToggleSwitch interactions and native motion. Reconcile WorkspaceShell artwork, pane and button geometry, identity footer, and disconnected content with production. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): refine catalog pages and native setup controls Organize shared controls and feature previews, reuse accent badge and normal button variations, and align setup backplates and interactions with their documented native resources. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): refine settings and notification flyout previews Checkpoint passive iconless settings rows, shared geometry, full-header disclosure and a content-only Settings shell. Restore the Fluent chevron slot and add the notification flyout presenter backplate with token-bound shadow and preview clearance. Disclosure remains immediate with a fixed chevron. Native animation support is handed off to Colophon upstream; current-source browser and native visual proof remain uncollected. Application code and the installed plugin are unchanged. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 * design(colophon): map notification flyout to native resources Preserve native presenter/card alpha, authored spacing, Fluent glyphs and the supplied empty-state reference. Document browser rendering limits without claiming native pixel identity. Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3 --------- Co-authored-by: Copilot App <[email protected]> Copilot-Session: ac8d03a2-7198-43dc-8506-709986d6e1d3
What Problem This Solves
Chat needs a focused native Workspace instead of sharing navigation and lifetime with Settings.
User Impact
Workspace is the landing window for configured profiles, with Home, configured agent identities, reusable conversations, and a draft-preserving composer. First-run profiles open setup instead. Settings remains an independent native companion. New agent uses the existing gateway creation operation; Sessions + still creates conversations.
Latest head:
c39cce5944be6a36eccacd69947f8add52e95272, rebased onto04a880fe9488dbbd68ef786c1ebdc03c240c26c6. GitHub reports no merge conflicts.users.selfprofile:displayName, first email, then localized Owner. The subtitle is live connection status, matching current macOS footer text. A resource-themed colored dot precedes that status. Profile changes refresh the display; stale responses cannot overwrite a replacement connection.9NV70LV3D6XC, not a pinned MSIX version; healthy installations are not silently upgraded during setup.Why This Change Was Made
Native WinUI/Fluent chrome, a fully hidden/reopened sidebar, selected session rows, Owner menu, and notification/connection flyouts reuse the mounted Reactor chat host. Completed runs remain reusable conversations.
Native agent containers survive roster refresh. Administrator-gated creation validates the real response and retains drafts; the creation dialog inherits the invoking window theme.
WindowManagerremains the window-routing/lifetime owner and gates Workspace activation through existing setup eligibility.StartupSetupStateclassifies configuration, not node authorization.WorkspaceNavigationHistoryowns destination identity;WorkspaceIdentitySourceowns display-only self-profile loading.GatewayServiceforwards profile-identity invalidation toAppState. App remains the composition root. Native setup retains its existing package-identity checks and descriptor-only recovery owner. The architecture ledger documents these owners and preserved invariants.Production-only scope: no
.agents,.github,AGENTS.md, orDESIGN.mdchanges in the PR diff. All 11 local Colophon/prototype handoff artifacts were SHA256-verified after rebase and remain preserved locally. Original design session untouched.Evidence
Current-head native gateway UI assertions verify Fixture Owner / Connected, the successful
users.selfrequest, assistant-selection gating, cross-agent Back/Forward, transcript/draft retention, and Light/Dark sidebar geometry. Fixture names and messages are synthetic test data, not shipped records or customer data.Upstream contracts: macOS-hosted footer text, canonical self-profile loading, and agent creation schema.
Historical screenshot proof at
50da59b2: native Windows UI/accessibility job and screenshot/TRX artifact. These captures predate the latest changes and are not current-head visual proof. Superseded embedded screenshots have been removed to avoid that implication.Change Type
Scope
winnodeRequired proof pools
windows-11-arm64: current-head full build and isolated native gateway/sidebar/startup UI proof passed.windows-winui-interactive: current-head UI Automation assertions and Light/Dark geometry passed. Desktop screenshots, native recovery-dialog visual proof, and direct physical tray-click proof remain unavailable locally; historical x64 CI captures are linked separately above.windows-clean-installer-upgrade: development-to-Store unfinished-draft recovery affects the upgrade boundary. Both supported runtime-contract regression cases passed; exact signed-artifact clean-install/upgrade/repair/uninstall pool execution is Not verified / blocked. A no-upgrade-available WinGet result is not full pool proof.Validation
The following ran at exact head
c39cce5944be6a36eccacd69947f8add52e95272, using this worktree asOPENCLAW_REPO_ROOTand isolated test profiles..\build.ps1Gateway UI uses
OPENCLAW_RUN_GATEWAY_FIXTURE_UI=1, the current ARM64 executable asOPENCLAW_GATEWAY_FIXTURE_APP, andOPENCLAW_GATEWAY_FIXTURE_SCREENSHOTS=0. It launches a real isolated native app against the loopback gateway fixture. No production agents or gateway directories are created by these tests. The initial normal build was blocked by the running current-worktree app; after stopping only that exact process, the full required validation was rerun successfully. Existing ONNX assembly-conflict and generated obsolete-Icon warnings remain.Earlier head
50da59b2additionally passed Winnode CLI (127), local accessibility (23), CI native Tray UI (222 passed / 7 not executed), functional UI (19), and CI accessibility (23). Those counts are historical, not reruns for the new head. New-head CI is not claimed complete here.Real behavior proof
Current-head fixture assertions cover authenticated footer identity/status, real history switching, cross-agent Back/Forward, retained drafts, selection-required creation gating, confirmed
agents.create, no unintendedsessions.create, server-returned roster refresh, Workspace-first MCP search, and delayed-history isolation. Light/Dark native geometry cases verify sidebar backplate alignment. Source contracts cover the status dot's resource, ordering, and accessibility behavior; no current-head colored-dot screenshot is claimed.Four native startup cases passed: unconfigured initial/repeated/deep-link activation shows only setup; configured activation shows only Workspace without requiring node pairing; post-setup restart does not reopen setup; unreadable identity keeps Workspace recovery available. Another native case verifies default launch and companion refocus preserve the composer draft.
Package-family recovery regression cases cover Legacy and IsolatedSessionV1 contracts: descriptor unchanged before consent, fresh profile after discard, old data preserved, and no registry publication. The user's explicit Store refresh reported no available upgrade; the installed Store-signed ARM64 Gateway was
2026.9.406.0. This is acquisition metadata, not authenticated provider or completed onboarding proof.After validation, the current Debug app was relaunched with
.\run-app-local.ps1 -NoBuild -AllowNonMainusing the existing normal profile. Its exact current-worktree executable was verified running and responsive with window titleOpenClaw. Gateway configuration and pairing were not reset during publication.Review: the earlier dual-model verdict was posted in this comment; its required-agent-selection finding is fixed. Focused startup rubber-duck findings about post-setup suppression and corrupt-identity handling were fixed and covered by the native startup cases. The owner review's excessive session-triggered profile refresh was replaced by explicit
profile-identityinvalidation; stable unavailable profiles avoid repeated requests, and blank labels retain an accessible Owner fallback.Structured autoreview was attempted in local and commit modes. Local mode failed closed before engine invocation because preserved untracked Colophon JSON files exceed its safe scan size. Commit mode failed closed on secret-like content in the review bundle before engine invocation. Guards were not weakened. No clean structured autoreview is claimed.
Not verified / blocked: current-head desktop/Mica or high-contrast screenshots, direct physical tray-click proof, native package-recovery dialog visual proof, full signed-artifact installer/upgrade pool, production-gateway authenticated profile/mutation/provider sign-in, and blanket contrast compliance. Native render diagnostics are not represented as desktop captures. No real WSL Gateway/system.run E2E rerun is claimed; this closeout does not change WSL setup or command execution.
Security Impact
operator.admin; self-profile reads require existing self-read-compatible operator scopes.agents.createand read-onlyusers.selfthrough the existing gateway client. Profile payloads/names/emails are not logged. Existing bounded avatar loading remains unchanged.app.searchremains available with Workspace foreground. No new node command. Production Store installation retains its missing-package-only policy.Compatibility and Migration
Review Conversations