Skip to content

self_improvement_* tools not registered when enableManagementTools is true (beta.10) #375

@OKmiao88888888

Description

@OKmiao88888888

Plugin Version

1.1.0-beta.10

OpenClaw Version

v2026.3.23-2

Bug Description

self_improvement_* MCP tools not registered (beta.10)
Version: 1.1.0-beta.10
Environment: OpenClaw 2026.3.23-2 / Windows Server / pnpm / Node 24.13.1
Config: enableManagementTools: true
Problem
self_improvement_log, self_improvement_extract_skill, and self_improvement_review tools are not registered after enabling enableManagementTools: true.

Observed tools (openclaw plugins info memory-lancedb-pro):

memory_recall, memory_store, memory_forget, memory_update, memory_stats, memory_debug, memory_list, memory_promote, memory_archive, memory_compact, memory_compact

Expected: 9 tools (4 core + 2 management + 3 self_improvement)

Error log: None — the tools simply don't appear.
What we tried
✅ Cleared jiti cache (rm -rf /tmp/jiti/) + full gateway restart — no change
✅ enableManagementTools: true confirmed in config
✅ Source code inspection confirms registerSelfImprovementLogTool should be called at index.ts:2072 when enableSelfImprovementTools !== false (default)
✅ Schema has enableSelfImprovementTools field but it's unclear if it's being read
Code evidence
tools.ts:2071-2072:

registerSelfImprovementLogTool(api, context);

tools.ts:251-311 — tool is correctly defined:

name: "self_improvement_log",

tools.ts:2072 — registration call is present and conditional:

if (enableSelfImprovementTools !== false) {
registerSelfImprovementLogTool(api, context);
}

index.ts:2072 — called with enableSelfImprovementTools !== false which should be true by default.
Question
Is self_improvement_* intentionally excluded from beta.10, or is it a registration bug? Is there a separate config flag needed?

Expected Behavior

When enableManagementTools: true is set in the plugin config, all 9 MCP tools should be registered:
4 core: memory_recall, memory_store, memory_forget, memory_update
2 management: memory_stats, memory_list
3 self_improvement: self_improvement_log, self_improvement_extract_skill, self_improvement_review
Currently only 11 tools appear (memory_compact is also duplicated, making it 10 unique tools).

Steps to Reproduce

Install memory-lancedb-pro v1.1.0-beta.10
Add to openclaw.json config:
"plugins": {
"entries": {
"memory-lancedb-pro": {
"config": {
"enableManagementTools": true
}
}
}
}

Run openclaw plugins info memory-lancedb-pro
Expected: 9 tools listed
Actual: 11 tools, self_improvement_* tools are missing

Error Logs / Screenshots

Embedding Provider

None

OS / Platform

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions