mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
The dashboard update of N tracked repos loaded the metadata store 2N times under the server lock, and each load walks the whole source tree. The refresh now returns before loading when the repo has no root SKILL.md, reports whether it saved a change, and the server reloads its store only then, through the existing reloadSkillsStore. The CLI single-repo path tracked its output with two flags and a OnceFunc. The caller hook now runs once for every outcome, so the spinner stop, the discard warning and the pull summary live in one place and print in the same order as before. auditGateFailClosed rebuilt three of its messages by hand; they are AuditGateError's own wording with another subject, so both now come from one function. Refs #443