Skip to content

refactor: remove expired plugin compatibility surfaces - #111451

Merged
steipete merged 22 commits into
mainfrom
claude/deprecated-sweep-july
Jul 19, 2026
Merged

steipete merged 22 commits into
mainfrom
claude/deprecated-sweep-july

Conversation

@steipete

@steipete steipete commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

OpenClaw still shipped hundreds of deprecated plugin SDK exports, aliases, shims, and package subpaths whose registry removal windows close by 2026-07-30. Carrying those retired surfaces into the next release would preserve dead compatibility paths, widen the supported SDK contract, and keep obsolete guard and baseline budget.

Why This Change Was Made

This performs the explicitly maintainer-approved early July removal sweep from the compatibility registry: 230 eligible records become removed with release notes, internal callers move to canonical owner surfaces, and all co-owned package, entrypoint, path-mapping, packing, guard, baseline, and documentation artifacts are removed or lowered together.

Six date-eligible records remain removal-pending because shipped public contracts still have live dependents: the agent media payload, media understanding, memory host core, plugin config runtime, tool plugin public demotions, and the agent harness SDK alias. Later August and September windows are unchanged.

User Impact

Plugin authors using surfaces in the approved July sweep must use the registry-named canonical replacements. Bundled plugins continue to resolve 152 implementation-only facades through the private-local SDK boundary while their runtime JavaScript remains packaged for bundled builds. Shipped public contracts with known live callers remain available.

Evidence

  • Registry audit: 236 records with removeAfter on or before 2026-07-30; 230 removed, 6 removal-pending, 0 removed records without release notes.
  • Linux Node 24 focused proof passed 199 tests across deletion guards, SDK/package contracts, loader aliases, release packaging, build inventory, and secret-surface docs. The later ClawSweeper fixes passed 71 focused web-provider credential, channel configuration, and package-state tests.
  • The exact rebased head passed the deprecated-API guard, plugin-boundary eligible-compat guard, SDK subpath/export-map/surface/API-baseline gates, and both hard-zero Knip dead-code gates on Linux Node 24. Inspectable Testbox run: https://github.com/openclaw/openclaw/actions/runs/29697467688 (the wrapper completed successfully before external portal cleanup).
  • SDK truth at the exact head: 140 public entrypoints, 4,721 exports, 2,879 callable exports, and 0 forbidden package-exported subpaths.
  • QA-inclusive packaged build and npm tarball integrity passed after verifying private runtime facades remain packaged; all 140 public SDK subpaths passed the export gate.
  • Live package/upgrade proof passed from published [email protected] to the packed candidate: config survived, doctor removed legacy plugin dependency debris, and gateway health/readiness/status all passed. A separately npm-packed third-party plugin installed into the packed candidate and completed a real OpenAI agent turn through its plugin tool. Inspectable Testbox run: https://github.com/openclaw/openclaw/actions/runs/29695277555 (its workflow conclusion reflects external lease cleanup after the wrapper emitted a successful timing result).
  • The same-version current-main survivor fixture is independently blocked before doctor by its invalid legacy nested Discord config; the maintained published-baseline migration lane above is green.
  • ClawSweeper findings were fixed: external web providers retain required credential getter/setter fallback with focused coverage, and Mattermost now requires both environment values before being considered configured.
  • oxfmt passed on all touched format-eligible files, including the rebase-conflict files. git diff --check passed on the final head.
  • Exact-head CI passed 60 jobs with 9 intentional skips and 0 failures: https://github.com/openclaw/openclaw/actions/runs/29697576338.
  • Diff: 4,009 additions, 13,992 deletions, net -9,983 lines across 526 files.
  • Structured autoreview passed the functional contract-fix patch with no findings. The full-branch helper failed closed before model invocation solely on the intentionally tracked credentials-matrix filename; repository-native exact-head review artifacts independently validated the full branch with 0 findings and READY FOR /prepare-pr.

@steipete
steipete requested review from a team as code owners July 19, 2026 14:46
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: discord Channel integration: discord channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: nostr Channel integration: nostr channel: slack Channel integration: slack channel: telegram Channel integration: telegram channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser gateway Gateway runtime extensions: memory-lancedb Extension: memory-lancedb cli CLI command changes scripts Repository scripts commands Command implementations docker Docker and sandbox tooling agents Agent runtime and tooling channel: feishu Channel integration: feishu channel: twitch Channel integration: twitch channel: irc extensions: minimax extensions: moonshot labels Jul 19, 2026
@steipete
steipete force-pushed the claude/deprecated-sweep-july branch from 31cf553 to 750e378 Compare July 19, 2026 17:58
@steipete
steipete merged commit c7e7ac2 into main Jul 19, 2026
121 checks passed
@steipete
steipete deleted the claude/deprecated-sweep-july branch July 19, 2026 18:04
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jul 19, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Jul 19, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 750e378c41

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +25 to +28
"SYNOLOGY_NAS_HOST",
"SYNOLOGY_ALLOWED_USER_IDS",
"SYNOLOGY_RATE_LIMIT",
"OPENCLAW_BOT_NAME"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Require complete credential sets in configured-state metadata

The new configuredState.env.anyOf treats every listed variable as independently sufficient, so an installed Synology plugin is considered configured when only OPENCLAW_BOT_NAME, SYNOLOGY_RATE_LIMIT, or an allowlist is set. The package-state checker accepts any one value (src/channels/plugins/package-state-probes.ts:203-212), and isChannelConfigured returns before consulting the owner implementation (src/config/channel-configured.ts:21-27), even though Synology requires both a token and incoming URL (extensions/synology-chat/src/setup-surface.ts:108-110); this can incorrectly auto-enable an unusable plugin. Encode the required credential pair with allOf and exclude optional settings; the same mismatch should be corrected in the newly added Line, Feishu, QQ Bot, Teams, SMS, Nextcloud Talk, and Zalo metadata.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling channel: discord Channel integration: discord channel: feishu Channel integration: feishu channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage channel: irc channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: nostr Channel integration: nostr channel: qqbot channel: raft Channel integration: Raft channel: slack Channel integration: slack channel: sms Channel integration: sms channel: synology-chat channel: telegram Channel integration: telegram channel: twitch Channel integration: twitch channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser cli CLI command changes commands Command implementations docker Docker and sandbox tooling docs Improvements or additions to documentation extensions: brave extensions: codex extensions: copilot extensions: deepinfra extensions: firecrawl extensions: google extensions: memory-lancedb Extension: memory-lancedb extensions: minimax extensions: moonshot extensions: ollama extensions: openrouter extensions: parallel extensions: perplexity extensions: tavily extensions: xai extensions: xiaomi gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. plugin: file-transfer plugin: pixverse proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant