mirror of
https://github.com/iflytek/skillhub.git
synced 2026-08-28 11:25:00 +00:00
When --agent is provided without --scope, scope was inferred via root.startsWith(cwd), which mislabels user roots as project when cwd === home. Use profile.userRoots(home) membership instead, so the candidate scope reflects the profile's intent rather than path prefix overlap. The chosen root path itself is unchanged. |
||
|---|---|---|
| .. | ||
| profiles.test.ts | ||
| resolver.test.ts | ||