Repository navigation
fix(cli): keep plugin toggles out of channel config - #76525
Conversation
|
Codex review: needs maintainer review before merge. Summary Reproducibility: yes. by source inspection against current main: CLI enable/disable omit updateChannelConfig:false, and the shared toggle helper writes channels..enabled for built-in channel ids by default. I did not execute the command because this review is read-only. Next step before merge Security Review detailsBest possible solution: Land this narrow CLI-scoped fix after normal maintainer review and merge gates, preserving channel config sync only for setup paths that intentionally opt into it. Do we have a high-confidence way to reproduce the issue? Yes, by source inspection against current main: CLI enable/disable omit updateChannelConfig:false, and the shared toggle helper writes channels..enabled for built-in channel ids by default. I did not execute the command because this review is read-only. Is this the best way to solve the issue? Yes. The diff uses the existing updateChannelConfig:false seam at the CLI policy boundary, keeping the helper default available for onboarding/setup flows that intentionally sync channel config. What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against b74401074b6e. |
49e99c9 to
f73cb7a
Compare
Summary
openclaw plugins enable/disablescoped to plugin policy instead of creatingchannels.<id>configValidation
pnpm test:serial src/cli/plugins-cli.policy.test.tspnpm check:changed: selected core/coreTests/docs only, passed