Skip to content

refactor: remove the Bindings page - #1929

Merged
bkudiess merged 3 commits into
openclaw:mainfrom
bkudiess:bkudiess-remove-bindings-page
Nov 2, 2026
Merged

bkudiess merged 3 commits into
openclaw:mainfrom
bkudiess:bkudiess-remove-bindings-page

Conversation

@bkudiess

@bkudiess bkudiess commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Remove the Bindings page from Companion Settings without leaving its unused support code behind.

User Impact

User impact: Bindings is no longer available in Settings or command search. Existing bindings navigation calls no longer open a page. Gateway routing configuration and stored user data are unchanged.

Why This Change Was Made

Delete the retired page together with its exclusive parser, connection-recovery helper, test stubs, icon, and localized strings. Keep the Config editor, shared list-loading state, and notification metadata localization because other features still use them.

Evidence

Current-head evidence on 7d7962f0ce57d3fd8b5c891424c59a3b515ce373:

  • Direct Bindings search proof (connected app): the current-head Debug app was run against the deterministic Gateway fixture and reached Connected / Ready. In connected Settings, typing Bindings into the real Settings search box produced no suggestions, while the Permissions control query produced Go to Permissions. Local MCP app.search returned [] for Bindings, Binding, and bind.
  • Navigation proof: with Advanced expanded, the connected Settings navigation lists Event Stream, Agents, Config, and Usage, with no Bindings entry. After an MCP app.navigate request for bindings, the visible page remained Settings.
  • Hosted CI run 41085357896 completed successfully, including UI, functional, and accessibility CI.
  • SettingsChrome_SearchAndBidirectionalHistory_StayBelowNativeTitle passed in Light and Dark (2/2). Registry and command-order tests cover rejection of the removed route and absence of the removed search command. All six locales remove the same 17 obsolete keys.
  • The local accessibility selection had 21 passes and one failure: SandboxPage's unnamed Expander NameNotNull violation. This page is not touched by this PR; the SettingsPage scan passed. The SandboxPage fix is being handled separately.

Screenshots were captured locally during the fixture run but are not attached to this text-only update. Copied UI Automation and MCP output is below.

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: the current-head app was exercised in a connected fixture session. A real Settings search for Bindings returned no suggestions, the control query returned Go to Permissions, and the expanded Settings navigation had no Bindings entry. The Settings UI test passed in Light and Dark, and the SettingsPage accessibility scan passed. Not verified / blocked: a clean full local accessibility selection, because of one SandboxPage failure on a page this PR does not change.

Validation

Results on commit 7d7962f0ce57d3fd8b5c891424c59a3b515ce373, tree 7eae241140627356a6f6899770b8c792951bbb0c:

Command or check Result
.\build.ps1 Passed.
dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore Passed: 4,807 passed, 0 failed, 25 skipped.
dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore Passed: 4,739 passed, 0 failed, 0 skipped.
.\scripts\run-gateway-fixture.ps1 -AppPath <current-head Debug exe> -ArtifactsDirectory <local dir> -DurationSeconds 600 Passed: outcome ready, scenario multi-session-browse, app Connected / Ready.
winnode --mcp-url <fixture MCP> --command app.search for Bindings, Binding, bind, Permissions [], [], [], and Go to Permissions.
UI Automation with real keyboard input in connected Settings search Bindings: 0 suggestions. Permissions: Go to Permissions. Expanded navigation: no Bindings entry.
SettingsChrome_SearchAndBidirectionalHistory_StayBelowNativeTitle Passed in Light and Dark (2/2).
Focused composer draft-readiness test Passed: 5/5.
Full local accessibility selection 21 passed, 1 failed on SandboxPage's unnamed Expander NameNotNull violation; SettingsPage scan passed.
Hosted PR CI Passed on this head: run 41085357896.

The fixture and UI Automation runs used a disposable isolated profile that was removed after the run. Full local accessibility is not claimed as passed proof.

