mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
reloadConfig now updates s.cfg.Source and s.cfg.AgentsSource from the refreshed ProjectConfig so project UI handlers see the latest source directories after a config edit. Add ProjectGitignoreTarget helper that computes the correct .gitignore directory and entry prefix based on whether the source path is inside .skillshare/ or a custom location. All gitignore write and remove operations (reconcile, install, uninstall, server handlers) now use this helper instead of hardcoded 'skills/' prefix. Fix nil projectCfg panics in three server tests that simulate project mode by setting projectRoot without projectCfg.