Problem
Currently GitHubAbilities reads github_pat and github_default_repo from Data Machine core's PluginSettings. Once the code is extracted, the extension needs to manage its own settings — either with its own options or by providing a settings registration hook.
Options
- Own wp_options —
datamachine_code_github_pat, datamachine_code_github_default_repo
- Settings API hook — Register settings via
datamachine_settings filter so they appear in core's settings UI
- Hybrid — Read from own options, fall back to core's settings for migration
Acceptance Criteria
Problem
Currently GitHubAbilities reads
github_patandgithub_default_repofrom Data Machine core'sPluginSettings. Once the code is extracted, the extension needs to manage its own settings — either with its own options or by providing a settings registration hook.Options
datamachine_code_github_pat,datamachine_code_github_default_repodatamachine_settingsfilter so they appear in core's settings UIAcceptance Criteria
wp datamachine-code github set-pat <token>wp datamachine-code github set-repo <owner/repo>