Skip to content

Installing a managed npm plugin breaks resolution of all plugins.load.paths workspace plugins ("plugin not found: stale config entry ignored") #99185

Description

@OrcasClaw

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 via plugins.load.paths. Each one is reported at startup as:

plugins.entries.<id>: plugin not found: <id> (stale config entry ignored; remove it from plugins config)
plugins.allow: plugin not found: <id> (stale config entry ignored; remove it from plugins config)

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 2026.6.10 (aa69b12), global npm install, macOS (Apple Silicon), gateway run as a LaunchAgent
  • Four local workspace plugins under ~/.openclaw/workspace/plugins/<name>/ (each with openclaw.plugin.json + index.js), registered via plugins.load.paths and allowlisted in plugins.allow
  • Managed plugin installed to ~/.openclaw/npm/projects/openclaw-llama-cpp-provider-<hash>/

Steps to reproduce

  1. Working 2026.6.10 install with ≥1 workspace plugin registered via plugins.load.paths, enabled in plugins.entries, listed in plugins.allow. Confirm gateway startup line lists it.
  2. openclaw plugins install npm:@openclaw/[email protected]
  3. Add llama-cpp to plugins.allow, openclaw plugins enable llama-cpp
  4. Restart the gateway.

Expected: previous plugins + llama-cpp.
Actual: llama-cpp loads; every plugins.load.paths plugin is dropped with the "stale config entry" warning above.

Additional observations

Happy to provide sanitized config excerpts or debug logs (OPENCLAW_DEBUG=1 startup) on request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.bugSomething isn't workingbug:behaviorIncorrect behavior without a crashclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis 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.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.no-staleExclude from stale automation

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions