* fix(config): warn on unrecognized keys in config.json instead of silent drop (#1535) loadConfig() silently ignores any config.json keys not in its known set, leaving users confused when their settings have no effect. Add a stderr warning listing unrecognized top-level keys so the problem surfaces immediately. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(config): derive known keys from VALID_CONFIG_KEYS instead of hardcoded set Address review feedback: replace hardcoded KNOWN_CONFIG_KEYS with programmatic derivation from config-set's VALID_CONFIG_KEYS (single source of truth). New config keys added to config-set are automatically recognized by loadConfig without a separate update. Add sync test verifying all VALID_CONFIG_KEYS entries pass without warning. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
65 KiB
65 KiB