Skip to content

[Bug]: Chat plugin installs hide required setup warnings #123726

Closed

Description

@steipete

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

  1. Enable owner-only plugin chat commands in an isolated Gateway.
  2. Create a plugin whose manifest requires a configuration field.
  3. Install it through /plugins install <local-path> --force without supplying that configuration.
  4. 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

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.

Activity

  1. self-assigned this
    on Aug 14, 2026
  2. added
    bug
    on Aug 14, 2026
  3. added
    maintainer
    on Aug 14, 2026
  4. added
    clawsweeper:linked-pr-open
    clawsweeper:no-new-fix-pr
    clawsweeper:source-repro
    impact:ux-friction
    issue-rating: 🦞 diamond lobster
    P2
    on Aug 14, 2026
  5. clawsweeper commented on Aug 14, 2026

    @clawsweeper
    Contributor

    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 maintainer label 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

    Question Recommendation
    Should the open linked repair PR be merged to restore the missing setup instruction in owner chat installs? Review and merge the linked repair: Confirm that only producer-authored redacted warnings reach chat and merge the existing focused PR.

    Why: The issue has a protected maintainer label 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 maintainer label 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:

    • add P2: A successful chat install can leave a plugin unusable without disclosing the required setup and enablement action.
    • add impact:ux-friction: The documented disabled-install recovery exists, but the affected chat flow omits it.
    • add issue-rating: 🦞 diamond lobster: Current issue advisory state selects this label.
    • add clawsweeper:source-repro: Current issue advisory state selects this label.
    • add clawsweeper:linked-pr-open: Current issue advisory state selects this label.
    • add 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:

    • Current-main defect: The chat command appends only 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)
    • Producer-owned instruction: Persistence detects missing required configuration, records the plugin disabled, and emits the configure/enable instruction through its warning sink. (src/plugins/install-persistence.ts:667, 2bc1699a37fb)
    • Existing sibling behavior and contract: The administrative installer already supplies a warning collector to both source installation and persistence, while the docs define that absent plugin config leaves an install disabled until configuration and plugins enable. (src/plugins/management-service.ts:1435, 2bc1699a37fb)
    • History and likely ownership: Blame attributes both the chat bridge and required-configuration warning on current main to the available recent area history; the checkout is shallow, so earlier feature provenance is not available locally. (src/auto-reply/reply/commands-plugins-install.ts:52, 38379a2ee1f2)
    • Canonical open repair: The linked PR explicitly targets this warning-propagation gap and reports focused tests plus isolated Gateway chat proof; it remains open and therefore owns the implementation candidate. (9df65f0cb5f6)
    • Maturity assessment: The maturity shortlist identifies Plugins as M3 Beta; this issue's producer and owner boundary are plugin installation/persistence rather than M4 CLI transit, so maturity:stable does not apply. (taxonomy.yaml:990, 2bc1699a37fb)

    Likely related people:

    • steipete: Current-main blame for the chat bridge and configuration-warning producer is attributed to Peter Steinberger; the linked repair and issue are also authored by this GitHub login. (role: recent area contributor; confidence: medium; commits: 38379a2ee1f2; files: src/auto-reply/reply/commands-plugins-install.ts, src/plugins/install-persistence.ts, src/plugins/management-service.ts)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2bugclawsweeper:linked-pr-openclawsweeper:no-new-fix-prclawsweeper:source-reproimpact:ux-frictionissue-rating: 🦞 diamond lobstermaintainer

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions