-
Notifications
You must be signed in to change notification settings - Fork 215
Remote gateway node pairing broken — node token scopes empty, approval flow incomplete #710
Copy link
Copy link
Open
Labels
P1Urgent regression or broken agent/channel workflow affecting real users now.Urgent regression or broken agent/channel workflow affecting real users now.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerThis issue is about auth, provider routing, model choice, or SecretRef resolution.This issue is about auth, provider routing, model choice, or SecretRef resolution.impact:securityThis issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.This issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Metadata
Metadata
Assignees
Labels
P1Urgent regression or broken agent/channel workflow affecting real users now.Urgent regression or broken agent/channel workflow affecting real users now.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerThis issue is about auth, provider routing, model choice, or SecretRef resolution.This issue is about auth, provider routing, model choice, or SecretRef resolution.impact:securityThis issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.This issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Issue: Remote gateway node pairing broken — node token scopes empty, approval flow incomplete
Replaces locked issue #663
Summary
The Windows tray Node Mode can connect to a remote gateway, but the pairing and token scoping flow is broken for remote gateway setups. The feature was described as "already implemented" in #663 which was then locked, but the implementation doesn't work in practice.
Environment
What works
What doesn't work (remote Node Mode)
Node token scopes empty — after device pairing approval, the node token is issued with
scopes: []while the operator token gets proper scopes. The gateway doesn't assign node-appropriate scopes for remote connections.openclaw nodes approvereturnsunknown requestId— node-specific pairing requests never appear as pending on the gateway side. The approval flow advertised in the docs doesn't work.openclaw devices rotate --role nodedenied — token rotation rejects the node role, so even manually fixing scopes inpaired.jsondoesn't survive rotation.Tray UI stuck — Windows tray UI stays in "Awaiting approval" state indefinitely even after device approval completes on the gateway.
Use case
Corporate laptop with restricted IT policy, no local gateway possible. A lightweight Windows node client connecting to a remote VPS gateway would enable:
exec host=nodecommands from the remote agent on the Windows machineRequest
Re-open and track the remaining pairing/scoping bugs so remote Node Mode actually works. Happy to provide logs and reproduce on demand.