Real Behavior Proof

  • Environment tested: Windows x64, .NET 10, Debug app from current PR head 7d7962f0ce57d3fd8b5c891424c59a3b515ce373. App version 2026.10.9-bkudiess-remove-bindings-page.1+3.Branch.bkudiess-remove-bindings-page.Sha.7d7962f0ce57d3fd8b5c891424c59a3b515ce373; exe SHA-256 34FE407518C75AEE05F1CA101CDDCA5629B491D23A6A82D7EC473AC62AD5E040. Deterministic loopback Gateway fixture (fixture-1, protocol 4), disposable isolated app-data roots.

  • Evidence: copied local MCP and UI Automation output from the connected app:

    app.status            -> connectionStatus=Connected, overallState=Ready, operatorState=Connected, gatewayVersion=fixture-1
    app.navigate settings -> {"navigated":true,"page":"settings"}
    app.search "Bindings" -> []
    app.search "Binding"  -> []
    app.search "bind"     -> []
    app.search "Permissions" -> [{"Title":"Go to Permissions","Subtitle":"Capabilities, exec policy & allowlists"}]
    app.navigate bindings -> visible page marker afterwards: SettingsPageMarker
    
    UIA (real keyboard input, connected Settings):
      connectionStatusText      : Connected
      visiblePageMarkers        : [SettingsPageMarker]
      Advanced                  : Expanded
      settingsNavigationItems   : Chat, Connection, Sessions, Skills, Channels, Instances, Cron,
                                  Advanced, Event Stream, Agents, Fixture Main, Fixture Research,
                                  Config, Usage, Local AI, Voice & Audio, Permissions, Sandbox,
                                  Diagnostics, Settings
      navContainsBindings       : false
      emptyQueryContainsBindings: false
      query "Bindings"          : suggestions = []
      query "Permissions"       : suggestions = ["Go to Permissions | Capabilities, exec policy & allowlists"]
    
  • Observed result: Bindings is absent from connected Settings navigation and search, a bindings navigation request does not open a page, and Settings search still finds remaining destinations. The only UI text containing "bind" is the app version string, which includes the branch name.

  • Screenshot or artifact links verified? (Yes/No/N/A) N/A. Screenshots were captured locally but not uploaded; this is a text-only proof update.

  • Not verified or blocked: a clean full accessibility selection, because of one SandboxPage unnamed Expander failure on a page this PR does not change. The fixture proves the real app and mounted Settings UI, not live pairing, node invocation, WSL, or native Gateway behavior. None of those are touched by this PR.

The original Bindings-removal implementation was reviewed independently by the Hanselman reviewers with no actionable findings. The current PR head includes the follow-up UI-test readiness fix; hosted CI and the validation above are on that exact head.

Security Impact

  • New permissions or capabilities? (Yes/No) No.
  • Secrets or tokens handling changed? (Yes/No) No.
  • New or changed network calls? (Yes/No) Yes: removes the retired page's read-only config.get request. No new network calls; shared Config-page loading remains.
  • Command or tool execution surface changed? (Yes/No) Yes: removes the Bindings UI search command and navigation destination. No node capability or execution permission is added or broadened.
  • Data access scope changed? (Yes/No) No.
  • If any answer is Yes, explain the risk and mitigation: this narrows the UI surface. Tests cover the removed route's rejection and the remaining command inventory; no credentials, stored configuration, or shared connection lifecycle is changed.

Compatibility and Migration

  • Backward compatible? (Yes/No) No for the intentionally removed Bindings page, bindings navigation destination, and search command. Stored configuration and shared Config behavior are preserved.
  • Config or environment changes? (Yes/No) No.
  • 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.

N/A at creation. This is a new PR with no existing review conversations.

@clawsweeper

clawsweeper Bot commented Oct 29, 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.

@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 29, 2026
@clawsweeper

clawsweeper Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex review: needs maintainer review before merge.

What this changes

This PR removes the Bindings page, its navigation and search entries, and its exclusive support code.

Example: A connected user searches Settings for Bindings.

  • Before: Search offers Go to Bindings and opens the routing overview.
  • After: Search returns no Bindings suggestion, while Permissions remains discoverable.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) The focused removal has direct current-head app evidence, successful exact-head hosted validation, no storage-format change, and no actionable findings; draft status remains a landing constraint.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): Current-head Windows x64 connected-app UI Automation and MCP output exercise SettingsShellView and HubPageRegistry: expanded navigation excludes Bindings, Bindings search returns no suggestions, Permissions remains discoverable, and bindings navigation leaves Settings visible; this satisfies the prior rank-up request, while inspected historical and Skills screenshots are not credited as this PR's proof.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Refactor · Worth it: Yes · Fix scope: Complete
User problem: Settings exposes a standalone routing overview that the feature owner has chosen to retire.
Reason: The maintainer-authored direction supports this bounded removal, and the patch removes its maintenance burden while retaining the shared Config editor.

Merge readiness

✅ Ready for maintainer review

Keep this maintainer-authored draft open. The removal is not on main, and the reviewed patch has no actionable correctness findings.

Priority: P3
Reviewed head: 7d7962f0ce57d3fd8b5c891424c59a3b515ce373

Before merge

None.

Findings

None.

Agent review details

How this fits together

Settings navigation and local app search share HubPageRegistry; the retired page reads Gateway configuration, while the retained Config editor continues to own configuration editing.

flowchart LR
  A[Settings navigation] --> C[HubPageRegistry]
  B[Local app search] --> C
  C --> D[SettingsShellView]
  D --> E[Remaining Settings pages]
  E --> F[Gateway configuration]
Loading

Technical review

Best possible solution:

Land the focused retirement when the author marks the draft ready, preserving Gateway routing data and the shared Config editor.

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

This is an intentional retirement rather than a bug report; source and supplied current-head UI diagnostics establish the before-and-after behavior.

Is this the best way to solve the issue?

The patch uses the existing registry and shell owners, removes exclusive machinery completely, and preserves shared configuration and loading behavior.

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:

Review metrics

Metric Value Why it matters
Removal scope +47 / -1,475 lines The pinned diff predominantly deletes the retired surface and obsolete coverage; additions update registry expectations and strengthen existing composer-readiness assertions.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • remove rating: 🧂 unranked krab: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.

Label justifications:

  • P3: This is an intentional Settings surface retirement without an urgent user-facing defect.
  • merge-risk: 🚨 compatibility: Existing bindings navigation and search cease to expose the page, a specific compatibility change explicitly accepted in the maintainer-authored body.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

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.

History

Review history (3 earlier review cycles)
  • reviewed 2026-10-29T22:43:38.140Z sha 621f90a :: needs maintainer review before merge. :: none
  • reviewed 2026-10-30T16:04:10.512Z sha 7d7962f :: needs maintainer review before merge. :: none
  • reviewed 2026-10-30T16:47:22.719Z sha 7d7962f :: needs maintainer review before merge. :: none

Reviewed October 30, 2026, 1:22 PM ET / 17:22 UTC (Revision 4).

@bkudiess bkudiess mentioned this pull request Oct 30, 2026
6 of 16 tasks
@bkudiess

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

🦞👀
Exact review queued.

Re-review progress:

@bkudiess

Copy link
Copy Markdown
Collaborator Author

/re-review

@bkudiess

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

🦞👀
Exact review queued.

Re-review progress:

@bkudiess

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient Contributor real behavior proof is sufficient. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Oct 30, 2026
@bkudiess
bkudiess marked this pull request as ready for review October 30, 2026 17:23
Resolve GatewayFixtureSettingsModalUiTests.cs with main's equivalent draft-readiness wait from openclaw#1941.

Co-authored-by: Copilot App <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. proof: sufficient Contributor real behavior proof is sufficient. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant