-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Installing a managed npm plugin breaks resolution of all plugins.load.paths workspace plugins ("plugin not found: stale config entry ignored") #99185
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.no-staleExclude from stale automationExclude from stale automation
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.no-staleExclude from stale automationExclude from stale automation
Type
Fields
Priority
None yet
Summary
After installing a managed npm plugin (
openclaw plugins install npm:@openclaw/[email protected]) and enabling it, the gateway stops resolving every workspace plugin configured viaplugins.load.paths. Each one is reported at startup as:and the gateway comes up without them (in our case 19 plugins → 16: the npm plugin loaded, four workspace plugins dropped). The plugin files are present and unchanged on disk, and the same config loads all of them fine once the npm plugin is disabled again.
Environment
~/.openclaw/workspace/plugins/<name>/(each withopenclaw.plugin.json+index.js), registered viaplugins.load.pathsand allowlisted inplugins.allow~/.openclaw/npm/projects/openclaw-llama-cpp-provider-<hash>/Steps to reproduce
plugins.load.paths, enabled inplugins.entries, listed inplugins.allow. Confirm gateway startup line lists it.openclaw plugins install npm:@openclaw/[email protected]llama-cpptoplugins.allow,openclaw plugins enable llama-cppExpected: previous plugins +
llama-cpp.Actual:
llama-cpploads; everyplugins.load.pathsplugin is dropped with the "stale config entry" warning above.Additional observations
openclaw plugins list,openclaw memory ...) with the npm plugin merely installed-but-disabled — so discovery in some contexts already stops seeingload.pathsplugins once an npm plugin project exists on disk. The gateway only regresses once the npm plugin is enabled/restarted.llama-cpp, remove from allow) and restarting fully restores the workspace plugins. Deterministic both directions.doctor --fixmanglingload.paths) — neither matches this install-triggered resolution failure.Happy to provide sanitized config excerpts or debug logs (
OPENCLAW_DEBUG=1startup) on request.