Repository navigation
improve(settings): reorganize Companion pages - #2030
Conversation
Consolidate notification preferences and managed Gateway controls in General, move app access consent to Permissions, and keep updates and app information in About. Move Connection under System and flatten Config navigation. Remove Event Stream and its unused backing state, preserve supported route aliases, and reject removed or unknown destinations. Co-authored-by: Copilot App <[email protected]>
|
🦞👀 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 maintainer review before merge. What this changesThis PR reorganizes Companion Settings into clearer page groups, separates About and app-access consent, and removes Event Stream. Example: A user searches for Notification preferences.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored draft open. The reorganization remains absent from main, the earlier merge conflict is resolved, and review found no introduced correctness or security defect. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherCompanion navigation accepts sidebar, search, and app.navigate destinations; the page registry selects native pages whose existing stores and services persist preferences or perform Gateway actions. flowchart LR
A[Sidebar and search] --> C[Page registry]
B[Local MCP navigation] --> C
C --> D[General and About]
C --> E[Permissions]
D --> F[Existing settings and Gateway services]
E --> F
Technical reviewBest possible solution: Land the existing page-owner reorganization while preserving shared settings, chat streaming, and offline Connection access. Do we have a high-confidence way to reproduce the issue? The requested organization is directly observable in source and native screenshots; this PR does not depend on reproducing a reported crash or runtime failure. Is this the best way to solve the issue? The change uses the existing registry, settings store, view models, and action services, removes the replaced Event Stream path, and avoids introducing another notification-preferences page or persistence owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 1d8e42687247. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReviewed November 6, 2026, 7:32 PM ET / November 7, 2026, 00:32 UTC (Revision 4). |
Preserve main's shared SearchHost while integrating PR 2030. Add canonical About/General search metadata and alias grouping, update native/MCP persistence and keyboard proof, and copy stable setup assets into the Release test host. Co-authored-by: Copilot App <[email protected]>
Current-source native behavior proofCandidate: Native Windows ARM64: four selected tests passed in Debug and four passed in non-Dev, unsigned Release, with zero failures or skips in each successful run. These were real Companion processes with a synthetic loopback Gateway, disposable profiles and unique MCP endpoints. No installed app, real Gateway, WSL distro or package registration was modified. The screenshots below are inspected, unedited captures of the Release run. The Release proof ran before the commit on the exact tree above, recorded before execution and matched to the committed tree. This establishes source correspondence, not a post-commit execution claim. Release Companion assembly SHA256:
Release fixture runs: Live MCP and persistence observationsThe following is a reduced transcription of the real MCP responses and the owned profile's persisted booleans, not mocked expectations: {
"app.search:Connection": [{"Title":"Connection","Icon":"\uE839","Group":"Settings","OpensDashboard":false}],
"app.search:About": [{"Title":"About","Icon":"\uE946","Group":"Settings","OpensDashboard":false}],
"app.search:Notification preferences": [{"Title":"General","Icon":"\uE713","Group":"Settings","OpensDashboard":false}],
"app.search:Event Stream": [],
"app.navigate:agentevents": {"isError":true,"text":"Unknown companion Settings route. (Parameter 'tag')"},
"app.navigate:agent:main:agentevents": {"isError":true,"text":"Unknown companion Settings route. (Parameter 'tag')"},
"persisted": {
"ScreenRecordingConsentGiven":true,
"CameraRecordingConsentGiven":true,
"LocationConsentGiven":true,
"EnableNodeMode":false,
"NodeScreenEnabled":false,
"NodeCameraEnabled":false,
"NodeLocationEnabled":false
}
}Consent fields remain inaccessible through Limits and retained failure history
Screenshots, in order: General notification preferences; About; Permissions app-access consent; shared search resolving notification preferences to General. |
|
@clawsweeper re-review Updated head a368b86 integrates main and preserves the shared navigation search. Full build, Shared (4,950 passed, 24 skipped), Tray (5,137 passed) and CLI (129 passed) closeout passed. Four native ARM64 tests passed in each of Debug and non-Dev unsigned Release, covering rendered pages, keyboard search, notification/consent persistence, Diagnostics visibility, local MCP discovery and removed-route rejection. The PR body now contains exact commands and source correspondence. Inspected Release screenshots, live MCP observations and explicit migration/upgrade limits are attached at #2030 (comment). Please reassess this revision using the updated evidence. |
|
🦞👀 Re-review progress:
|
Rename page and navigation labels across all supported locales, retain the model route and legacy search alias, and replace the sidebar sparkle with attributed Fluent cube artwork. Co-authored-by: Copilot App <[email protected]>
Move Agents and Sessions under Agents and tools alongside Models and Local AI. Preserve route identities and existing gateway visibility rules, translate the section heading in all locales, and update the grouping contract. Co-authored-by: Copilot App <[email protected]>
Keep Connection and its Gateway heading visible offline, capitalize Agents and Tools, and exercise the real offline navigation path without weakening the fixture isolation or input guards. Co-authored-by: Copilot App <[email protected]>
Keep high-contrast fallback coverage after moving Connection out of System, and wait for settled page geometry before capturing the offline Connection page. Co-authored-by: Copilot App <[email protected]>
Models and Agents and Tools follow-upHead
The attached screenshots are from the real final-production-source ARM64 Debug app, using isolated profiles and synthetic Gateways. Four native fixture cases passed with no skips, including navigation, native keyboard search, persisted consent and notification settings, Diagnostics visibility and offline Connection access. The offline case was then rerun successfully after adding the existing settled-geometry wait for its screenshot. The app bytes are unchanged since The online screenshot shows the final Models label/cube, section capitalization and placement. The offline screenshot shows Connection still selected and available under Gateway while the fixture holds the operator handshake. This is native application-boundary proof, not successful real-Gateway pairing. The prior Models revision Classifier negative controlTo check the previously unproved failure direction, I temporarily reinstated the original hasSetupState || LocalGatewayUrlClassifier.IsLocalGatewayUrl(legacyGatewayUrl)
The original eligible migration-card and latest-stable installed-profile upgrade gaps remain. Those require an authorized disposable Windows installation host; no shared installation or profile was modified to manufacture proof. The latest ClawSweeper verdict on |
Merge 4db2960, preserving Dashboard routing for retired Channels and the Windows owner-profile fallback while retaining this branch's Settings layout and Event Stream removal. Co-authored-by: Copilot App <[email protected]>
Include fc777f2 after main advanced during integration. Preserve the shared WSL inventory helper and coexisting-installation evidence with the reorganized General page. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|






What Problem This Solves
Companion Settings spreads related preferences, Gateway maintenance, app information, and permissions across overlapping pages and navigation groups.
User Impact
User impact: General now holds notifications and managed Gateway setup, onboarding, and removal; Connection remains under Gateway; About owns app and Gateway information and updates; Permissions owns app-access consent. Agents, Sessions, Models, and Local AI are grouped under Agents and Tools, Config is directly accessible, and the empty Advanced group and Event Stream page are removed. The sidebar has no dividers, and the user's pane choice persists through pinned-page navigation. Event Stream routes now return an error instead of reporting successful navigation. No settings or credential migration is introduced.
Why This Change Was Made
The reorganization moves existing controls and handlers to their intended page owners, removes Event Stream state and subscriptions, and retains existing settings storage and offline Connection access. Search aliases and page navigation are updated with the page layout.
Evidence
dea30740aa025b659bd30655f0d5b257205f6677. The hosted merge ref wase4574005b4933a6a7706b018a61982cb06558ffa.GatewayFixtureandWorkspaceProofscreenshots from that merge ref. Inspected images show General with notifications, a separate About page, and Connection reachable under Gateway.ReactorChatLayoutProofTests.ReasoningPicker_UsesOnlyAdvertisedChoicestesthost crash; attempt 2 passed. The same crash is recorded indocs/CI_FAILURES.md. The PR changes do not touch the reasoning picker.GatewayFixtureUiTests; the current hosted fixture run passed all 81 scenarios. An independent rubber-duck review of the merged change found no production defect.dea30740and is not presented as a new current-head run.Change Type
Scope
winnodeRequired proof pools
windows-winui-interactive: current hosted fixture UI and screenshots exercise the reorganized pages; earlier local native ARM64 and MCP proof is linked above, but is not a full-pool or exact-current-head claim. Eligible packaged migration-card and installed-app upgrade behavior remains unverified.Validation
./build.ps1dea30740.dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore42310656928, attempt 2The earlier local native fixture UI attempt executed 81 cases: 80 passed and 1 failed with a missing assistant-selector element in
GatewayFixtureUiTests; the corresponding hosted fixture run passed 81/81. The initial hosted UI attempt crashed in the unrelated reasoning-picker test noted above; only failed jobs were rerun, and attempt 2 passed. The Setup/connect E2E job skipped its MXC-specific tests; this page reorganization does not change MXC orsystem.runbehavior.Real Behavior Proof
dea30740aa025b659bd30655f0d5b257205f6677; hosted merge refe4574005b4933a6a7706b018a61982cb06558ffa.UI, functional, and accessibility testsjob, including the mock Gateway fixture scenarios and the latest-stable released-profile compatibility test.WorkspaceProof\Light-settings.png,WorkspaceProof\Light-about.png, and Gateway fixture screenshots for Settings and Connection.ReleasedProfile_PreservesGatewayRecordsIdentitiesAndSettingspassed 1/1 against the synthetic released profile.Yes/No/N/A): Yes. Downloaded the current attempt's artifact and inspected the referenced screenshots.c714954e, while upstreamorigin/mainis3435fbae; this CI run tested the merge ref based onc714954e, not the newer upstream tip. No later main integration was performed.Security Impact
Yes/No) No. Existing app-access consent is relocated, not expanded.Yes/No) No.Yes/No) No.Yes/No) Yes.app.navigaterejects removed or unknown companion destinations before navigation side effects.Yes/No) No.Yes, explain the risk and mitigation: The change only rejects unsupported navigation destinations before side effects; it adds no command execution capability or data access.Compatibility and Migration
Yes/No) No for the intentionally removed Event Stream destinations and the correctedgeneralalias.notification-preferencesremains a searchable alias to General;aboutandinfostill resolve to About.Yes/No) No.Yes/No) No persisted-data migration. Existing settings and unknown stored pins are preserved.connection, notgeneral.Review Conversations