You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Onboarding: default local tools profile to coding - #38241
This fixes the highest-impact local onboarding regression cluster where agents come up with chat-only tools and report Tool not found / no read-write-exec access after setup.
The practical root cause is local onboarding writing tools.profile: "messaging" when unset.
This PR changes the local onboarding default profile to coding (while still preserving explicit user-configured profiles).
Why this scope
I reviewed related open PRs and issue threads around #32991.
Several PRs only flip to full (too broad for security posture) or include unrelated changes.
Several are conflict-dirty or do not update docs/tests consistently.
This PR keeps a narrow behavioral fix (messaging -> coding) and updates docs/tests/changelog together.
Changes
src/commands/onboard-config.ts
ONBOARDING_DEFAULT_TOOLS_PROFILE from messaging to coding.
src/commands/onboard-config.test.ts
Added explicit assertion that onboarding default profile is coding.
Closing this PR because the author has more than 10 active PRs in this repo. Please reduce the active PR queue and reopen or resubmit once it is back under the limit. You can close your own PRs to get back under the limit.
This PR fixes a local onboarding regression where agents were initialized with tools.profile: "messaging" — a chat-only profile — causing Tool not found errors when users expected read/write/exec access. The fix changes ONBOARDING_DEFAULT_TOOLS_PROFILE from "messaging" to "coding" in a single constant, with the existing ?? guard ensuring any explicitly configured profile is left untouched.
Key changes:
src/commands/onboard-config.ts: ONBOARDING_DEFAULT_TOOLS_PROFILE changed from "messaging" to "coding" (one line).
src/commands/onboard-config.test.ts: New test asserting the exported constant equals "coding"; existing behavior test already validates the runtime path via the same constant.
src/commands/onboard-non-interactive.gateway.test.ts: Integration test expectation updated from "messaging" to "coding".
Five documentation files updated consistently.
CHANGELOG.md entry added under the active 2026.3.3 Fixes section.
The change is narrow and safe: "coding" is a valid ToolProfileId, existing explicit user profiles are preserved, and all test/doc surfaces are updated together.
Confidence Score: 5/5
This PR is safe to merge — the change is minimal, type-correct, and backward-compatible.
The core change is a single constant swap ("messaging" → "coding"). Both values are valid members of the ToolProfileId union type so there are no type-safety concerns. The ?? guard preserves existing explicit configs, making the change fully backward-compatible. Tests, docs, and the changelog are all updated consistently. No unrelated files are touched.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commandsCommand implementationsdocsImprovements or additions to documentationgatewayGateway runtimer: too-many-prsAuto-close: author has more than twenty active PRs.size: XS
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This fixes the highest-impact local onboarding regression cluster where agents come up with chat-only tools and report
Tool not found/ no read-write-exec access after setup.The practical root cause is local onboarding writing
tools.profile: "messaging"when unset.This PR changes the local onboarding default profile to
coding(while still preserving explicit user-configured profiles).Why this scope
I reviewed related open PRs and issue threads around #32991.
full(too broad for security posture) or include unrelated changes.messaging->coding) and updates docs/tests/changelog together.Changes
src/commands/onboard-config.tsONBOARDING_DEFAULT_TOOLS_PROFILEfrommessagingtocoding.src/commands/onboard-config.test.tscoding.src/commands/onboard-non-interactive.gateway.test.tsmessagingtocoding.docs/gateway/configuration-reference.mddocs/reference/wizard.mddocs/start/onboarding.mddocs/start/wizard-cli-reference.mddocs/start/wizard.md2026.3.3Fixes.Validation
pnpm vitest run src/commands/onboard-config.test.ts src/commands/onboard-non-interactive.gateway.test.ts✅pnpm build✅pnpm check❌ (fails on pre-existing unrelatedextensions/feishu/src/media.tsTypeScript errors ontimeoutproperty typing)Related issues
Related overlapping PRs reviewed