Skip to content

fix: start explicit legacy hook plugins - #78203

Closed
bryce-d-greybeard wants to merge 1 commit into
openclaw:mainfrom
bryce-d-greybeard:bryce/issue-78196-legacy-hook-startup
Closed

bryce-d-greybeard wants to merge 1 commit into
openclaw:mainfrom
bryce-d-greybeard:bryce/issue-78196-legacy-hook-startup

Conversation

@bryce-d-greybeard

Copy link
Copy Markdown
Contributor

Fixes #78196.

Summary

  • Treat explicitly enabled non-bundled plugins as gateway startup hook intent when they lack newer activation.onCapabilities: ["hook"] metadata.
  • Keep the existing allow/deny/global-enabled activation checks, so this restores legacy external hook compatibility without ambient-loading merely allowlisted plugins.
  • Add startup planner regression coverage for explicit legacy external hook plugins and the ambient-load negative case.

Verification

  • git diff --check
  • PATH="/tmp/openclaw-pnpm-shim:$PATH" pnpm exec oxfmt --check src/plugins/gateway-startup-plugin-ids.ts src/plugins/channel-plugin-ids.test.ts
  • Targeted tests attempted: PATH="/tmp/openclaw-pnpm-shim:$PATH" pnpm test src/plugins/channel-plugin-ids.test.ts src/gateway/server-plugins.test.ts — blocked before tests by missing local @openclaw/fs-safe/config import from src/infra/fs-safe-defaults.ts.
  • PATH="/tmp/openclaw-pnpm-shim:$PATH" node scripts/check-changed.mjs — passed conflict/changelog/extension wildcard/duplicate lanes; failed unrelated existing core typecheck diagnostics including missing @openclaw/fs-safe/* and strictness errors outside this patch.

Notes: pnpm install --offline --ignore-scripts in the /tmp worktree was attempted to repair missing deps but hit /tmp ENOSPC, so subsequent checks used the main repo's existing node_modules symlink.

@openclaw-barnacle openclaw-barnacle Bot added size: XS r: too-many-prs Auto-close: author has more than twenty active PRs. triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels May 6, 2026
@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because the author has more than 20 active PRs in this repo. Please reduce the active PR queue and reopen or resubmit once it is back under the limit. You can close your own PRs to get back under the limit.

@openclaw-barnacle openclaw-barnacle Bot closed this May 6, 2026
@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because the author has more than 20 active PRs in this repo. Please reduce the active PR queue and reopen or resubmit once it is back under the limit. You can close your own PRs to get back under the limit.

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

Labels

r: too-many-prs Auto-close: author has more than twenty active PRs. size: XS triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Extension plugins silently skipped by gateway loader in v5.3+ (loads in CLI process, not in long-running daemon)

1 participant