Repository navigation
Description
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.BuildLocalPermissionsderivescamera.capturefrom the app'sNodeCameraEnabledsetting. This is an app permission declaration, not an OS permission or device-readiness check.NodeService.OnCameraSnaphandles Windows access denial when capture executes and already returns actionable privacy-settings guidance. Reuse that knowledge instead of adding an unrelated error vocabulary.ConnectionStatusDiagnosticsexposes 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.WindowsNodeContextSectionsupplies 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.statusdiagnostics 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.rundisabled, 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/listandtools/callproof. 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
- feat(node): project truthful capability readiness #1160 (feat(node): project truthful capability readiness) was closed unmerged. The closing comment cites the declined dependency, stale branch, and missing current capability/MCP proof, while explicitly preserving this issue. Reimplement against current owners rather than assuming that draft landed.
- Browser proxy should be ready-to-use or visibly blocked with a guided repair path #1154 owns browser-specific readiness and guided repair.
- Session-aware Node routing skill #1323 owns session-aware Node routing; accurate capability diagnostics support it but do not themselves guarantee correct agent tool selection.
- Tool containment testing + triage (camera, browser) #850 is the broader tool-containment tracking epic.
- PCMag report is the motivating user report.
Investigation validation: read-only source and GitHub history inspection. No camera interaction reproduced and no builds or tests run.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Aug 13, 2026
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
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:
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:
src/OpenClaw.Tray.WinUI/Services/ConnectionDiagnosticsProjection.cs:337, 38ee19305d27)src/OpenClaw.Tray.WinUI/App.CapabilityHandlers.cs:263, 38ee19305d27)src/OpenClaw.Tray.WinUI/Services/NodeService.cs:1135, 38ee19305d27)src/OpenClaw.Tray.WinUI/Helpers/CommandCenterTextHelper.cs:211, 38ee19305d27)docs/WINDOWS_NODE_TESTING.md:160, 38ee19305d27)tests/OpenClaw.Shared.Tests/ModelsTests.cs:1168, 38ee19305d27)Likely related people:
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.18 remaining items
[-]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[/+]github-actions commentedon Oct 8, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updated OpenClaw Windows details or it will be closed.
github-actions commentedon Oct 16, 2026
Closing due to inactivity.
If this still affects OpenClaw Windows, open a new issue with the current version, logs, and fresh reproduction details.