mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-18 18:04:17 +00:00
cmdExtrasMode only ran ValidateExtraConfig behind a growing list of conditions, so each new restriction needed another clause. For a plain folder extra the full check adds only the mode-name and flatten+symlink rules, which sync already rejects, so validating unconditionally cannot refuse a config that syncs today. The agents and memory extra names were string literals in sync, the server handlers, the memory store, and the CLI. They now live in internal/config, and the rename guard moves to ValidateExtraRename so a future CLI rename reuses it instead of copying the check. Refs #489