openclaw - 💡(How to fix) Fix [Bug]: lossless-claw context engine not registered in 2026.5.2 (Windows npm global, duplicate plugin id observed) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#77185Fetched 2026-05-05 05:51:19
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
2
Timeline (top)
mentioned ×2subscribed ×2closed ×1commented ×1

On OpenClaw 2026.5.2 (Windows, npm global install), lossless-claw appears loaded (status=loaded, enabled=true) but the context engine is not registered, causing fallback to legacy. The warning [context-engine] Context engine "lossless-claw" is not registered; falling back to default engine "legacy" persists after uninstall/reinstall and config verification.

Error Message

[context-engine] Context engine "lossless-claw" is not registered; falling back to default engine "legacy".
[plugins] memory-lancedb-pro: plugin registered (db: C:\Users\zhang\.openclaw\memory\lancedb-pro, model: Qwen/Qwen3-Embedding-8B, smartExtraction: ON)
[plugins] Duplicate plugin id "lossless-claw" — a global plugin is overwriting another global plugin.
Source: C:\Users\zhang\.openclaw\extensions\lossless-claw

Root Cause

The lossless-claw plugin loads successfully but the context engine is not registered. Gateway falls back to legacy engine. The LCM database (lcm.db) is present (224MB, contains data) but is not being used because the context engine is not active.

Fix Action

Fix / Workaround

  • #77063: Same symptom (lossless-claw not registered as context engine in 2026.5.2) — closed as "already implemented in main"
  • This issue persists on 2026.5.2 because the fix is in main but not yet released in a stable version.

Code Example

[context-engine] Context engine "lossless-claw" is not registered; falling back to default engine "legacy".

---

[plugins] Duplicate plugin id "lossless-claw" — a global plugin is overwriting another global plugin.
Source: C:\Users\zhang\.openclaw\extensions\lossless-claw

---

[context-engine] Context engine "lossless-claw" is not registered; falling back to default engine "legacy".
[plugins] memory-lancedb-pro: plugin registered (db: C:\Users\zhang\.openclaw\memory\lancedb-pro, model: Qwen/Qwen3-Embedding-8B, smartExtraction: ON)
[plugins] Duplicate plugin id "lossless-claw" — a global plugin is overwriting another global plugin.
Source: C:\Users\zhang\.openclaw\extensions\lossless-claw
RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Summary

On OpenClaw 2026.5.2 (Windows, npm global install), lossless-claw appears loaded (status=loaded, enabled=true) but the context engine is not registered, causing fallback to legacy. The warning [context-engine] Context engine "lossless-claw" is not registered; falling back to default engine "legacy" persists after uninstall/reinstall and config verification.

Steps to reproduce

  1. Run openclaw plugins update --all to install lossless-claw 0.9.3.
  2. Observe duplicate plugin id warning: a global plugin overwrites another global plugin at ~/.openclaw/extensions/lossless-claw.
  3. Run openclaw plugins list --json and confirm lossless-claw shows status: loaded and enabled: true.
  4. Confirm plugins.slots.contextEngine = "lossless-claw" in openclaw.json.
  5. Start or restart the gateway.
  6. Observe in gateway logs:
    [context-engine] Context engine "lossless-claw" is not registered; falling back to default engine "legacy".
  7. Note: Uninstalling and reinstalling lossless-claw via openclaw plugins uninstall / openclaw plugins install does not resolve the issue.

Expected behavior

When plugins.slots.contextEngine = "lossless-claw" and plugins.entries.lossless-claw.enabled = true, the lossless-claw context engine should be registered and active at runtime, with no fallback to legacy.

Actual behavior

The lossless-claw plugin loads successfully but the context engine is not registered. Gateway falls back to legacy engine. The LCM database (lcm.db) is present (224MB, contains data) but is not being used because the context engine is not active.

Environment details

  • OpenClaw version: 2026.5.2
  • OS: Windows 10.0.26200 (x64)
  • Install method: npm global at C:\Users\zhang\AppData\Roaming\npm\node_modules\openclaw
  • Node.js: 24.15.0
  • lossless-claw version: 0.9.3 (installed at C:\Users\zhang\.openclaw\npm\node_modules\@martian-engineering\lossless-claw)
  • Secondary lossless-claw copy at: C:\Users\zhang\AppData\Roaming\npm\node_modules\@martian-engineering\lossless-claw (installed as OpenClaw dependency)
  • Old extension directory renamed to: C:\Users\zhang\.openclaw\extensions\_disabled_lossless-claw
  • lcm.db exists at C:\Users\zhang\.openclaw\lcm.db (224MB, last modified 2026-05-04 08:48:15)
  • Gateway log location: C:\tmp\openclaw\openclaw-2026-05-04.log

Additional observation: duplicate plugin id warning

Before the context-engine issue, the following warning appears at startup:

[plugins] Duplicate plugin id "lossless-claw" — a global plugin is overwriting another global plugin.
Source: C:\Users\zhang\.openclaw\extensions\lossless-claw

This suggests the old extension directory (~/.openclaw/extensions/lossless-claw) was not fully cleaned before the new installation path was registered, causing a conflict.

Impact

The lossless-claw context engine is inactive. All sessions use the legacy engine instead. The LCM memory system积累的数据无法被使用.

Related issues

  • #77063: Same symptom (lossless-claw not registered as context engine in 2026.5.2) — closed as "already implemented in main"
  • This issue persists on 2026.5.2 because the fix is in main but not yet released in a stable version.

Logs

[context-engine] Context engine "lossless-claw" is not registered; falling back to default engine "legacy".
[plugins] memory-lancedb-pro: plugin registered (db: C:\Users\zhang\.openclaw\memory\lancedb-pro, model: Qwen/Qwen3-Embedding-8B, smartExtraction: ON)
[plugins] Duplicate plugin id "lossless-claw" — a global plugin is overwriting another global plugin.
Source: C:\Users\zhang\.openclaw\extensions\lossless-claw

extent analysis

TL;DR

The most likely fix is to resolve the duplicate plugin id conflict by properly removing the old extension directory and ensuring only one instance of the lossless-claw plugin is installed.

Guidance

  1. Remove the duplicate plugin: Delete the old extension directory C:\Users\zhang\.openclaw\extensions\_disabled_lossless-claw to prevent conflicts.
  2. Uninstall and reinstall lossless-claw: Run openclaw plugins uninstall lossless-claw and then openclaw plugins install lossless-claw to ensure a clean installation.
  3. Verify plugin registration: After reinstalling, run openclaw plugins list --json to confirm that lossless-claw is registered correctly without any duplicate id warnings.
  4. Check gateway logs: Restart the gateway and observe the logs to ensure the lossless-claw context engine is registered and active, without fallback to the legacy engine.

Example

No code snippet is provided as the issue seems related to plugin management and configuration rather than code.

Notes

The issue might be related to the fact that the fix for this problem is in the main branch but not yet released in a stable version, as mentioned in the related issues section. However, resolving the duplicate plugin id conflict should still be attempted as it's a clear issue.

Recommendation

Apply the workaround by removing the duplicate plugin and ensuring a clean installation of lossless-claw, as this directly addresses the observed conflict and might resolve the context engine registration issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

When plugins.slots.contextEngine = "lossless-claw" and plugins.entries.lossless-claw.enabled = true, the lossless-claw context engine should be registered and active at runtime, with no fallback to legacy.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: lossless-claw context engine not registered in 2026.5.2 (Windows npm global, duplicate plugin id observed) [1 comments, 2 participants]