Skip to content

fix(plugin): remove unsupported enum keys from userConfig (v2.0.8 hotfix)#190

Merged
auroracapital merged 1 commit intomainfrom
fix/plugin-userconfig-remove-enum
May 1, 2026
Merged

fix(plugin): remove unsupported enum keys from userConfig (v2.0.8 hotfix)#190
auroracapital merged 1 commit intomainfrom
fix/plugin-userconfig-remove-enum

Conversation

@auroracapital
Copy link
Copy Markdown
Collaborator

@auroracapital auroracapital commented May 1, 2026

Summary

  • v2.0.5 added `enum` to several `userConfig` fields, but Claude Code's plugin manifest validator rejects `enum` ("Unrecognized key: enum"), preventing the plugin from loading.
  • Removes `enum` from `fix_model`, `max_fixes_per_hour`, `watcher_timeout_seconds`, `notify_channel`, `task_reminder_threshold`, `aws_region`, `doppler_config`.
  • Field descriptions retain the valid value lists so users still know what's allowed.

Test plan

  • `python3 -m json.tool` validates plugin.json
  • No remaining `"enum"` keys in `userConfig`
  • Post-merge: tag `v2.0.8` to fire the release workflow

🤖 Generated with Claude Code


Note

Low Risk
Low risk hotfix limited to plugin manifest metadata; it removes unsupported enum keys to restore plugin loading and does not change runtime behavior.

Overview
Restores Claude Code stable compatibility by removing unsupported enum keys from plugin.json userConfig fields (e.g. fix_model, budgets/timeouts, notify_channel, aws_region, doppler_config) while keeping defaults and value guidance in descriptions.

Bumps the plugin version to 2.0.8 and documents the hotfix in CHANGELOG.md.

Reviewed by Cursor Bugbot for commit 0a88a08. Bugbot is set up for automated code reviews on this repo. Configure here.

Summary by CodeRabbit

  • Bug Fixes

    • Resolved plugin manifest validation errors that were preventing the plugin from initializing correctly.
  • Chores

    • Version bumped to 2.0.8.

Claude Code's plugin manifest validator rejects "enum" on userConfig
fields ("Unrecognized key: enum"), which broke plugin loading after
v2.0.5 introduced them. Removed enum from fix_model, max_fixes_per_hour,
watcher_timeout_seconds, notify_channel, task_reminder_threshold,
aws_region, and doppler_config. Descriptions retain valid value lists.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 1, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e7bf4298-2d41-4705-b59d-7f03be3ec0a9

📥 Commits

Reviewing files that changed from the base of the PR and between 1114c23 and 0a88a08.

📒 Files selected for processing (2)
  • claude-ops/.claude-plugin/plugin.json
  • claude-ops/CHANGELOG.md

📝 Walkthrough

Walkthrough

Plugin version bumped to 2.0.8. Removed enum constraints from seven userConfig fields in plugin.json while preserving defaults and numeric bounds. Changelog updated documenting the hotfix that resolves plugin validation failures.

Changes

Cohort / File(s) Summary
Plugin Configuration
claude-ops/.claude-plugin/plugin.json
Version updated to 2.0.8. Removed enum constraints from seven userConfig fields (fix_model, max_fixes_per_hour, watcher_timeout_seconds, notify_channel, task_reminder_threshold, aws_region, doppler_config) while retaining default values and numeric min/max bounds.
Documentation
claude-ops/CHANGELOG.md
Added 2.0.8 hotfix section documenting enum removal from plugin.json to resolve manifest validation failures.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

🐰 Constraints removed, now we hop with glee,
Enums vanished from each config decree,
Validation flows smooth as rabbit fur,
Two-point-oh-eight makes the whole crew purr! 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: removing unsupported enum keys from userConfig in a v2.0.8 hotfix, matching the changeset content.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/plugin-userconfig-remove-enum

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

Comment @coderabbitai help to get the list of available commands and usage tips.

@auroracapital auroracapital merged commit 65f92c9 into main May 1, 2026
9 of 11 checks passed
@auroracapital auroracapital deleted the fix/plugin-userconfig-remove-enum branch May 1, 2026 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant