Repository navigation
Description
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
Chat /plugins install reports only successful installation and restart when required plugin configuration keeps the new plugin disabled.
Steps to reproduce
- Enable owner-only plugin chat commands in an isolated Gateway.
- Create a plugin whose manifest requires a configuration field.
- Install it through
/plugins install <local-path> --forcewithout supplying that configuration. - Observe the chat reply and persisted plugin entry.
Expected behavior
The reply should say that the plugin was installed without being enabled, then tell the operator to configure it and run openclaw plugins enable <plugin-id>.
Actual behavior
The plugin is correctly persisted with enabled: false, but chat reports only that it was installed and that the Gateway will restart.
OpenClaw version
Current main before the attached repair; reproduced at 493a3e46b3f2921269cfb0af5dfc86efb569ceaa.
Operating system
Linux (isolated Blacksmith Testbox QA Gateway)
Install method
Source checkout with a built private QA Gateway
Model
Not applicable; this is an owner-native slash command and does not invoke a model.
Provider / routing chain
qa-channel → isolated Gateway native command handler
Evidence
- The pre-fix managed-source regression returned no persistence warning even though persistence emitted the redacted setup instruction.
- Built isolated QA Gateway + qa-channel proof installed a synthetic required-config plugin and verified the repaired reply plus persisted
enabled: falsestate. - Rebased focused proof passes 87 tests.
- Rebased changed gate: https://github.com/openclaw/openclaw/actions/runs/31816833529
Impact and severity
Affected: operators installing plugins from chat when required configuration is absent.
Severity: medium; installation succeeds safely but the operator receives no actionable path to make the plugin usable.
Frequency: every chat install of a plugin whose required configuration is missing.
Consequence: the plugin remains disabled while chat implies restart is the only remaining action.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Aug 14, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed August 14, 2026, 12:14 PM ET / 16:14 UTC.
Summary
Keep this issue open: current main still drops the required setup instruction on the chat-install path, and the protected
maintainerlabel plus open linked repair PR require maintainer review rather than closure or duplicate dispatch.Reproducibility: yes. Current source shows persistence emits the required setup warning while the chat caller can only render warnings returned by a result that does not collect that sink.
Maintainer decision needed
Why: The issue has a protected
maintainerlabel and an open implementation PR, so automated closure or a duplicate repair job would bypass required maintainer handling.Next step
The open linked PR already owns the narrow repair, while the
maintainerlabel requires a human merge decision.Review details
Best possible solution:
Review and land the linked repair if its exact head preserves a single redacted warning collection at the managed-source owner and proves the local chat-install path.
Do we have a high-confidence way to reproduce the issue?
Yes. Current source shows persistence emits the required setup warning while the chat caller can only render warnings returned by a result that does not collect that sink.
Is this the best way to solve the issue?
Yes. Returning the producer-authored, redacted persistence warning through the existing managed-source result is preferable to recreating persistence policy in individual chat callers.
AGENTS.md: found and applied where relevant.
Codex review notes: model internal, reasoning high; reviewed against 2bc1699a37fb.
Label changes
Label changes:
P2: A successful chat install can leave a plugin unusable without disclosing the required setup and enablement action.impact:ux-friction: The documented disabled-install recovery exists, but the affected chat flow omits it.issue-rating: 🦞 diamond lobster: Current issue advisory state selects this label.clawsweeper:source-repro: Current issue advisory state selects this label.clawsweeper:linked-pr-open: Current issue advisory state selects this label.clawsweeper:no-new-fix-pr: Current issue advisory state selects this label.Label justifications:
P2: A successful chat install can leave a plugin unusable without disclosing the required setup and enablement action.impact:ux-friction: The documented disabled-install recovery exists, but the affected chat flow omits it.Evidence reviewed
What I checked:
result.warnings, but the managed source installer returns after persistence without collecting its warning-sink output. (src/auto-reply/reply/commands-plugins-install.ts:80, 2bc1699a37fb)src/plugins/install-persistence.ts:667, 2bc1699a37fb)plugins enable. (src/plugins/management-service.ts:1435, 2bc1699a37fb)src/auto-reply/reply/commands-plugins-install.ts:52, 38379a2ee1f2)maturity:stabledoes not apply. (taxonomy.yaml:990, 2bc1699a37fb)Likely related people:
src/auto-reply/reply/commands-plugins-install.ts,src/plugins/install-persistence.ts,src/plugins/management-service.ts)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.