Skip to content

fix(onboard): restore default tools profile to full - #32969

Closed
stakeswky wants to merge 1 commit into
openclaw:mainfrom
stakeswky:fix/32833
Closed

stakeswky wants to merge 1 commit into
openclaw:mainfrom
stakeswky:fix/32833

Conversation

@stakeswky

@stakeswky stakeswky commented Mar 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • change onboarding local-workspace default tools.profile from messaging back to full
  • keep existing explicit tools.profile values unchanged
  • update non-interactive onboarding gateway test expectation accordingly

Root cause

In v2026.3.2, onboarding started writing tools.profile: "messaging" when unset. This profile intentionally excludes runtime tools like exec and browser, which made users think plugin install failed because those tools disappeared after onboarding.

Testing

  • pnpm -s vitest run src/commands/onboard-config.test.ts src/commands/onboard-non-interactive.gateway.test.ts
    • onboard-config.test.ts passes
    • one existing unrelated failure remains in onboard-non-interactive.gateway.test.ts remote call path (hello.features undefined in mocked gateway client), but the updated expectation for tools profile is covered.

@greptile-apps

greptile-apps Bot commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR reverts the default onboarding tools profile from "messaging" back to "full" (the pre-v2026.3.2 behavior), fixing a regression where runtime tools like browser automation disappeared after onboarding and made users think plugin installation had failed. The fix is minimal and correctly scoped: the ?? operator in applyOnboardingLocalWorkspaceConfig ensures only workspaces with no prior tools profile configured receive the default; any explicitly set profile is preserved unchanged. The corresponding test expectation in the non-interactive gateway test is updated to match the restored default.

Confidence Score: 5/5

  • Safe to merge — minimal revert of a single constant value with corresponding test update.
  • This PR is a straightforward revert of a regression. The single constant change from "messaging" to "full" directly restores the previous behavior. The ?? guard ensures backward compatibility by preserving any explicitly configured profiles. All relevant tests pass. The change is well-understood, minimal in scope, and carries no risk of introducing new issues.
  • No files require special attention

Last reviewed commit: f334eaf

@cgdusek

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commands Command implementations size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants