Skip to content

feat: pin Gateway pages beside chat - #1940

Merged
bkudiess merged 24 commits into
mainfrom
bkudiess-split-local-page-pins
Nov 4, 2026
Merged

bkudiess merged 24 commits into
mainfrom
bkudiess-split-local-page-pins

Conversation

@bkudiess

@bkudiess bkudiess commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #1911 and #1916 (merged prerequisite layers).

What Problem This Solves

Users need to switch among selected Gateway pages without leaving the Companion workspace or losing sight of Home.

User Impact

User impact: choose from eight supported Gateway page shortcuts beside Home and open them in the adjacent page area. Home owns the assistant's main conversation, so it is not duplicated as a Sessions row. Pins are local to each Gateway and remain visible but disabled while disconnected. Settings and This Computer cannot be pinned; retired bindings and skills pins stay stored but hidden.

Why This Change Was Made

The shortcuts reuse the native page host and navigation history. Keyed rows preserve focus and identity as pin preferences and connection state change. Pin preferences stay local and do not reload capabilities, reconnect, or sync to the Gateway. The catalog reflects main's removal of the Skills page, leaving eight supported destinations.

Evidence

  • CI run 41755863862, attempt 3 passed on head 31048df5aa6e1b8e3ccc0c189af430e48afc9f77, including the UI, functional, and accessibility job and CI Gate.
  • The mock Gateway UI test now checks that Home is present and the main conversation is not duplicated in the Sessions list. The successful hosted UI job exercised this updated test.
  • Earlier attempts encountered a voice-history timeout and a test-host crash, both observed on main or unrelated PRs; attempt 3 completed successfully.
  • Historical native screenshots are retained in the earlier proof comment. They predate the current head and are not current-head proof.

Change Type

  • Bug fix
  • Feature
  • Refactor
  • Docs or instructions
  • Tests or validation
  • Security hardening
  • Chore or infrastructure

Scope

  • Tray or WinUI UX
  • Windows node capability
  • Local MCP or winnode
  • Gateway, connection, or pairing
  • Setup or onboarding
  • Permissions, privacy, or security
  • Tests, CI, or docs

Required proof pools

  • windows-winui-interactive: current-head isolated native UI proof for pin selection, navigation, focus/theme, disconnected behavior, and accessibility was not run. The historical screenshots above do not satisfy this pool.

Validation

Command Result
./build.ps1 Passed
dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore 4,830 passed, 25 skipped, 0 failed
dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore 4,875 passed, 0 failed

Real Behavior Proof

  • Environment tested: Windows ARM64 for local build and unit tests; hosted Windows CI for current-head UI and integration jobs.
  • PR head or commit tested: 31048df5aa6e1b8e3ccc0c189af430e48afc9f77.
  • Exact steps or command run: the three commands listed under Validation; GitHub Actions run 41755863862, attempt 3.
  • Evidence after fix: the hosted UI, functional, and accessibility job and CI Gate passed on this head.
  • Observed result: Home owns the main conversation without a duplicate Sessions row; the required CI jobs passed.
  • Screenshot or artifact links verified? (Yes/No/N/A) No current-head screenshot; the linked screenshots are historical only.
  • Not verified or blocked: current-head windows-winui-interactive native visual proof was not run locally. CI also ran the repository's WSL Gateway E2E jobs; no third-party provider or interactive user Gateway is claimed.

Security Impact

  • New permissions or capabilities? (Yes/No) No.
  • Secrets or tokens handling changed? (Yes/No) No.
  • New or changed network calls? (Yes/No) No.
  • Command or tool execution surface changed? (Yes/No) No.
  • Data access scope changed? (Yes/No) No. The change adds only local display preferences.
  • If any answer is Yes, explain the risk and mitigation: N/A.

Compatibility and Migration

  • Backward compatible? (Yes/No) Yes. Existing saved tags that are no longer supported remain stored but are hidden.
  • Config or environment changes? (Yes/No) Yes. Additive local per-Gateway pin preferences; no environment variable changes.
  • Migration needed? (Yes/No) No.
  • If yes, list the exact upgrade steps: N/A.

Review Conversations

  • I replied to or resolved every bot review conversation addressed by this PR.
  • I left unresolved only conversations that still need maintainer judgment.

