You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
QQBot: Official plugin not auto-updated when npm install -g openclaw@latest runs #78892
When upgrading OpenClaw via npm install -g openclaw@latest, the @openclaw/qqbot plugin is not automatically updated to match the new version.
Observed Behavior
# Before upgrade
$ openclaw --version
OpenClaw 2026.5.4
# After upgrade
$ openclaw --version
OpenClaw 2026.5.6
# But qqbot plugin still on old version
$ openclaw plugins list
@openclaw/qqbot 2026.5.4 # ← should be 2026.5.6
Had to manually run openclaw plugins update @openclaw/qqbot to bring it to 2026.5.6.
Expected Behavior
Per the 2026.5.5 changelog: "keep installed official npm and ClawHub plugins such as Codex, Discord, WhatsApp, and diagnostics plugins synced during host updates even when disabled or previously exact-pinned". The qqbot plugin should be included in this auto-sync.
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded.
Close as superseded: this QQBot-specific report is a concrete example of the broader official plugin/core version-drift problem already tracked in the open canonical issue, while a narrower doctor diagnostic gap has since been fixed separately.
Canonical path: Live GitHub shows https://github.com/openclaw/openclaw/issues/83337 is open and tracks plugin/core version drift after raw/global core upgrades, including auto-upgrade, warning, or refusal policy options.
So I’m closing this here and keeping the remaining discussion on #83337.
Review details
Best possible solution:
Keep the remaining raw/global upgrade drift policy and implementation work in the open canonical plugin/core version-drift issue, with this QQBot report linked as concrete evidence.
Do we have a high-confidence way to reproduce the issue?
Yes, at source level: raw package postinstall does not run plugin update, and current status code explicitly says official plugin drift can happen after npm install -g openclaw@<v> without openclaw plugins update. I did not run a live packaged global upgrade in this read-only review.
Is this the best way to solve the issue?
No, keeping this as a separate QQBot-only issue is not the best solution now. The broader open plugin/core version-drift issue already owns the same remaining product decision and can preserve this report as a concrete QQBot example.
Security review:
Security review: This is an issue triage without a patch or security-sensitive report, so no PR security review applies.
AGENTS.md: found and applied where relevant.
What I checked:
Root policy applied: Root AGENTS.md was read fully; it requires deep source/history review and treats plugin setup/update behavior as compatibility-sensitive core work. (AGENTS.md:28, f1b8827d20c8)
Scoped plugin policy applied: The scoped plugins policy owns plugin discovery, registry assembly, and contract enforcement, so it applies to official plugin update behavior. (src/plugins/AGENTS.md:3, f1b8827d20c8)
Vision fit: VISION.md prioritizes bug fixes, stability, setup reliability, and official plugin distribution through plugin/catalog surfaces. (VISION.md:19, f1b8827d20c8)
QQBot is an official npm plugin: The current official external channel catalog includes @openclaw/qqbot with channel id qqbot, npmSpec @openclaw/qqbot, defaultChoice npm, and minHostVersion >=2026.4.10. (scripts/lib/official-external-channel-catalog.json:374, f1b8827d20c8)
Raw npm postinstall does not update plugins: The package postinstall script states plugin package dependencies are installed only by explicit plugin install/update flows, never postinstall. (scripts/postinstall-bundled-plugins.mjs:3, f1b8827d20c8)
Postinstall only migrates registry state: The inspected postinstall path imports plugin-registry-migration.js and runs migratePluginRegistryForInstall; it does not call the plugin update/sync functions. (scripts/postinstall-bundled-plugins.mjs:755, f1b8827d20c8)
Likely related people:
Peter Steinberger: Introduced update-channel plugin sync in commit 99fc0fbac1ef, touching src/plugins/update.ts, CLI update code, and update docs. (role: feature-history owner; confidence: high; commits: 99fc0fbac1ef; files: src/plugins/update.ts, src/cli/update-cli.ts, docs/cli/update.md)
Harold Hunt: Commit 401ffb59f538 added versioned plugin update support and tests, adjacent to exact/dist-tag plugin update behavior involved in this report. (role: adjacent plugin-update contributor; confidence: medium; commits: 401ffb59f538; files: src/plugins/update.ts, src/cli/plugins-cli.ts, docs/cli/plugins.md)
brokemac79: Authored merged PR https://github.com/openclaw/openclaw/pull/90927, which added doctor reporting for managed plugin drift and touched daemon status and doctor status paths. (role: recent diagnostic fix author; confidence: high; commits: 72e40833bac7; files: src/cli/daemon-cli/status.gather.ts, src/commands/doctor-workspace-status.ts, src/flows/doctor-health-contributions.ts)
vincentkoc: Merged the managed plugin drift diagnostic PR and appears in the live PR metadata for the latest related drift fix. (role: recent merger/reviewer; confidence: medium; commits: 72e40833bac7; files: src/cli/daemon-cli/status.gather.ts, src/commands/doctor-workspace-status.ts)
Codex review notes: model internal, reasoning high; reviewed against f1b8827d20c8.
Activity
clawsweeper commentedon May 7, 2026
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded.
Close as superseded: this QQBot-specific report is a concrete example of the broader official plugin/core version-drift problem already tracked in the open canonical issue, while a narrower doctor diagnostic gap has since been fixed separately.
Canonical path: Live GitHub shows
https://github.com/openclaw/openclaw/issues/83337is open and tracks plugin/core version drift after raw/global core upgrades, including auto-upgrade, warning, or refusal policy options.So I’m closing this here and keeping the remaining discussion on #83337.
Review details
Best possible solution:
Keep the remaining raw/global upgrade drift policy and implementation work in the open canonical plugin/core version-drift issue, with this QQBot report linked as concrete evidence.
Do we have a high-confidence way to reproduce the issue?
Yes, at source level: raw package postinstall does not run plugin update, and current status code explicitly says official plugin drift can happen after
npm install -g openclaw@<v>withoutopenclaw plugins update. I did not run a live packaged global upgrade in this read-only review.Is this the best way to solve the issue?
No, keeping this as a separate QQBot-only issue is not the best solution now. The broader open plugin/core version-drift issue already owns the same remaining product decision and can preserve this report as a concrete QQBot example.
Security review:
Security review: This is an issue triage without a patch or security-sensitive report, so no PR security review applies.
AGENTS.md: found and applied where relevant.
What I checked:
AGENTS.md:28, f1b8827d20c8)src/plugins/AGENTS.md:3, f1b8827d20c8)VISION.md:19, f1b8827d20c8)@openclaw/qqbotwith channel idqqbot, npmSpec@openclaw/qqbot, defaultChoicenpm, and minHostVersion>=2026.4.10. (scripts/lib/official-external-channel-catalog.json:374, f1b8827d20c8)scripts/postinstall-bundled-plugins.mjs:3, f1b8827d20c8)plugin-registry-migration.jsand runsmigratePluginRegistryForInstall; it does not call the plugin update/sync functions. (scripts/postinstall-bundled-plugins.mjs:755, f1b8827d20c8)Likely related people:
99fc0fbac1ef, touchingsrc/plugins/update.ts, CLI update code, and update docs. (role: feature-history owner; confidence: high; commits: 99fc0fbac1ef; files:src/plugins/update.ts,src/cli/update-cli.ts,docs/cli/update.md)401ffb59f538added versioned plugin update support and tests, adjacent to exact/dist-tag plugin update behavior involved in this report. (role: adjacent plugin-update contributor; confidence: medium; commits: 401ffb59f538; files:src/plugins/update.ts,src/cli/plugins-cli.ts,docs/cli/plugins.md)https://github.com/openclaw/openclaw/pull/90927, which added doctor reporting for managed plugin drift and touched daemon status and doctor status paths. (role: recent diagnostic fix author; confidence: high; commits: 72e40833bac7; files:src/cli/daemon-cli/status.gather.ts,src/commands/doctor-workspace-status.ts,src/flows/doctor-health-contributions.ts)src/cli/daemon-cli/status.gather.ts,src/commands/doctor-workspace-status.ts)Codex review notes: model internal, reasoning high; reviewed against f1b8827d20c8.
barnacle-openclaw commentedon May 31, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.