Skip to content

fix: preserve hidden skill entries during prune - #276

Open
jadams-positron wants to merge 1 commit into
getgaal:mainfrom
jadams-positron:fix/275-preserve-hidden-skills
Open

fix: preserve hidden skill entries during prune#276
jadams-positron wants to merge 1 commit into
getgaal:mainfrom
jadams-positron:fix/275-preserve-hidden-skills

Conversation

@jadams-positron

@jadams-positron jadams-positron commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Preserve hidden entries directly beneath managed skills directories during sync --prune, preventing removal of Codex's .system directory. Visible orphan skills are still removed recursively, including hidden descendants.

Type of Change

  • Bug fix
  • New feature
  • Refactor (no functional change)
  • Documentation
  • Chore / dependency update

Related Issues

Closes #275

Checklist

  • make lint passes — gofmt formatting + go vet clean
  • make build passes on Linux and macOS
  • Test CI command passes — go test -race -count=1 -timeout 5m ./...
  • make coverage-ci run
  • Every new function has at least one slog.Debug / slog.DebugContext call — no new functions
  • Documentation updated if user-facing behaviour changed
  • No secrets or credentials are exposed in logs or config snippets

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.

[Bug] sync --prune deletes Codex's reserved .system directory

1 participant