bkudiess and others added 15 commits October 29, 2026 20:52
Adds a native Pages shortcut section with a customize flyout over 15 native
destinations. Pins are stored locally per Gateway in immutable, deep-copied
settings snapshots (no sync, no SettingsSaved reload) and route through the
canonical Settings route, using Chat's currently selected agent at invoke.

Co-authored-by: Copilot App <[email protected]>
Unchanged pins keep their sidebar row so keyboard focus and the focus captured
before entering Settings survive unrelated saves and status changes. A removed
focused row falls back to the Customize pages button.

Co-authored-by: Copilot App <[email protected]>
The framework can move focus synchronously when a focused pin row is removed, so
focus ownership (including descendants) is read before reconciliation. Fallback
is the Customize pages button, then the Home row when the pane hides it.

Co-authored-by: Copilot App <[email protected]>
Pins render the page full-bleed beside the sidebar via an embedded Settings destination, and use the Home row layout so SVG icons size correctly.

Co-authored-by: Copilot App <[email protected]>
Keep page initialization, agent context and native animations on the normal navigation path.

Co-authored-by: Copilot App <[email protected]>
Use a ThemeResource-bound embedded backplate and the existing guarded native keyboard helper. Cover live themes, embedded search, retained rows and disconnect focus.

Co-authored-by: Copilot App <[email protected]>
Update native layout proof for the Pages group in DIPs and retain viewport timeout diagnostics without relaxing visibility assertions.

Co-authored-by: Copilot App <[email protected]>
Place the small edit action beside Home, remove duplicate canonical main-session rows, exclude local-computer/settings pages and keep selected Gateway shortcuts disabled instead of hidden offline.

Co-authored-by: Copilot App <[email protected]>
@clawsweeper

clawsweeper Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@bkudiess

Copy link
Copy Markdown
Collaborator Author

Native page-pin proof from the recorded isolated synthetic-Gateway run. These images show the simplified Home sidebar, saved shortcuts retained and disabled offline, and a pinned page in Dark theme. Production source correspondence is recorded; later commits add only test proof and explanatory comments. This is scoped UI evidence, not a claim that the full fixture suite or CI is green. The draft body lists remaining failures.

Simplified Home sidebar with small edit action and page shortcuts

Saved Gateway shortcuts remain visible but disabled while disconnected

Pinned Connection page follows the dark app theme

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal priority bug or improvement with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 30, 2026
@clawsweeper

clawsweeper Bot commented Oct 30, 2026

Copy link
Copy Markdown

Codex review: blocked before merge.

What this changes

Adds per-Gateway page shortcuts beside chat, with offline disabled states and Home routing to the selected assistant’s main conversation.

Example: Pin Connection and Sessions for a Gateway, then disconnect it.

  • Before: These pages require navigating through Settings.
  • After: Both shortcuts remain beside chat; Sessions becomes disabled while Connection remains available.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful feature with inspectable native evidence and no definite source defect, but persisted-settings upgrade evidence is incomplete and the author retains an explicit draft hold.
