forked from farhoodlabs/paperclip
fix(skills): auto-detach agents when pruned skill is in use during repo sync
During a repo sync (scan button), if a skill was removed from the source and is still assigned to agents, the skill is now automatically detached from those agents before deletion, rather than leaving it attached. Manual delete-by-source is unchanged (still blocks if in use). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -294,7 +294,7 @@ describe("company skill mutation permissions", () => {
|
||||
skipped: [],
|
||||
conflicts: [],
|
||||
warnings: [
|
||||
'Skill "ghost-skill" was removed from https://github.com/vercel-labs/agent-browser but is still used by Builder. It will not be automatically removed.',
|
||||
'Skill "ghost-skill" was removed from https://github.com/vercel-labs/agent-browser and detached from Builder.',
|
||||
],
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user