Skip to content

Browser control node capability stuck in warning state, never approves (v0.6.12) #1056

Closed

Description

@aniskhan001

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.

Image

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

  1. Enable Node mode in Windows Hub Settings/Permissions.
  2. Observe capability pills: Browser control, Camera, Canvas, Screen capture, Location, Text-to-speech, Speech-to-text, Device info, System access.
  3. Browser control shows a ⚠️ warning icon; all others show green/healthy.
  4. Check "Show technical details" → "Approved/effective capabilities" list:
    camera, canvas, device, location, screen, stt, system, tts
    
    browser is absent despite the toggle being ON.
  5. Fully uninstall Companion, reinstall latest, re-pair node from scratch (openclaw nodes status confirms fresh approval) — same result persists.
  6. From the Gateway side, browser(action=status, node=<windows-node-id>) fails with unknown node / the node never appears in browser(action=profiles).

Expected

Either:

  • Browser control capability registers and approves like the others, and the node becomes targetable via the browser tool's node= 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.

Activity

  1. added
    P2
    impact:ux-friction
    issue-rating: 🦪 silver shellfish
    clawsweeper:no-new-fix-pr
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-product-decision
    on Jul 26, 2026
  2. clawsweeper commented on Jul 26, 2026

    @clawsweeper

    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.proxy when 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:

    Likely related people:

    • Scott Hanselman: Commit 9b5ce4b added both NodeCapabilityGating and 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)
    • anagnorisis2peripeteia: Commit a2e2773 added the browser-control port override in the NodeService browser proxy path. (role: browser proxy contributor; confidence: medium; commits: a2e2773bb935; files: src/OpenClaw.Tray.WinUI/Services/NodeService.cs)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  3. Super-0 commented on Jul 27, 2026

    @Super-0

    I have a stronger repro/data point for this on Monday, July 27, 2026.

    My setup differs slightly from the original report:

    • Windows Hub / Companion: v0.6.12
    • Gateway topology: local gateway on the same Windows PC via WSL / loopback
    • Tray gateway entry: ws://127.0.0.1:18789

    What I verified:

    1. The Windows node reconnects successfully and stays healthy.
    2. The dedicated browser side is also alive:
      • Chrome is running with --remote-debugging-address=127.0.0.1 --remote-debugging-port=9222
      • http://127.0.0.1:18800/json/version responds successfully from the host side
    3. I initially found %AppData%\\Roaming\\OpenClawTray\\gateways.json had:
      • "browserControlPort": null
    4. I manually patched that to 18800, restarted the tray, and the value stuck:
      • "browserControlPort": 18800
    5. Even with the persisted browser control port fixed, the companion still rebuilt only the same 8 capabilities and omitted browser.
    6. I then performed a quiet in-place reinstall from the official current installer (OpenClawCompanion-Setup-x64.exe from releases/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: system
    • Registered capability: canvas
    • Registered capability: screen
    • Registered capability: camera
    • Registered capability: location
    • Registered capability: tts
    • Registered capability: stt
    • Registered capability: device
    • Capabilities 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 browser was still absent.

    So this looks narrower than “browser debug host is dead” or “saved gateway state is null”. On this machine:

    • browser debug host is alive
    • browser relay path is alive
    • browserControlPort can be present and persisted
    • reinstalling the current official v0.6.12 build does not change the behavior

    The remaining failure appears to be inside the Windows Hub capability builder itself: NodeService is deciding not to register browser at all before handshake.

    If useful, I can provide redacted excerpts from:

    • %LOCALAPPDATA%\\OpenClawTray\\openclaw-tray.log
    • %APPDATA%\\Roaming\\OpenClawTray\\gateways.json
    • openclaw nodes status --json
  4. ShadowNineX commented on Jul 28, 2026

    @ShadowNineX

    ImageI have the same issue.

  5. removed
    clawsweeper:no-new-fix-pr
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-product-decision
    issue-rating: 🦪 silver shellfish
    on Jul 30, 2026
  6. 4 remaining items

  7. added
    issue-rating: 🦪 silver shellfish
    clawsweeper:not-repro-on-main
    issue-rating: 🐚 platinum hermit
    clawsweeper:needs-live-repro
    issue-rating: 🦞 diamond lobster
    clawsweeper:source-repro
    impact:auth-provider
    and removed
    issue-rating: 🦪 silver shellfish
    clawsweeper:not-repro-on-main
    issue-rating: 🐚 platinum hermit
    clawsweeper:needs-live-repro
    on Jul 30, 2026
  8. bkudiess commented on Aug 1, 2026

    @bkudiess
    Collaborator

    Thanks for the detailed reports. PR #1066 is now merged into main as 8ac00c5f4977e9a7a3987f712816c10535a09ee3.

    The fix preserves the existing Browser control authentication boundary and makes the blocked state truthful across Connection, Command Center, diagnostics, and tray logging:

    • Default local setup and explicit shared-token connections can register Browser control normally.
    • QR/setup-code pairing alone does not provide the shared Gateway token required by the browser-control HTTP surface. The Companion now explains that requirement instead of showing an indefinite “Enabled, not active yet” state.
    • Remote Gateways also require a reachable browser-control port or SSH browser-proxy forward; the shared token alone is not sufficient.
    • Disconnected or attached-but-not-connected nodes show reconnect guidance rather than token-remediation guidance.

    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.

  9. locked as resolved and limited conversation to collaborators on Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2clawsweeper:source-reproimpact:auth-providerimpact:ux-frictionissue-rating: 🦞 diamond lobster

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions