Repository navigation
Closed
Closed
Copy link
Labels
P2Normal priority bug or improvement with limited blast radius.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerThis issue is about auth, provider routing, model choice, or SecretRef resolution.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.
Description
Summary
The "Browser control" node capability in Windows Hub (Companion) always shows a warning triangle and never reaches "Approved/effective" state, even after a clean uninstall/reinstall and full re-pair. All other Node mode capabilities (Camera, Canvas, Screen capture, Location, Text-to-speech, Speech-to-text, Device info, System access) register and approve normally.
Environment
- Windows Hub / Companion version: core v0.6.12
- Gateway: OpenClaw Gateway running on a different machine (macOS), Windows node connecting remotely
Steps to reproduce
- Enable Node mode in Windows Hub Settings/Permissions.
- Observe capability pills: Browser control, Camera, Canvas, Screen capture, Location, Text-to-speech, Speech-to-text, Device info, System access.
- Browser control shows a
⚠️ warning icon; all others show green/healthy. - Check "Show technical details" → "Approved/effective capabilities" list:
camera, canvas, device, location, screen, stt, system, ttsbrowseris absent despite the toggle being ON. - Fully uninstall Companion, reinstall latest, re-pair node from scratch (
openclaw nodes statusconfirms fresh approval) — same result persists. - From the Gateway side,
browser(action=status, node=<windows-node-id>)fails withunknown node/ the node never appears inbrowser(action=profiles).
Expected
Either:
- Browser control capability registers and approves like the others, and the node becomes targetable via the
browsertool'snode=param, OR - If browser control on Windows nodes is not yet a supported/finished feature, the toggle should be hidden, disabled, or clearly labeled as experimental/unsupported instead of presenting as a normal capability with a perpetual unexplained warning.
Additional context
- Investigated whether this matches the already-fixed bug in fix(browser.proxy): only advertise capability when shared gateway token is available #602 ("only advertise capability when shared gateway token is available") — that fix predates v0.6.12 and should already be included in this build, so it does not appear to be a regression of that specific issue.
- The official Windows platform docs (
/platforms/windows, "Windows node mode" capability table) list only Canvas, Screen, Camera, System, Device, and Talk as supported Windows node capabilities — Browser control is not documented there at all, which suggests this UI toggle may be ahead of (or disconnected from) the currently supported capability set.
Happy to provide Companion diagnostic logs or run additional repro steps if useful.
Reacted by Natalie Walls
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerThis issue is about auth, provider routing, model choice, or SecretRef resolution.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Projects
- StatusShow more project fieldsChannels
Activity
clawsweeper commentedon Jul 26, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 31, 2026, 9:54 PM ET / August 1, 2026, 01:54 UTC.
Summary
Keep this issue open. Current main deliberately withholds
browser.proxywhen the active gateway lacks a shared gateway token, but its current warning policy does not explain that state once the capability is omitted. The open candidate at #1066 directly owns the bounded diagnostic and recovery fix, so another repair branch would duplicate active work. Likely related people: Scott Hanselman (high confidence) and anagnorisis2peripeteia (medium confidence).Reproducibility: yes. Current main source proves that Browser control enabled without an active shared gateway token omits
browser.proxy, while the dedicated warning policy requires a browser declaration before it explains that omission.Next step
The open candidate at #1066 already owns the focused repair, so ClawSweeper should avoid creating a duplicate branch.
Review details
Best possible solution:
Merge a narrowly tested tray and diagnostics repair that keeps the shared-token gate, explicitly labels Browser control as blocked when that token is absent, and routes the operator to enter the token and reconnect.
Do we have a high-confidence way to reproduce the issue?
Yes. Current main source proves that Browser control enabled without an active shared gateway token omits
browser.proxy, while the dedicated warning policy requires a browser declaration before it explains that omission.Is this the best way to solve the issue?
Yes. The linked candidate’s approach retains the required credential boundary and adds focused recovery information, rather than incorrectly attempting to use the paired device token for browser proxy authentication.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against d7d153ca5d40.
Label changes
Label justifications:
P2: Browser control remains unavailable for a bounded, source-proven pairing configuration, without evidence of broader runtime failure.impact:ux-friction: An enabled Browser control toggle provides inadequate in-product recovery guidance when the required shared token is absent.impact:auth-provider: The active gateway’s shared token determines whether Browser proxy may authenticate to the browser-control endpoint.Evidence reviewed
What I checked:
browser.proxyonly when Browser control is enabled, a gateway client exists, and the active gateway supplies a non-empty shared token. A successful device-token pairing can therefore leave Browser control enabled while omitting browser from the advertised capability list. (src/OpenClaw.Tray.WinUI/Services/NodeCapabilityGating.cs:29, d7d153ca5d40)browser.proxyto be approved, unverified, or locally declared. When the shared-token gate omits registration, none of those states exists, so the current policy does not explain the enabled-but-inactive result. (src/OpenClaw.Tray.WinUI/Services/CommandCenterBrowserProxyAuthWarningPolicy.cs:10, d7d153ca5d40)BrowserProxyCapabilityafter the gated predicate passes, confirming that the missing declaration occurs before the gateway handshake. (src/OpenClaw.Tray.WinUI/Services/NodeService.cs:405, d7d153ca5d40)docs/WINDOWS_NODE_ARCHITECTURE.md:263, d7d153ca5d40)git merge-base --is-ancestorconfirms it is on current main. This shows the security gate is intentional, while the reported recovery gap remains. (src/OpenClaw.Tray.WinUI/Services/NodeCapabilityGating.cs:29, 9b5ce4bcc4f6)Likely related people:
NodeCapabilityGatingand the Browser proxy warning policy that define the current behavior. (role: introduced current gating and warning policy; confidence: high; commits: 9b5ce4bcc4f6; files:src/OpenClaw.Tray.WinUI/Services/NodeCapabilityGating.cs,src/OpenClaw.Tray.WinUI/Services/CommandCenterBrowserProxyAuthWarningPolicy.cs)src/OpenClaw.Tray.WinUI/Services/NodeService.cs)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.Super-0 commentedon Jul 27, 2026
I have a stronger repro/data point for this on Monday, July 27, 2026.
My setup differs slightly from the original report:
v0.6.12ws://127.0.0.1:18789What I verified:
--remote-debugging-address=127.0.0.1 --remote-debugging-port=9222http://127.0.0.1:18800/json/versionresponds successfully from the host side%AppData%\\Roaming\\OpenClawTray\\gateways.jsonhad:"browserControlPort": null18800, restarted the tray, and the value stuck:"browserControlPort": 18800browser.OpenClawCompanion-Setup-x64.exefromreleases/latest/download), relaunched, and got the same result again.Most important log evidence from the fresh post-reinstall startup on July 27, 2026 around 12:36 PM EDT:
Registered capability: systemRegistered capability: canvasRegistered capability: screenRegistered capability: cameraRegistered capability: locationRegistered capability: ttsRegistered capability: sttRegistered capability: deviceCapabilities registered: system, canvas, screen, camera, location, tts, stt, device (8 caps)Then the node handshake immediately advertised only:
caps=8: [system, canvas, screen, camera, location, tts, stt, device]and
browserwas still absent.So this looks narrower than “browser debug host is dead” or “saved gateway state is null”. On this machine:
browserControlPortcan be present and persistedv0.6.12build does not change the behaviorThe remaining failure appears to be inside the Windows Hub capability builder itself:
NodeServiceis deciding not to registerbrowserat all before handshake.If useful, I can provide redacted excerpts from:
%LOCALAPPDATA%\\OpenClawTray\\openclaw-tray.log%APPDATA%\\Roaming\\OpenClawTray\\gateways.jsonopenclaw nodes status --jsonShadowNineX commentedon Jul 28, 2026
4 remaining items
bkudiess commentedon Aug 1, 2026
Thanks for the detailed reports. PR #1066 is now merged into
mainas8ac00c5f4977e9a7a3987f712816c10535a09ee3.The fix preserves the existing Browser control authentication boundary and makes the blocked state truthful across Connection, Command Center, diagnostics, and tray logging:
We’re closing this as completed for the reported misleading capability state. If Browser control still fails on a build containing this merge while a shared token and reachable browser-control endpoint/forward are configured, please open a new report with the Companion and Gateway versions plus redacted Connection diagnostics. Do not include tokens or credentials.