Skip to content

Update setup flow — default to the local Windows gateway #840

Closed

Description

@samanthamsong

Epic: «Local gateway is the golden path for the Windows companion app» (#834)
Backlog Doc ID: #13 · Priority: P1 · Area: setup & onboarding

Description
Support Windows, WSL, and remote runtimes. Default to the Windows gateway. Add UX for an additional path to install the local gateway and run onboarding for it.

Definition of done
A user can install and onboard the local Windows gateway as the default path, end to end. Related symptom bugs: #677, #727.

Part of the «Local gateway is the golden path for the Windows companion app» tracking issue (#834).

Activity

  1. clawsweeper commented on Jun 26, 2026

    @clawsweeper

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed August 21, 2026, 7:10 PM ET / 23:10 UTC.

    Summary
    Current main already makes the app-owned local WSL gateway the selected first-run path, but this collaborator-authored request can also mean a native Windows-hosted gateway. That remaining topology choice requires maintainer confirmation before this issue can be resolved.

    Reproducibility: not applicable. this is a requested onboarding direction, not a report of a reproducible failure. Current main already has a concrete first-run local WSL install path.

    Ways to help us reproduce this

    • Add a screenshot or short recording showing the behavior.
    • Add expected vs actual behavior.

    Maintainer decision needed

    Question Recommendation
    Does “local Windows gateway” in this issue mean the shipped app-owned WSL gateway, or does it require a native Windows-hosted gateway? Accept the WSL gateway as the local default: Resolve this issue as covered by the current first-run WSL install and onboarding flow, while retaining the narrower first-run follow-up at #843 if needed.

    Why: Current source and docs deliberately define the default as an isolated WSL gateway, while a native-hosted runtime would change the product boundary and cannot be inferred from this issue wording.

    Next step
    A collaborator-authored item with an unresolved WSL-versus-native runtime interpretation needs maintainer product direction, not an automated repair branch.

    Review details

    Best possible solution:

    A maintainer should state whether the shipped app-owned WSL gateway satisfies the intended local Windows path; if native hosting is required, split it into a separately scoped runtime proposal with explicit security, lifecycle, and migration constraints.

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

    Not applicable: this is a requested onboarding direction, not a report of a reproducible failure. Current main already has a concrete first-run local WSL install path.

    Is this the best way to solve the issue?

    Unclear: the current WSL implementation is the narrowest shipped local path, but only a maintainer can decide whether that fulfills the issue’s potentially native-hosted wording.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • A native Windows-hosted gateway would be a materially different runtime and security boundary from the implemented isolated WSL gateway; treating the names as interchangeable could create an unintended product commitment.
    • Full local git-history and release-containment verification is blocked by missing promisor objects and unavailable network resolution, so this review does not claim a release-level implemented-on-main close.

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

    Label changes

    Label justifications:

    • P2: This is a bounded first-run setup direction with user-facing impact, but current source does not show an urgent outage.
    • impact:ux-friction: The request concerns clarity and default routing in onboarding rather than a confirmed loss of setup data or credentials.
    Evidence reviewed

    What I checked:

    Likely related people:

    • steipete: The supplied merged PR context attributes the current WSL onboarding redesign to this author; it is the strongest available historical link after local promisor-history reads failed. (role: author of merged onboarding replacement; confidence: medium; commits: adcb4c378f90; files: src/OpenClaw.SetupEngine.UI/Pages/WelcomePage.xaml, docs/ONBOARDING_WIZARD.md)
    • samanthamsong: This collaborator authored this issue and the parent tracking initiative, making them the closest available routing contact for clarifying whether “Windows gateway” meant WSL-hosted or native-hosted. (role: product-direction requester; confidence: medium)
    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.
  2. added
    P1
    impact:data-loss
    impact:auth-provider
    impact:other
    issue-rating: 🌊 off-meta tidepool
    clawsweeper:no-new-fix-pr
    clawsweeper:fix-shape-clear
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-product-decision
    on Jun 26, 2026
  3. added theissue type on Jun 26, 2026
  4. moved this from Backlog to Local Gateway in Windows Companion Appon Jul 13, 2026
  5. github-actions commented on Jul 25, 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.

  6. added
    impact:ux-friction
    and removed
    impact:data-loss
    impact:auth-provider
    clawsweeper:fix-shape-clear
    on Jul 29, 2026
  7. added
    P2
    and removed
    impact:other
    P1
    on Aug 2, 2026
  8. shanselman commented on Aug 28, 2026

    @shanselman
    Collaborator

    Closing as completed. The current first-run recommended path installs and onboards the app-owned local WSL Gateway. A native Windows-hosted Gateway would be a different runtime and security proposal.

  9. locked as resolved and limited conversation to collaborators on Aug 31, 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 tidepool

    Type

    Fields

    Priority

    High

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions