-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
doctor --fix populates plugins.allow with only non-bundled plugins, blocking all 65 bundled plugins under bundledDiscovery: compat #87869
Copy link
Copy link
Closed
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug Description
openclaw doctor --fixpopulatesplugins.allowwith only non-bundled plugins, which blocks all 65 bundled stock plugins from loading whenplugins.bundledDiscoveryis"compat".Reproduction Steps
plugins.allow: []andplugins.bundledDiscovery: "compat"(the v2026.5.27 default after fresh install)openclaw-honcho) and configure bundled providers (e.g.,minimax,ollama,opencode-go) and a search plugin (e.g.,tavily)openclaw doctor— it shows:openclaw doctor --fixObserved Behavior
--fixwritesplugins.allow: ["minimax", "opencode-go", "tavily", "openclaw-honcho", "ollama"]openclaw doctorstill shows the same 5 "Doctor changes preview" items again (plugins.allowwas reverted by config auto-restore)(2 plugins: openclaw-honcho, tavily; 2.1s)instead of the expected 65Expected Behavior
Either:
doctor --fixshould NOT populateplugins.allowwhenbundledDiscovery: "compat"is active, since compat mode means bundled plugins auto-load regardless of the allowlistbundledDiscovery: "compat"should actually exempt bundled plugins from the allowlist gate at plugin load time (not just for provider discovery/inventory), so that a non-emptyplugins.allowdoesn't block bundled pluginsdoctor --fixshould add ALL detected bundled plugins to the allowlist, not just the 5 non-bundled/config-entry onesImpact
doctor --fix(the recommended maintenance command)plugins.allowto[]and restart gateway--fixagain repeats the same breakage because the 5 items still show as pending in doctordoctor --fixauto-population behavior makes this much more likely to hit.Version
Related Issues
doctor --fixatomicity failure (exacerbates this — if--fixfails partway through, config is left in broken state)plugins.bundledMode/bundledDiscoverybundledDiscovery: "compat"(performance concern with compat mode)Workaround
After running
doctor --fix, manually revertplugins.allowto[]: