Skip to content

Show why camera, browser proxy, and system.run are unavailable, with actionable status for users and agents #1155

Closed as not planned

Description

@RomneyDa

Problem

An enabled capability toggle means the user allows a feature in OpenClaw. It does not establish that Windows permits access, the Gateway exposes and approves the command, or the required device/service is available. Today these facts are reported separately, so Settings can look enabled while the agent reports that it cannot use the feature without identifying the blocker.

Make camera, browser proxy, and system.run report a consistent, inspectable status with the specific blocker and next action. Show the same underlying facts in Settings, Command Center, and diagnostics available to the agent.

The motivating PCMag report described camera access enabled in the app while the agent said it could not access the camera. That interaction has not been reproduced in this investigation, and its exact cause is not established. The source findings below establish a diagnostics gap, not the root cause of that interaction.

Concrete examples of expected behavior

These are acceptance scenarios, not claims that each failure was reproduced.

Scenario Expected status and next action
Camera toggle is off "Camera disabled in OpenClaw." Point to the app permission setting.
Camera toggle is on, but Windows denies camera access "Camera enabled in OpenClaw, but blocked by Windows privacy settings." Provide a Windows camera privacy settings action.
Camera is permitted, but no camera is detected "No camera detected." Explain that a camera must be connected or enabled. Do not suggest Gateway approval as the repair.
Camera command is awaiting Gateway approval "Camera unavailable through Gateway: node approval required." Show the existing approval guidance. Report local MCP availability independently.
Browser control is enabled, but its required host is unreachable "Browser control enabled, but browser host is unreachable." Identify the configured endpoint and applicable repair guidance from #1154. Do not present a Gateway restart as a universal fix.
system.run is enabled, but a requested command requires approval or is denied by policy Distinguish "Command approval required" from "Command denied by execution policy." Enabling the capability must not imply authorization for every command.
Gateway is disconnected while local MCP remains available Report "Unavailable through Gateway" and local MCP availability separately. Do not mark both paths unavailable.
Readiness has not been checked, or a prior observation is stale Report "Not checked" or "Last checked ..." rather than claiming the capability is ready.

Findings on current main

Inspected commit: 0cfe050b23f90f479af38494c944e5dad041e725.

  • NodeService.BuildLocalPermissions derives camera.capture from the app's NodeCameraEnabled setting. This is an app permission declaration, not an OS permission or device-readiness check.
  • NodeService.OnCameraSnap handles Windows access denial when capture executes and already returns actionable privacy-settings guidance. Reuse that knowledge instead of adding an unrelated error vocabulary.
  • ConnectionStatusDiagnostics exposes Gateway, protocol, operator, node, MCP, browser, and pending-action diagnostics. It does not provide the combined per-capability app permission, Windows permission, authorization, and runtime-readiness view requested here.
  • WindowsNodeContextSection supplies generic discovery, permission-checking, and reconnect/restart guidance. It does not itself supply live capability readiness or targeted recovery. Implementation must specify how Gateway-connected agents obtain current status, not only expose it to local MCP clients.
  • Existing pending-reapproval coverage distinguishes pending declarations from effective commands and permissions. Preserve that distinction; a pending declaration is not authorization.

Implementation scope

Build a shared status projection from existing owners. Keep these facts distinct for each capability:

  • App setting and local command registration.
  • Windows permission, where applicable, including unknown/not checked.
  • Gateway declaration, effective approval/policy, and connection availability.
  • Local MCP exposure and availability, independently of the Gateway path.
  • Runtime readiness, observation freshness, specific blocker, and next action.

Use the projection consistently across Settings, Command Center, and agent diagnostics. Keep declaration and execution enforcement with their existing owners; a diagnostic status must not grant permission or bypass consent. Status checks must not silently capture an image or execute a command to prove readiness.

Recommended delivery sequence: establish and prove the shared contract with camera first, then add browser proxy and system.run. Camera-only delivery is an incremental milestone, not completion of this issue's full scope. Browser host repair belongs with #1154; automatic agent routing belongs with #1323.

Acceptance criteria

  • Each capability distinguishes user intent, OS permission, declaration, approval/policy, transport availability, and runtime readiness. Unknown, stale, and not-applicable values are explicit.
  • Settings and Command Center show the same specific blocker and next action for the same observed state. An enabled toggle alone does not produce a ready claim.
  • Extend current app.connection.status diagnostics additively without removing existing protocol or connection fields. Document the capability fields and freshness semantics.
  • Define and implement how a Gateway-connected agent discovers/queries the current status. Agent guidance points to that live source and relevant repair actions; static setup prose alone is insufficient.
  • Cover camera disabled, Windows denied, device absent, approval pending, and successful capture; verify status changes after the blocker is resolved.
  • Cover browser host readiness and blocked states in coordination with Browser proxy should be ready-to-use or visibly blocked with a guided repair path #1154.
  • Cover system.run disabled, policy-denied, approval-required, and permitted execution. Preserve command-specific authorization checks.
  • Verify Gateway disconnection does not incorrectly erase independent local MCP availability, and pending declarations are not reported as effective authorization.
  • Add focused state-transition tests plus live MCP tools/list and tools/call proof. Prove the Gateway-mediated discovery and invocation path for meaningful transitions.
  • Collect current-head Settings/Command Center evidence and run required repository validation. Record unavailable proof explicitly as blocked.

Previous attempt and related work

Investigation validation: read-only source and GitHub history inspection. No camera interaction reproduced and no builds or tests run.

Activity

  1. added
    P2
    impact:ux-friction
    on Aug 13, 2026
  2. added
    status: 🚢 actively landing
    clawsweeper:needs-info
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-product-decision
    clawsweeper:no-new-fix-pr
    issue-rating: 🦪 silver shellfish
    on Aug 13, 2026
  3. clawsweeper commented on Aug 13, 2026

    @clawsweeper

    Codex review: this still needs some work. Reviewed September 23, 2026, 3:10 PM ET / 19:10 UTC.

    Summary
    Current main and v2026.9.4 still lack the requested shared capability status. The prior implementation draft closed unmerged, and its closing discussion explicitly preserved this issue.

    Reproducibility: not applicable. to the requested status feature. Current source confirms the diagnostics gap, but the motivating camera interaction was not reproduced.

    Maintainer decision needed

    Question Recommendation
    Should version-2 app.connection.status gain this cross-capability status contract, and which authorized query should expose it to Gateway-connected agents? Sponsor staged shared status: Approve an additive contract and Gateway query, starting with camera while retaining browser-specific repair in its separate issue.

    Why: The current command is local MCP-only, while the request would establish a new agent-facing contract across several owners.

    Next step
    Maintainer agreement on the diagnostic contract and Gateway query is needed before this cross-surface work is scoped for implementation.

    Review details

    Best possible solution:

    Add a read-only, additive capability-status projection with explicit unknown and stale states, shared by the tray and agent diagnostics, plus an in-app Fix or Doctor action for recoverable blockers.

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

    Not applicable to the requested status feature. Current source confirms the diagnostics gap, but the motivating camera interaction was not reproduced.

    Is this the best way to solve the issue?

    Unclear: a shared additive projection fits the existing diagnostic owners, but the Gateway query and freshness contract need maintainer agreement.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • The existing status command is local MCP-only; Gateway-connected agents need an authorized way to query the same facts.
    • A readiness projection could mislead users if it treats a pending declaration as approval, reports stale observations as current, or probes by capturing an image or executing a command.

    Codex review notes: model internal, reasoning high; reviewed against 38ee19305d27.

    Label changes

    Label changes:

    No label changes.

    Label justifications:

    • P2: The source-backed diagnostics gap affects capability troubleshooting, while the motivating camera failure and a first-run blocker remain unverified.
    • impact:ux-friction: An enabled toggle can leave users and agents without a consistent explanation or recovery action.
    Evidence reviewed

    What I checked:

    Likely related people:

    • Barbara Kudiess: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    • Scott Hanselman: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    • Jeremy McKeehen: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    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.
  4. removed
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-info
    on Aug 27, 2026
  5. removed
    status: 🚢 actively landing
    on Sep 2, 2026
  6. removed
    issue-rating: 🦪 silver shellfish
    on Sep 2, 2026
  7. 18 remaining items

  8. added
    P2
    issue-rating: 🌊 off-meta tidepool
    and removed
    P0
    on Sep 15, 2026
  9. added
    P0
    and removed
    P2
    on Sep 22, 2026
  10. removed this from the MXC Update milestone on Sep 23, 2026
  11. changed the title [-]Keep Windows-node capability state truthful across Settings, Gateway declaration, and agent guidance[/-] [+]Show why camera, browser proxy, and system.run are unavailable, with actionable status for users and agents[/+] on Sep 23, 2026
  12. added
    P2
    and removed
    P0
    on Sep 23, 2026
  13. github-actions commented on Oct 8, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  14. github-actions commented on Oct 16, 2026

    @github-actions
    Contributor

    Closing due to inactivity.
    If this still affects OpenClaw Windows, open a new issue with the current version, logs, and fresh reproduction details.

  15. locked as resolved and limited conversation to collaborators on Oct 19, 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:needs-maintainer-reviewclawsweeper:needs-product-decisionclawsweeper:no-new-fix-primpact:ux-frictionissue-rating: 🌊 off-meta tidepoolstale

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions