Skip to content

improve(setup): install latest stable Gateway from npm - #1312

Merged
shanselman merged 7 commits into
openclaw:mainfrom
karkarl:karkarl-default-gateway-latest
Sep 9, 2026
Merged

shanselman merged 7 commits into
openclaw:mainfrom
karkarl:karkarl-default-gateway-latest

Conversation

@karkarl

@karkarl karkarl commented Sep 3, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Windows managed setup should follow OpenClaw's npm version-selection behavior instead of requiring a Windows-owned Gateway recommendation update for every release.

Why This Change Was Made

New managed installs now use npm latest by default. Explicit upstream selectors remain supported: latest, stable (normalized to latest), extended-stable, beta, dev, next, and exact OpenClaw package versions.

Setup keeps the requested selector separate from the exact installed version. It discovers the installed CLI version after installation and requires the protocol-v4 Gateway handshake to report that same version. Staged .tgz candidate validation remains a separate, explicit path.

Legacy configuration is migrated by intent:

  • Versionless recommended follows upstream npm latest.
  • Versionless fallback follows upstream npm extended-stable.
  • exact, version-only, or otherwise explicitly versioned legacy configuration retains its configured exact version.
  • Versionless legacy custom-installer configuration retains the former exact recommendation/fallback because a custom installer cannot resolve npm tags.
  • New bundled configurations have no legacy selection and therefore use npm latest.

An optional exact stable FallbackVersion remains available to explicit callers after typed installed-version, protocol, or server-version failures. The obsolete setup completion fallback UI is removed. Managed Node remains pinned at 24.19.0.

Gateway 2026.9.1 also distinguishes full and limited setup-code bootstrap profiles. Windows now requests the upstream full bootstrap scope set, excluding operator.pairing; the opaque bootstrap token remains the server-enforced authority boundary and strips operator.admin for limited or plaintext-LAN setup codes. Revocation recovery proof now explicitly approves both the replacement device and its separate node command-trust request before asserting effective capabilities.

The rebase preserves current-main installer hardening: randomized mode-0700 staging, bounded HTTPS download timeouts, non-empty download validation, stdin execution, and cleanup.

User Impact

New managed Gateway installations receive the current stable npm release without waiting for a Windows policy update. Operators can still request an official channel or exact historical package. Versionless legacy recommended/fallback configurations track the corresponding upstream npm stream instead of freezing an increasingly stale Windows-owned version.

Previously shipped Windows binaries are unchanged and retain the policy compiled into those releases.

Change Type

  • Bug fix
  • Feature
  • Refactor
  • Docs or instructions
  • Tests or validation
  • Security hardening
  • Chore or infrastructure

Scope

  • Tray or WinUI UX
  • Windows node capability
  • Local MCP or winnode
  • Gateway, connection, or pairing
  • Setup or onboarding
  • Permissions, privacy, or security
  • Tests, CI, or docs

Required proof pools

  • windows-wsl-gateway-e2e: current-head npm selection, protocol-v4 pairing, Gateway invocation, setup-code bootstrap, revocation recovery, and MXC containment.
  • windows-wsl-mxc: real WSL Gateway to Windows node system.run path.
  • windows-winui-interactive: current-head setup window launch, restart UX preservation, and obsolete fallback UI removal.
  • windows-clean-installer-upgrade: clean latest-default install plus legacy-config migration behavior.
  • windows-11-arm64: managed installer and WinUI setup behavior on the ARM64 development host.

Validation

Validated through commit ea3d54ef with OPENCLAW_REPO_ROOT set to the isolated worktree.

  • .\build.ps1: passed, 5 projects built and 47 Markdown files validated.
  • dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore: 3,941 passed, 34 environment-dependent skips, 0 failed.
  • dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore: 2,860 passed, 0 failed.
  • dotnet test .\tests\OpenClaw.SetupEngine.Tests\OpenClaw.SetupEngine.Tests.csproj --no-restore: 1,108 passed, 0 failed.
  • .\scripts\validate-mxc-e2e.ps1: 17 passed, 0 failed.
  • SetupAndConnectTests: 17 passed, 1 environment-gated skip, 0 product failures.
  • RevocationAndRecoveryTests: 1 passed, 0 failed after explicit replacement-device and node command-trust approval.
  • Rubber-duck review: no blocking conflict-resolution, selector, installer-hardening, restart, bootstrap-scope, or recovery findings.

Real Behavior Proof

  • Environment tested: Windows 11 ARM64, isolated worktree, real WSL Gateway path.
  • PR head or commit tested: ea3d54ef.
  • npm selector: default latest, with no Windows-owned exact version supplied.
  • Resolved CLI: OpenClaw 2026.9.1.
  • Gateway handshake: protocol 4, server version 2026.9.1.
  • MXC result: operator/node pairing, Gateway-mediated system.run, and containment proofs passed, 17/17.
  • Setup/connect result: 17 passed and 1 environment-gated skip. Full setup received operator.admin without requiring operator.pairing; command approval remained effective.
  • Revocation result: the replacement device and its separate command-trust request were explicitly approved before effective capabilities were asserted. Test passed 1/1.
  • Rebuilt tray: isolated PID 27860, responsive with window title OpenClaw Setup.
  • Isolated data directory: C:\Users\biilai\AppData\Local\Temp\OpenClawTray\karkarl-symmetrical-couscous-karkarl-default-gateway-latest-fef4b636.
  • Screenshot or artifact links verified? (Yes/No/N/A): No.
  • Not verified or blocked: visual screenshot capture; signed clean-installer upgrade proof; a separate Windows 11 x64 host.

Security Impact

  • New permissions or capabilities? (Yes/No): Yes.
  • Secrets or tokens handling changed? (Yes/No): No.
  • New or changed network calls? (Yes/No): Yes.
  • Command or tool execution surface changed? (Yes/No): No.
  • Data access scope changed? (Yes/No): No.
  • Bootstrap risk and mitigation: Windows now requests operator.admin during setup-code bootstrap so Gateway 2026.9.1 can honor its full-access setup profile. The client does not infer authority from the request. The opaque bootstrap token carries the Gateway-issued profile, the server intersects requested scopes with that profile, limited/plaintext-LAN tokens strip admin, and operator.pairing is never requested or handed off by setup code.
  • npm-selection risk and mitigation: the official installer resolves an upstream npm selector instead of receiving a Windows-reviewed exact package version. Post-installation checks prove the exact installed CLI version and require a matching protocol-v4 Gateway handshake, but they do not provide equivalent pre-install package provenance. Merging this supply-chain policy change requires explicit maintainer approval or additional provenance safeguards.

Compatibility and Migration

  • Backward compatible? (Yes/No): Yes, with intentional tag-based migration for versionless official selections.
  • Config or environment changes? (Yes/No): Yes.
  • Migration needed? (Yes/No): Automatic.
  • Upgrade behavior: legacy Selection values are deserialized and cleared in memory. Versionless official recommended and fallback selections become latest and extended-stable; explicitly recorded versions remain exact. Versionless custom-installer selections retain their prior exact values because custom installers require an exact version.
  • Exact historical versions remain installable through Gateway.Version; exact stable recovery versions remain configurable through Gateway.FallbackVersion.

Review Conversations

  • I replied to or resolved every bot review conversation addressed by this PR.
  • I left unresolved only conversations that still need maintainer judgment.

@clawsweeper

clawsweeper Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@karkarl karkarl added the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Sep 3, 2026
@clawsweeper clawsweeper Bot added P2 Normal priority bug or improvement with limited blast radius. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. merge-risk: 🚨 security-boundary 🚨 Merging this PR could weaken sandboxing, authorization, credentials, or sensitive data. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 3, 2026
@clawsweeper

clawsweeper Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Codex review: blocked before merge. Reviewed September 8, 2026, 5:26 PM ET / 21:26 UTC (Revision 6).

ClawSweeper review

What this changes

Managed Windows setup switches to npm release selectors, migrates legacy selections, records installed Gateway versions, removes release-promotion and fallback UI paths, and expands requested bootstrap scopes.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⛔ Blocked before merge - 8 items remain

This remains useful work absent from main, but the limited-bootstrap blocker persists and wizard-only execution has another source-proven regression. The collaborator-authored PR also retains explicit security-policy and upgrade decisions.

Priority: P2
Reviewed head: 618df2ec38d3ca557f8c6052071ddc67dda45399
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful real setup results support the direction, but two concrete regressions and unresolved upgrade/security policy prevent readiness.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: The collaborator exemption applies to the general contributor-proof gate. The supplied ARM64 WSL results demonstrate latest installation, full-access pairing, and MXC invocation on unchanged production code; limited pairing, wizard-only execution, and persisted-config upgrades remain uncovered. Upstream source proves limited admin requests fail closed, so no unsupported privilege-escalation claim is made.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The collaborator exemption applies to the general contributor-proof gate. The supplied ARM64 WSL results demonstrate latest installation, full-access pairing, and MXC invocation on unchanged production code; limited pairing, wizard-only execution, and persisted-config upgrades remain uncovered. Upstream source proves limited admin requests fail closed, so no unsupported privilege-escalation claim is made.
Evidence reviewed 11 items Policy and review scope: Read the complete root AGENTS.md and proof-validation skill. No applicable nested AGENTS.md or maintainer-notes directory exists. This review performed no builds or tests and made no checkout changes.
Re-review continuity: The only change after the previously reviewed head is PID polling in PiperVoiceExtractionTests. The earlier bootstrap finding remains unchanged; the newly identified wizard-only defect was also visible at that earlier head.
Introduced bootstrap request and dependency signal: The branch adds operator.admin to bootstrap scopes. GetRequestedScopes sends these for fresh operator bootstrap connections; GatewayClientFactory explicitly uses bootstrapPairAsNode=false. The PR claims compatibility with OpenClaw Gateway 2026.9.1, making that upstream authorization contract directly relevant.
Findings 2 actionable findings [P1] Preserve bootstrap pairing for limited setup codes
[P1] Populate the installed version before wizard-only handshakes
Security Needs attention Pre-execution package authorization is removed: Official selectors and historical exact versions now pass syntax validation without the former release evidence, rejection list, or security floor. Package execution precedes the CLI/server checks, so those checks cannot establish equivalent supply-chain protection. The PR body acknowledges this tradeoff and requests approval.

How this fits together

Windows managed setup installs a Gateway inside WSL, configures it, and pairs the Windows companion. Release selection controls which package executes, while bootstrap credentials and handshake checks govern the subsequent connection.

flowchart TD
  A[New or legacy setup configuration] --> B[Release selector migration]
  B --> C[Official installer in WSL]
  C --> D[Installed version discovery]
  E[Bootstrap credential] --> F[Gateway authorization and handshake]
  D --> F
  F --> G[Pairing and setup wizard]
Loading

Decision needed

Question Recommendation
Should managed setup retire Windows package eligibility and security-floor checks while migrating versionless legacy selections to npm streams and removing the fallback UI? Retain safeguards while adding selectors: Keep a reviewed pre-execution trust boundary and compatible legacy defaults, with an explicit user choice for stream migration and visible recovery.

Why: The PR explicitly requests approval for this changed trust model, and successful installation of one release cannot establish acceptance of future package execution or legacy migration policy.

Before merge

  • Preserve bootstrap pairing for limited setup codes (P1) - A fresh limited setup code now requests operator.admin through the operator path in GatewayClientFactory. Gateway 2026.9.1 checks the original requested scopes against the issued profile and returns bootstrap_token_invalid before binding; it does not strip admin and continue. This still breaks valid limited-code pairing. Use a compatible bounded bootstrap or profile-negotiation flow and correct the associated stripping claims. This is the unresolved prior finding.
  • Populate the installed version before wizard-only handshakes (P1) - --wizard-only skips InstallCliStep, the sole producer of InstalledVersion, and that field cannot be loaded from JSON. SetupWizardRunner still calls WaitForConnectionOrPairing, so this new requirement rejects every successful protocol-v4 connection before the wizard starts, including an existing exact configuration whose server version matches. Discover the installed version on this path or retain a safely validated exact-version path. This was missed in the previous review; the relevant code is unchanged since that head.
  • Resolve security concern: Pre-execution package authorization is removed - Official selectors and historical exact versions now pass syntax validation without the former release evidence, rejection list, or security floor. Package execution precedes the CLI/server checks, so those checks cannot establish equivalent supply-chain protection. The PR body acknowledges this tradeoff and requests approval.
  • Resolve merge risk (P1) - Moving release selection to npm removes Windows release eligibility and security-floor enforcement before package execution; matching CLI/server versions afterward does not replace those guarantees.
  • Resolve merge risk (P2) - Versionless legacy configurations change release streams, and the existing in-product fallback retry disappears. Upgrade behavior and recovery after an incompatible npm release remain unproven.
  • Resolve merge risk (P1) - The supplied full-access bootstrap and recovery results do not demonstrate successful limited-token pairing or wizard-only execution.
  • Complete next step (P2) - Repair limited-token pairing and wizard-only handshakes, establish persisted-config upgrade behavior, and obtain explicit approval for the package-trust and recovery policy.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.

Findings

  • [P1] Preserve bootstrap pairing for limited setup codes — src/OpenClaw.Shared/OpenClawGatewayClient.cs:28
  • [P1] Populate the installed version before wizard-only handshakes — src/OpenClaw.SetupEngine/GatewayInstallPolicy.cs:216-221
  • [medium] Pre-execution package authorization is removed — src/OpenClaw.SetupEngine/GatewayInstallPolicy.cs:179
Agent review details

Security

Needs attention: Installer staging safeguards remain, but removing package eligibility and the security floor requires an explicit trust-policy decision.

Review metrics

None.

Merge-risk options

Maintainer options:

  1. Repair compatibility and retain the trust boundary (recommended)
    Fix limited bootstrap and wizard-only admission, preserve existing configuration intent, and retain package safeguards pending the explicit policy decision.
  2. Pause the release-policy transition
    Keep this branch open until the package-trust, legacy migration, and user recovery contract is approved and demonstrated.

Technical review

Best possible solution:

Support upstream selectors with explicit package-trust approval, preserved legacy upgrade intent, visible compatibility recovery, and handshake validation that also works when installation is skipped.

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

Yes, source establishes both triggers: fresh operator pairing with a limited bootstrap token, and --wizard-only with an existing matching exact Gateway configuration. Neither path was executed during this read-only review.

Is this the best way to solve the issue?

No, the selector/installed-version separation is useful, but bootstrap scope admission must follow the upstream contract and wizard-only flows must obtain a trusted version without rerunning installation.

Full review comments:

  • [P1] Preserve bootstrap pairing for limited setup codes — src/OpenClaw.Shared/OpenClawGatewayClient.cs:28
    A fresh limited setup code now requests operator.admin through the operator path in GatewayClientFactory. Gateway 2026.9.1 checks the original requested scopes against the issued profile and returns bootstrap_token_invalid before binding; it does not strip admin and continue. This still breaks valid limited-code pairing. Use a compatible bounded bootstrap or profile-negotiation flow and correct the associated stripping claims. This is the unresolved prior finding.
    Confidence: 0.99
  • [P1] Populate the installed version before wizard-only handshakes — src/OpenClaw.SetupEngine/GatewayInstallPolicy.cs:216-221
    --wizard-only skips InstallCliStep, the sole producer of InstalledVersion, and that field cannot be loaded from JSON. SetupWizardRunner still calls WaitForConnectionOrPairing, so this new requirement rejects every successful protocol-v4 connection before the wizard starts, including an existing exact configuration whose server version matches. Discover the installed version on this path or retain a safely validated exact-version path. This was missed in the previous review; the relevant code is unchanged since that head.
    Confidence: 0.99
    Late finding: first raised on code an earlier review cycle already covered.

Overall correctness: patch is incorrect
Overall confidence: 0.99

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against f9bfc871f6d1.

Labels

Label justifications:

  • P2: This is a bounded setup improvement with merge-blocking defects, without evidence of an already-shipped urgent incident.
  • merge-risk: 🚨 compatibility: The patch changes legacy selection semantics, removes visible fallback recovery, and breaks configured wizard-only execution.
  • merge-risk: 🚨 auth-provider: Fresh limited bootstrap credentials request an unsupported admin scope and fail Gateway admission.
  • merge-risk: 🚨 security-boundary: The patch removes package eligibility and security-floor checks before executing the selected Gateway package.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The collaborator exemption applies to the general contributor-proof gate. The supplied ARM64 WSL results demonstrate latest installation, full-access pairing, and MXC invocation on unchanged production code; limited pairing, wizard-only execution, and persisted-config upgrades remain uncovered. Upstream source proves limited admin requests fail closed, so no unsupported privilege-escalation claim is made.

Evidence

Security concerns:

  • [medium] Pre-execution package authorization is removed — src/OpenClaw.SetupEngine/GatewayInstallPolicy.cs:179
    Official selectors and historical exact versions now pass syntax validation without the former release evidence, rejection list, or security floor. Package execution precedes the CLI/server checks, so those checks cannot establish equivalent supply-chain protection. The PR body acknowledges this tradeoff and requests approval.
    Confidence: 0.99

What I checked:

Likely related people:

  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • bkudiess: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • shanselman: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Repair limited bootstrap and wizard-only execution, with focused regressions and real setup results for both paths.
  • Provide persisted-config upgrade evidence for the approved migration behavior.
  • Resolve package-trust, security-floor, and visible compatibility-recovery policy.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • 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.

History

Review history (5 earlier review cycles)
  • reviewed 2026-09-03T22:15:34.926Z sha ed21f16 :: blocked before merge. :: [P1] Preserve existing Gateway selection configurations | [P2] Run the required Gateway setup validation
  • reviewed 2026-09-04T00:11:44.039Z sha 8128250 :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-04T00:41:14.137Z sha 33f255b :: needs real behavior proof before merge. :: [P1] Preserve legacy pinned Gateway behavior on upgrade
  • reviewed 2026-09-04T01:26:02.452Z sha 9e92221 :: needs real behavior proof before merge. :: [P1] Preserve legacy pinned Gateway behavior on upgrade
  • reviewed 2026-09-08T19:30:35.885Z sha ea3d54e :: blocked before merge. :: [P1] Preserve bootstrap pairing for limited setup codes

@karkarl

karkarl commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P1 Urgent regression or broken agent/channel workflow affecting real users now. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal priority bug or improvement with limited blast radius. labels Sep 4, 2026
Install the latest stable OpenClaw package from npm during managed setup and verify the resolved runtime version through the Gateway handshake. Remove obsolete fallback promotion surfaces while retaining exact candidate and custom-installer validation.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 22f7cc0d-ff55-48d8-a2a0-65d21a79ecaa
Remove the remaining references to the retired recommendation pin and document independent npm latest resolution with protocol-v4 version verification.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 22f7cc0d-ff55-48d8-a2a0-65d21a79ecaa
Mirror upstream npm selector behavior while migrating legacy recommended, fallback, and exact configurations without changing their prior pins.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 22f7cc0d-ff55-48d8-a2a0-65d21a79ecaa
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 22f7cc0d-ff55-48d8-a2a0-65d21a79ecaa
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 22f7cc0d-ff55-48d8-a2a0-65d21a79ecaa
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 22f7cc0d-ff55-48d8-a2a0-65d21a79ecaa
@karkarl
karkarl force-pushed the karkarl-default-gateway-latest branch from 9e92221 to ea3d54e Compare September 8, 2026 19:21
@clawsweeper clawsweeper Bot added P2 Normal priority bug or improvement with limited blast radius. merge-risk: 🚨 auth-provider 🚨 Merging this PR could break OAuth, tokens, provider routing, model choice, or credentials. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P1 Urgent regression or broken agent/channel workflow affecting real users now. labels Sep 8, 2026
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 22f7cc0d-ff55-48d8-a2a0-65d21a79ecaa
@shanselman

Copy link
Copy Markdown
Collaborator

Maintainer update for #1312 (improve(setup): install latest stable Gateway from npm): the current-main integration and repair set are complete locally.

Repairs include bounded bootstrap scopes for limited setup codes, strict authenticated version adoption for wizard-only connections, explicit exact-version enforcement for custom installers, restored configured fallback recovery in UI and headless output, corrected CI classification for GatewayInstallPolicy.cs, and aligned protocol documentation.

Validation on the repaired current-main integration:

  • ./build.ps1: passed
  • Shared tests: 3,943 passed, 32 integration tests skipped by their normal environment gates
  • Tray tests: 2,865 passed
  • SetupEngine tests: 1,118 passed
  • CI classifier regression script: passed
  • Structured autoreview: clean on each repair commit
  • Rubber-duck recheck: no remaining blockers

Real MXC setup proof is blocked before the changed code runs because this host's wsl --install cannot attach its swap VHDX (Access is denied). Crabbox validation was abandoned at maintainer direction. The older ARM64 proof does not cover the repaired head, so hosted setup/connect, revocation-recovery, and network-recovery checks must run again after push.

The remaining blocker is GitHub authorization, not code: both git push and gh pr update-branch are rejected because this OAuth token lacks workflow scope and the branch is behind workflow changes on main. Please use the PR's Update branch button in GitHub's web interface. After that, the non-workflow repair commits can be replayed and pushed for final CI.

@shanselman shanselman removed the status: 🚢 actively landing A maintainer or agent is actively driving this item through implementation, validation, or merge. label Sep 9, 2026
@clawsweeper

clawsweeper Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

ClawSweeper status: review started.

I am starting a fresh review of this pull request: improve(setup): install latest stable Gateway from npm This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@shanselman
shanselman merged commit 912a105 into openclaw:main Sep 9, 2026
21 checks passed
shanselman added a commit that referenced this pull request Sep 9, 2026
Repairs the post-merge compatibility, bootstrap-profile, wizard-only, custom-installer, fallback, CI-classification, and documentation regressions from #1312.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 auth-provider 🚨 Merging this PR could break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. merge-risk: 🚨 security-boundary 🚨 Merging this PR could weaken sandboxing, authorization, credentials, or sensitive data. P2 Normal priority bug or improvement with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants