mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 20:34:19 +00:00
Updating an agent from the dashboard replaced the file with the remote version even when the user had edited it since install. Skills were already protected: update skips them and offers a forced retry. Agents had the recorded file hash to compare against, but the update never looked at it. An agent whose file no longer matches its recorded hash is now skipped with the same message as a skill, so the Updates tab offers Force Retry and the agent's own page asks before overwriting. The check runs only once a newer version is about to be written, so an edited agent that is already at the remote version still reports up to date. Assigning targets to an agent from the dashboard rewrites its frontmatter. That rewrite now carries the recorded hash, as it does for skills, so it is not mistaken for a local edit. The confirmation on the agent's page no longer tries to list the local changes: that list is served for skills only and showed a load error.