Proof confidence 🦐 gold shrimp (3/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Users repeatedly browse Settings to reach their preferred Gateway pages.
Reason: The collaborator-authored direction provides persistent access through existing native pages without adding permissions or replacing their owners.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep this PR open: it adds useful, collaborator-directed shortcuts absent from main and remains explicitly held as a draft; no definite introduced correctness defect was found.

Priority: P2
Reviewed head: ec6baa75d89b32240f60d2717a29c2e210348bfd

Before merge

  • Add data-model compatibility proof - The review found that existing stored data may not work after upgrade. Show that existing data still loads and works with this change.

Findings

None.

Tests

  • Low-value test tests/OpenClaw.Tray.Tests/Presentation/PinnedPagesTests.cs: Consolidate Visible_AllKnownPinsRemainInStoredOrderAcrossConnectionStates into the normalization/order and availability cases: its visibility call receives identical inputs on every iteration and never receives the connection status.
  • Missing end-to-end proof: No latest-stable-to-head upgrade run demonstrates existing settings surviving a pin save and restart; baseline-fail/head-pass evidence for the selection re-entry regression is also not supplied.
Agent review details

How this fits together

Workspace turns sidebar actions into destinations in its existing history, hosts native pages through the retained Settings shell, and stores pin preferences through the existing settings transaction.

flowchart TD
  A[Sidebar customization] --> B[Settings store]
  B --> C[Per Gateway pin preferences]
  C --> D[Stable sidebar rows]
  E[Connection state] --> D
  D --> F[Workspace history]
  F --> G[Retained Settings shell]
  F --> H[Retained chat]
Loading

Technical review

Best possible solution:

Keep local pins in the existing settings store and reuse the retained Settings shell, single navigation history and stable sidebar rows.

Do we have a high-confidence way to reproduce the issue?

This is primarily a feature request; source comparison establishes that main lacks the proposed shortcuts, and inspected screenshots demonstrate their rendered states.

Is this the best way to solve the issue?

The implementation uses appropriate existing owners; its invariant is that customization preserves conversation state, permissions and history, and the smallest complete path is additive preferences plus keyed rows routed through the retained Settings host.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against ef1df54dfe95.

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Introduction and main behavior: The pinned merge-base-to-head diff introduces the pin catalog, row reconciliation, persistence and embedded presentation; fetched main retains the earlier Settings and session navigation without those shortcuts. (src/OpenClaw.Tray.WinUI/Presentation/PinnedPages.cs:20, ec6baa75d89b)
  • Scoped native screenshots inspected: The author’s proof comment supplies inspectable screenshots showing saved shortcuts, retained disabled Gateway rows while connecting, and an embedded Connection page in Dark theme: feat: pin Gateway pages beside chat #1940 (comment). (ec6baa75d89b)
  • Screenshot source correspondence: Comparison with the recorded production-source revision shows subsequent changes confined to fixture documentation, token-reader comments and native pointer-test proof. (ec6baa75d89b)
  • Persistence boundary: Pins are an additive nullable settings field, normalized into detached immutable snapshots and edited through SettingsStore.Update; tests cover Gateway isolation, persistence, unknown-tag retention and rollback. (src/OpenClaw.Tray.WinUI/Services/SettingsManager.cs:223, ec6baa75d89b)
  • Explicit readiness hold: The author marks the PR not ready to merge and records unresolved shared-root-dialog draft retention and long-history visibility results; neither failure is established here as caused by this diff. (ec6baa75d89b)
  • Current-head checks: Core/CLI and packaging checks passed while Tray/integration, UI/accessibility and Gateway E2E checks were still running; no completed failing check was attributed to this patch. (ec6baa75d89b)

Likely related people:

  • Barbara Kudiess: Raw commit 4e31031 adds src/OpenClaw.Tray.WinUI/Windows/WorkspaceWindow.xaml.cs:335 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 4e31031108c8; files: src/OpenClaw.Tray.WinUI/Windows/WorkspaceWindow.xaml.cs)
  • Karen: Raw commit 3a58bf3 adds src/OpenClaw.Tray.WinUI/Presentation/WorkspaceProjection.cs:57 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3a58bf34902f; files: src/OpenClaw.Tray.WinUI/Presentation/WorkspaceProjection.cs)

Review metrics

Metric Value Why it matters
Change distribution Production +677/-51; tests and fixtures +1245/-24; documentation +9/-1 Growth chiefly supports the new shortcut behavior and distinct native focus, history, offline-state and persistence contracts.

Labels

Label changes:

  • add P2: Useful navigation improvement with a limited user-facing surface and no demonstrated urgent regression.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.

Label justifications:

  • P2: Useful navigation improvement with a limited user-facing surface and no demonstrated urgent regression.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Provide a redacted upgrade result from v2026.9.8-1 showing existing settings preserved after saving pins and restarting.
  • Consolidate the redundant status-loop visibility test.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 30, 2026, 2:56 PM ET / 18:56 UTC.

@bkudiess

Copy link
Copy Markdown
Collaborator Author

Hanselman review

Reviewed head: ec6baa75d89b32240f60d2717a29c2e210348bfd.
This was a bounded repeat review of 8295c80c..ec6baa75, covering the new native-pointer proof and affected callers. It was not another full-branch review.

Independent reviewer Context / reasoning Source result
Claude Opus 5.5 (claude-opus-5.5) Default / medium No actionable source defect
GPT-6 Astra (gpt-6-astra) Long / medium No actionable source defect

Both reviewers checked the complete ClickOwnedElement helper, its Cron caller, the Home/customization test, the draft-readiness condition, and the published evidence. The helper body is unchanged by its rename. Customize now receives real guarded pointer input rather than relying on UIA Invoke alone; the test checks that the non-main conversation and draft remain intact.

Consensus: no shared source findings. Opus flagged stale PR status wording as LOW; the description has been corrected with the observed CI result, rating, and verified screenshot links.

