Skip to content

fix: preserve unowned skills during uninstall - #25

Merged
cheshirecode merged 1 commit into
mainfrom
codex/loop-program-1bZ1xG-c4
Jul 31, 2026
Merged

fix: preserve unowned skills during uninstall#25
cheshirecode merged 1 commit into
mainfrom
codex/loop-program-1bZ1xG-c4

Conversation

@cheshirecode

Copy link
Copy Markdown
Owner

The skill uninstaller now removes only symlinks that resolve to this checkout or copied skill directories whose ownership marker still matches their content. Unowned and edited directories are preserved with a warning.

This closes the destructive gap between install-time fail-closed behavior and uninstall-time cleanup while retaining removal of verified installations.

Tests:

  • bash tests/run.sh all
  • bash -n bin/uninstall.sh tests/run.sh
  • shellcheck --severity=warning bin/uninstall.sh tests/run.sh
  • git diff --check

@cheshirecode
cheshirecode merged commit a6ace23 into main Jul 31, 2026
4 checks passed
@cheshirecode
cheshirecode deleted the codex/loop-program-1bZ1xG-c4 branch July 31, 2026 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant