mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
Add CheckAgents() in internal/check/ that scans agents source directory, reads per-agent metadata (<name>.skillshare-meta.json), and compares file hashes to detect drift. Statuses: up_to_date, drifted, local, error. Add agent trash functions in internal/trash/: - AgentTrashDir() / ProjectAgentTrashDir() for agent-specific trash paths - MoveAgentToTrash() moves agent .md file + metadata to timestamped trash subdirectory with rename-or-copy-then-delete fallback 6 unit tests for agent check covering empty dir, local agent, hash match, drift detection, nonexistent dir, and non-md filtering.