The hosted UI job at this head recorded 48/49 fixture UI cases passing, including the pointer and Cron cases. Its sole failure was SharedRootDialog_DefersNavigationAndRejectsNativeBinding(destination: Chat, settingsOrigin: True), expecting a retained draft but observing an empty value. That separate investigation is not part of this source-review verdict.

This is not merge approval. CI Gate remains red, and ClawSweeper reports Gold 3/6 overall/proof, with Platinum 4/6 patch quality, requesting persisted-settings upgrade compatibility proof. The earlier local END240 visibility failure also remains preserved without an established cause.

The reviews were independent but not blind: requirements and prior failure context were supplied. No tests or apps were launched by the reviewers, and no new passing run is implied.

…afts

Integrate the verified eight-line draft-readiness handoff without changing product code or final-return assertions.

Co-authored-by: Copilot App <[email protected]>
@bkudiess

Copy link
Copy Markdown
Collaborator Author

Settings compatibility proof and CI fix

Pushed head: 1f0f557811e7e1de1544f506005c26c35d3dc55f.

The new StableSchemaV1Settings_KeepExistingPreferencesThroughFirstPinSaveAndReload exercises the real settings manager and store:

  1. Load a fixed, synthetic settings file shaped from stable release v2026.9.8-1, pinned to 2ba89f377ce8ce3f5ddfc452e4d509329f109114. It has schema version 1 and no pin field.
  2. Verify loading does not rewrite the file and pins default to empty.
  3. Save Connection and Sessions through the production store editor.
  4. Verify all fourteen explicit supported preferences retain their original JSON values.
  5. Recreate both manager and store; verify the preferences, ordered pins and isolation from another Gateway's pin scope.

The fixed values cover startup/hotkey settings, notification preferences, pairing approval, camera permission, chat presentation, sidebar state, completed-session visibility, theme, speech language/timeout, managed-Gateway repair preference and image-host allowlist. Omitted optional fields retain their documented defaults.

Local results: full build passed; Shared 4,807 passed / 25 ordinary skips; Tray 4,803 passed; focused pin/store tests 36 passed; documentation checks passed.

The same update integrates the investigation owner's exact eight-line modal-test readiness fix: wait for visible exact draft text and enabled Send before opening/navigating behind the dialog. No product code, final-return wait, retained-control identity assertion or final draft equality was changed. All five affected native cases passed locally. Fresh hosted CI is running; green CI is not yet claimed.

Limits: the compatibility case is a source-shaped stable-schema file-format/store test, not an export from an executed older binary, a native process restart or an installer/MSIX upgrade. The old release was not installed or run. Existing failed attempts remain recorded; this comment does not retrospectively turn them into passes.

@bkudiess
bkudiess marked this pull request as ready for review October 30, 2026 19:55
Preserve main's Sandbox labels and readiness-aware UI test lookup while retaining canonical Home routing.

Co-authored-by: Copilot App <[email protected]>
@bkudiess

Copy link
Copy Markdown
Collaborator Author

Updated to d2a3dbdacabaaec85450f0a7d5638b80c3be3967 by merging main a4dd026c without rewriting history. GitHub now reports the PR mergeable. Conflicts preserved the Sandbox accessibility labels and readiness-aware UI lookup from main, while retaining canonical Home routing.

Local validation: full build/docs passed; Shared 4,809 passed / 25 ordinary skips; Tray 4,839 passed; focused 163 passed. Existing modal cases passed 5/5 in both Debug and unsigned local Release. Release pin/Home/pencil cases passed 12/12. Debug passed 11/12: the remaining case stopped at the foreground-ownership guard before clicking. No guard was bypassed, and that failure is retained. Unsigned local Release is not signed-release proof.

Fresh CI run is running; green CI is not yet claimed. The previous Skills/chat-origin request-settling timeout is distinct from the earlier empty-draft failure, and this integration does not establish its root cause. No shared-dialog investigation code was changed.

…al errors

Keep original assertions and deadlines; record bounded synthetic fixture diagnostics outside the test-body deadline and exercise error preservation.

Co-authored-by: Copilot App <[email protected]>
@bkudiess

Copy link
Copy Markdown
Collaborator Author

Pushed a452b9d: failure-only native session-switch diagnostics, not a product fix. The original visible-history assertions and 150-second case deadline remain unchanged. Collection now runs after the original failure is recorded and uses a separate metadata filename; two controlled native failure tests passed, including diagnostic-error preservation. Independent source review found no remaining diagnostic issues. Required build/docs passed, Shared 4,809 passed with 25 ordinary skips, Tray 4,839 passed. The earlier hosted blank-transcript cause is still unestablished. Fresh CI is intended to collect the missing rendered-session/viewport evidence, not to turn an unexplained retry into a claimed fix.

Capture bounded method-only diagnostics from the exact calling testhost after the existing startup timeout. Preserve test failure, deadlines and parallelism. Exercise process ownership, stack capture and collector failure paths.

Co-authored-by: Copilot App <[email protected]>
@bkudiess

Copy link
Copy Markdown
Collaborator Author

Pushed 5e0fe398cc96f6b22093465c0610bf39e80a2a00 with scoped startup diagnostics. This is not a claimed fix or root cause for the CI stall. New CI run 41252787549, attempt 1 is in progress.

The previous UI job 124610069423, run 41225736777 attempt 1 at a452b9dc505203826c8946ec24518570fba37c33 (CI merge c4ba6f45ab700a81ea3ca01d974236788668dc32), passed all 52 app-fixture cases, 24 accessibility cases and 19 functional cases. The separate framework testhost stalled at Windows App SDK bootstrap and was aborted after five minutes of inactivity. It retained no thread stacks. The earlier repeated-session-switch failure did not recur there; a passing replay is not a causal fix.

The new helper starts only after the existing UI fixture startup deadline expires. It verifies its calling testhost's PID, start time and parent relationship, captures method stacks with pinned dotnet-stack 10.0.750501, and bounds the collector to 30 seconds. No memory dumps, locals, environment contents or other processes are collected. Assertions, startup/hang deadlines and parallelism are unchanged.

Hanselman delta review

Reviewed baseline a452b9dc505203826c8946ec24518570fba37c33 plus the seven-file diagnostic delta, now committed as 5e0fe398cc96f6b22093465c0610bf39e80a2a00, tree 5e0556330a591aeebe9c1bda7857f47334d06982.

Two independent task / code-review agents reviewed the implementation and proof plan: claude-opus-5.5 (default context) and gpt-6-astra (long context), both medium reasoning. The host did not advertise a rubber-duck role. Both reviewers checked final file hashes and reported no remaining source blockers after the repeat review.

HIGH consensus issue Opus 5.5 GPT-6 Astra Fix confidence Disposition
Initial capture method was placed inside the fixture constructor CRITICAL HIGH 99% Fixed before publication. UI project rebuilt successfully; original failed build retained locally.
LOW consensus issue Opus 5.5 GPT-6 Astra Fix confidence Disposition
A promptly exiting testhost can disappear before asynchronous capture LOW Not flagged 90% for documenting the limit Explicit best-effort limitation, accepted by both reviewers. No extra wait was added to delay the original failure. The synthetic target is kept alive to prove collection, not this exit race.

Validation on the final source

Precommit source correspondence to this commit was recorded by SHA256; the commit made no further source changes.

Command Result
.\build.ps1 Passed
dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore 4,809 passed, 25 ordinary opt-in skips
dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore 4,839 passed
dotnet build .\tests\OpenClaw.Tray.UITests\OpenClaw.Tray.UITests.csproj -c Debug -r win-x64 -p:DevBuild=false -m:1 --no-restore Passed
.\scripts\test-ui-startup-stack-capture.ps1 -StackTool <task-owned-dotnet-stack.exe> 5/5 passed: real blocked-method capture, stale identity, non-parent identity, tool failure, bounded collector termination
.\scripts\test-ci-workflow-contract.ps1 Passed
.\scripts\test-proof-evidence.ps1 83 checks passed
.\scripts\validate-docs.ps1; git diff --check Passed
.\scripts\Invoke-CiTest.ps1 -Project tests\OpenClaw.Tray.UITests -Runtime win-x64 -Filter 'FullyQualifiedName~WorkspaceSessionLayoutTests|FullyQualifiedName~VoiceServiceProgressRoutingTests|FullyQualifiedName~ReasoningPicker_UsesOnlyAdvertisedChoices' -ResultsDirectory <isolated-results> -TrxFileName focused.trx -HangTimeoutSeconds 300 -UiStartupStackTool <task-owned-dotnet-stack.exe> 18 passed, no skips
Same wrapper with -Filter 'Category!=Accessibility&Category!=NativeOnboardingProof&Category!=GatewayFixture' Aborted after 165 passed and 2 skipped. Bootstrap completed, no startup capture ran. Windows recorded Microsoft.UI.Xaml.dll 3.3.0.0, exception c000027b, offset 0x3d1699, while ReasoningPicker_UsesOnlyAdvertisedChoices was active. Its exact failing variant and cause are not established. The focused run above does not erase this failure.

