Files
PaperClipAI/packages
nickyleachandPaperclip 57fd03312f fix(adapter-utils): prune a Gemini managed skill only when its shape on disk is still lane-owned
The prune step removed any entry the managed-skills manifest named, with
no check of what the entry currently is. The manifest records what the
lane owned at the end of the last run, not what the entry is now. A user
could remove a managed symbolic link and write their own directory at
the same name between runs; the next prune then deleted that directory.

Add a shape check at the point of removal. A manifest-named entry is
still lane-owned only when it is a symbolic link, or a directory that
carries a valid materialized-skill sentinel. Every other shape survives
the prune, and Paperclip logs one line to record why.

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-09-11 15:17:40 +00:00
..