forked from farhoodlabs/paperclip
157729ea95
Cover the pruning logic in scanProjectWorkspaces with integration tests using embedded Postgres and mocked GitHub HTTP layer: - skill removed from source → detached from agents → deleted from DB - skill removed with no agent references → deleted without warnings - source fetch failure → no pruning, warning emitted Addresses review feedback on PR #3351 requesting test coverage for the destructive prune/delete behavior. Co-Authored-By: Paperclip <noreply@paperclip.ing>