The earlier unchanged-source full-framework run passed 610 cases with 7 skips, and 20 cold-process reproductions of the two cases active in CI also passed. Those results do not prove a fix. An earlier local observer stopped a progressing suite at its own too-short total-runtime bound; that was not a reproduction of the CI hang.

Still blocked: original bootstrap root cause, the separate local post-startup crash, green exact-head CI, and the requested overall ClawSweeper Platinum minimum. Last completed rating remains Gold 3/6 overall/proof versus Platinum 4/6 patch quality at the older ec6baa75 head. No merge-readiness or unchanged-real-profile claim is made.

bkudiess and others added 2 commits November 2, 2026 13:41
Revert 5e0fe39 (startup stack capture) and a452b9d (session-switch
failure diagnostics). Both were investigation aids for the pre-existing
intermittent Tray UI testhost crash, not part of the page-pin feature.
The resulting tree matches d2a3dbd. Crash root-cause work continues
separately.

Co-authored-by: Copilot App <[email protected]>
Integrate main 598918f, which removed the
Bindings page. Remove bindings from the pin catalog so it is no longer
offered; previously stored bindings pins stay persisted but hidden.

Co-authored-by: Copilot App <[email protected]>
@bkudiess

bkudiess commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator Author

Hanselman review: merge of main + retired Bindings pin (81bd1c89)

Scope: merge commit 81bd1c89e30ac03ff8ce6bbfee1e7b7300ab3c3c (tree 40c34ab6c63cb42fd2e6619fbe3eef268a727216), parents 8e0dc8e7 and main 598918ff. The merge was conflict-free. Main's 2ff4d168 removed the Bindings page, so the only manual delta removes bindings from PinnedPages.Catalog, updates PinnedPagesTests and updates the docs/ARCHITECTURE.md ledger row.

Reviewer Result
claude-opus-5.5 (high reasoning) No findings
gpt-6-astra No findings

Both reviewers checked that the staged tree was unchanged before and after their review. A previously stored bindings pin is preserved in settings, hidden from the sidebar and cannot be re-added through the picker; this is covered by UnsupportedPins_AreHiddenButSurvivePersistenceAndOtherPinEdits.

Validation on that exact tree: build passed; Shared 4,809 passed / 25 opt-in skips; Tray 4,828 passed; focused pin/navigation tests failed 2/2 before the fix and passed 163/163 after it; Connection GatewayConnectionManagerTests 217 passed; SetupEngine NativeGatewayCliTimeoutTests 6 passed; docs validation and diff check passed.

Not resolved by this commit: the intermittent framework UI testhost crash, which is still under investigation. No fix for it is claimed here.

Return the confirmation fixture's cancellable task directly. The redundant
async wrapper captured the test synchronization context and could hold
shutdown behind a queued fixture continuation. Keep production behavior,
assertions and timeout bounds unchanged.

Co-authored-by: Copilot App <[email protected]>
@bkudiess

bkudiess commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator Author

Hanselman review and validation: activation fixture (e3ef9b72)

Pushed e3ef9b72973d6a4deb457452b172d50ee3f23c56, tree 543fe5d45e8042a2082e5548c1cf6dd10f3bba0b, on parent 81bd1c89e30ac03ff8ce6bbfee1e7b7300ab3c3c. The only change removes async/await from BlockingConfirmationSink.ConfirmAsync in tests/OpenClaw.Tray.Tests/ActivationRouterTests.cs. It returns the same cancellable task directly. Production code, assertions and the two-second timeout are unchanged.

Independent reviewer Context / requested reasoning Findings
claude-opus-5.5 Default / high None
gpt-6-astra Long / high None

The harness reported these model identities. Both used the available read-only code-review role, not an unavailable rubber-duck role. Scope was this delta and affected cancellation/proof paths, not a fresh whole-PR review. Reviewed file blob a7ccf7fee41f9133881613bb76e199f98729e95a is unchanged in the commit. There are no findings to reconcile; source review is not native runtime proof.

