Repository navigation
fix(pull): name the skills a pull removes because they are no longer delivered (#911) - #917
Conversation
|
…s byte-identical to its inactive namespace source (Tencent#917 review)
|
Both findings are real, fixed in bb14e67. pull.ts provenance. You were right that the phase cannot answer this question. The hint now follows the repo instead: usage-guide wording. Qualified as "no namespace skills" in both usage-guide.md and usage-guide.zh-CN.md. CHANGELOG entry added under Bug Fixes. |
The two earlier findings are resolved in the current diff. The PR description includes sufficient real-CLI verification for this runtime change. |
…delivered (Tencent#911) (Tencent#917) * fix(pull): name the skills a pull removes because they are no longer delivered (Tencent#911) * fix(pull): keep the tags subscribe hint when the removed skill copy is byte-identical to its inactive namespace source (Tencent#917 review)
Summary
teamai pullnow names the skills it removes because they are no longer delivered here, in one info line. Before, a member who picked a role or project (or whose admin addedmanifest/projects.yaml) lost their root skills with only adebugline calling them "excluded" and a summary that saidNo resources to sync. When a removed skill is a root skill in role or project mode, the line also says how to get it back:teamai tags subscribe <tag>.Type of Change
Test Plan
npx tsc --noEmitpassesnpm run lintpasses (exit 0)npx vitest runpasses: 342 files, 5495 passed, 1 skippedTwo tests in
src/__tests__/pull-namespace-override.test.ts, following the proposal in the issue:teamai tags subscribe <tag>hintBoth fail on
main(3a9a24a) and pass with the fix:Real CLI, the reproduction from the issue (bare git team repo with
skills/shared-skill,teamai pull, then an admin addsmanifest/projects.yamlwith one project and the member pulls again with no--project).On
main:On this branch:
Related Issues
Fixes #911
Notes for Reviewers
src/pull.tscollects the removed names across tools into one set, so a skill removed from several tools is named once. Skills the member excluded withteamai excludekeep the olddebugline: that removal is what they asked for.cleanupInactiveNamespaceSkillsnow returns the names it removed and they join the same line, as the issue suggests. Its existing callers in tests ignore the return value.docs/usage-guide.mdanddocs/usage-guide.zh-CN.mdno longer say a member with no project still getscommon, and gain a bullet on root skills arriving through a tag.docs/designs/multi-project-management.mdnotes the skills exception on the<type>/root line. CHANGELOG entry under Unreleased / Bug Fixes.Prepared with AI assistance (Claude Opus 5.5 via Claude Code) and reviewed before submission.