Repository navigation
Conversation
The Claude Code provider declared a static user skill root (.claude/skills under home) while also resolving its own roots from CLAUDE_CONFIG_DIR. bb scanned both, so with CLAUDE_CONFIG_DIR set the skill list offered home skills the agent never loads. The resolver already returns the configured skills root, so drop the declared user root and make the config-dir golden expect the home skills absent. Fixes #3926 Co-Authored-By: Claude Opus 5.5 <[email protected]>
ymichael
deleted the
bb/3926-a-provider-s-declared-user-skill-root-is-sc-thr_d4khv4ivcc
branch
November 6, 2026 04:45
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Human comments
What was wrong
provider-claude-codedeclared a static user skill root (.claude/skillsunder home) and also setexperimental_resolvesNativeRoots, resolving its roots fromCLAUDE_CONFIG_DIR. bb scans declared roots in addition to resolved ones, so withCLAUDE_CONFIG_DIRset the skill list included~/.claude/skillsas well as$CLAUDE_CONFIG_DIR/skills. Claude Code reads only the configured directory, so the listing offered skills the agent never loads (#3926).What changed
plugins/provider-claude-code/src/native-roots.ts: removed the declareduserskill root.resolveClaudeNativeRootsalready returns<claudeDir>/skills, which is~/.claude/skillsby default and$CLAUDE_CONFIG_DIR/skillswhen set. The declared project roots are unchanged.tests/integration/native-roots-golden: the fixture now treats the home skills (home-claude-skill,linked-home-skill) as present in the default variant and absent in theconfig-dirvariant, and theclaude-code.config-dir.jsongolden drops them.This is the skills half of closed #6495. The health/usage, fork and
config-directory.tschanges are out of scope; #3607 covers them. The change stays inside the plugin: no protocol bump, no SDK change.How you verified
pnpm exec turbo run test --filter=bb-plugin-provider-claude-code: 29 files, 430 tests pass.vitest run native-roots-goldenintests/integration: 22 tests pass, including the default and config-dir Claude Code variants. Without the native-roots change, the updated fixture fails because the home skills are reported underCLAUDE_CONFIG_DIR.Fixes #3926
🤖 Generated with Claude Code