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
- Run
openclaw plugins update --all to install lossless-claw 0.9.3.
- Observe duplicate plugin id warning: a global plugin overwrites another global plugin at
~/.openclaw/extensions/lossless-claw.
- Run
openclaw plugins list --json and confirm lossless-claw shows status: loaded and enabled: true.
- Confirm
plugins.slots.contextEngine = "lossless-claw" in openclaw.json.
- Start or restart the gateway.
- Observe in gateway logs:
[context-engine] Context engine "lossless-claw" is not registered; falling back to default engine "legacy".
- 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
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
Bug type
Behavior bug (incorrect output/state without crash)
Summary
On OpenClaw 2026.5.2 (Windows, npm global install),
lossless-clawappears loaded (status=loaded, enabled=true) but the context engine is not registered, causing fallback tolegacy. 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
openclaw plugins update --allto install lossless-claw 0.9.3.~/.openclaw/extensions/lossless-claw.openclaw plugins list --jsonand confirm lossless-claw showsstatus: loadedandenabled: true.plugins.slots.contextEngine = "lossless-claw"in openclaw.json.openclaw plugins uninstall/openclaw plugins installdoes not resolve the issue.Expected behavior
When
plugins.slots.contextEngine = "lossless-claw"andplugins.entries.lossless-claw.enabled = true, the lossless-claw context engine should be registered and active at runtime, with no fallback tolegacy.Actual behavior
The lossless-claw plugin loads successfully but the context engine is not registered. Gateway falls back to
legacyengine. The LCM database (lcm.db) is present (224MB, contains data) but is not being used because the context engine is not active.Environment details
C:\Users\zhang\AppData\Roaming\npm\node_modules\openclawC:\Users\zhang\.openclaw\npm\node_modules\@martian-engineering\lossless-claw)C:\Users\zhang\AppData\Roaming\npm\node_modules\@martian-engineering\lossless-claw(installed as OpenClaw dependency)C:\Users\zhang\.openclaw\extensions\_disabled_lossless-clawlcm.dbexists atC:\Users\zhang\.openclaw\lcm.db(224MB, last modified 2026-05-04 08:48:15)C:\tmp\openclaw\openclaw-2026-05-04.logAdditional observation: duplicate plugin id warning
Before the context-engine issue, the following warning appears at startup:
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
legacyengine instead. The LCM memory system积累的数据无法被使用.Related issues
mainbut not yet released in a stable version.Logs