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
When a skill flips its experimental status upstream, the manifest key
changes (gains or loses the -experimental suffix). Without explicit
handling, install would leave the stale variant on disk and in state,
and uninstall would fail to find a skill that the user typed under
its other variant name.
- Install: before installing a skill, check if the alternate variant
is in state and remove it (delete install dir, agent symlinks, and
state entry). Logs "Replaced previous variant X with Y".
- Uninstall: accept either variant when the user uninstalls by name;
if both are installed, remove both (the "old version" of the same
logical skill is stale by definition).
New `alternateVariantKey()` helper centralizes the suffix toggle.
Tests cover: install replacing stale variant, uninstall by either
variant when one is installed, uninstall removing both when both are
installed.
Co-authored-by: Isaac
0 commit comments