Demonstrated mechanism and limit

The actual compiled router and existing fake were exercised under a controlled synchronization context. Holding the fake's queued continuation made shutdown time out; releasing it completed shutdown and canceled the dispatch. With the change, the unchanged probe completed shutdown with zero captured posts. Probe SHA256: D657AA979E341D592CCF0F684DC24E212EA6BE12517B487D5874761E94430EC5.

This proves removal of an unnecessary fixture scheduler dependency. It does not prove that scheduler starvation caused the exact hosted timeout: that run has no causal trace. An earlier whole-test probe held its own continuation and is not cited as evidence.

Validation on the committed source

Command Result
.\build.ps1 Passed, all five projects
dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore 4,809 passed, 25 ordinary opt-in skips, 0 failed
dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore 4,828 passed, 0 skipped/failed
dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore --filter FullyQualifiedName~ActivationRouterTests 57 passed, 0 skipped/failed
git diff --check Passed

These executions preceded the commit on the identical one-file candidate. Full-suite results are runner-reported with console output retained in the session; fresh downloadable full-suite logs/TRX were not produced. Focused tests and the controlled probe have retained local logs. The initial validation gate compared stale local main, executed no tests, then was corrected to exact base 598918ff8 without changing refs.

Still blocked

Run 41700527447, attempt 1 at parent 81bd1c89 failed only the managed activation shutdown test (4,827 passed / 1 failed) and downstream CI Gate. Its native UI lane passed: framework 610 passed / 7 skipped, fixture UI 50, accessibility 23, functional 19 and fixture/profile integration 34.

Fresh CI for e3ef9b72 is required. The historical native ShowAt crash is still unresolved, and a passing replay is not a fix. No pooling workaround, dependency patch, timeout increase, skip or blanket CI retry is included. ClawSweeper remains Gold 3/6 overall/proof versus Platinum 4/6 patch quality; the requested minimum is not yet met.

bkudiess and others added 2 commits November 3, 2026 16:59
Resolve conflicts with the assistant-selection refactor (#1795): pins and Home now resolve against SelectedAgentId, and the sidebar projection keeps this PR's HomeSessionKey and Sessions(mainSessionKey) next to main's IsAgentSelectionReady.

Retire the Skills pin because main removed the Skills page (#1932): the catalog drops skills (a saved skills tag stays persisted but hidden, like bindings), and the pin tests, fixture UI test and ARCHITECTURE ledger follow.

Co-authored-by: Copilot App <[email protected]>
… unsupported agents.list

The unsupported-roster continuity test waited for a sidebar row for the Gateway
main session. This PR moves that conversation under Home, so the row never
renders and the wait timed out. Wait on the roster-gated rows that still exist
and assert the main conversation is owned by Home with no duplicate session row.

Co-authored-by: Copilot App <[email protected]>
@shanselman

shanselman commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

I'm a Copilot triage agent. The initial run at 31048df5 finished with 51/52 Gateway fixture UI tests passing; HistoricalFractionalVoiceConversationRendersWithoutLoadingPlaceholder timed out waiting for the final visible reply: https://github.com/openclaw/openclaw-windows-node/actions/runs/41755863862/job/126333166594

The same test and timeout also occurred on main: https://github.com/openclaw/openclaw-windows-node/actions/runs/41737007496/job/126270520156

I inspected both retained failure screenshots. Each shows the historical conversation at its first messages rather than the final reply. This does not establish why scrolling stopped or rule out an interaction with this PR.

Update: PR attempt 2 passed all 52/52 Gateway fixture UI tests; its TRX records the historical voice test passing in 4.75 seconds. The overall UI job still failed because the separate framework test host crashed after 215 passes while ReasoningPicker_ReflectsInheritedDefaultWithoutOverridingExplicitChoices was listed as running: https://github.com/openclaw/openclaw-windows-node/actions/runs/41755863862/job/126341490192. That listing does not establish the crash cause.

The main control retry also passed its 46/46 fixture tests, including the historical voice case in 4.32 seconds. Its overall UI job failed separately on the pathological SVG timing test: https://github.com/openclaw/openclaw-windows-node/actions/runs/41737007496/job/126342336599. These retries show the earlier voice timeout is intermittent, but do not establish its cause or prove the PR cannot contribute. I am not proposing weakening either test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal priority bug or improvement with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants