fix: declare OpenClaw memory plugin contracts#834
Conversation
PR #834 Review: fix: declare OpenClaw memory plugin contractsVerdict: RESOLVE-CONFLICTS-FIRST | Author: rickthomasjr | Merge state: DIRTY
Problem Statement (R1)Current OpenClaw builds require declared plugin tool contracts and hook permissions for memory tools and agent_end auto-capture to work reliably. Local embedding servers can also reject oversized inputs, especially with nomic-embed-text defaults. Why This Stopped HereGitHub reports
Recommended ActionAuthor should:
Reviewed at 2026-05-31T04:57:35Z | R0+R1 gate | Conflict gate |
|
Production confirmation + a note for the 1.1.x line Running the equivalent So the approach in this PR is correct and solves a real breakage on OpenClaw 2026.5.27+. 👍 One gap worth addressing before merge: this PR declares 6 tools, but the 1.1.x line registers 3 additional agent tools ( "contracts": { "tools": [
"memory_recall","memory_store","memory_forget","memory_update","memory_stats","memory_list",
"self_improvement_log","self_improvement_extract_skill","self_improvement_review"
]}Note the last two self-improvement tools are only registered when (Disclosure: I did not run the PR's |
Summary
Verification
Note: a direct tsc --noEmit check still exposes pre-existing LanceDB/typebox typing issues in store/tools that are outside this compatibility patch.