From 4872bf28420e7b4f98041f93fdf6acfc795d229d Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sun, 15 Mar 2026 02:39:14 +0000 Subject: [PATCH] enable memory-core plugin for OpenClaw [ci skip] - Add memory-core to plugins.allow and plugins.slots.memory - Add /app/extensions to plugin load paths - Update CLAUDE.md memory instructions to reference native tools --- .claude/CLAUDE.md | 2 +- stacks/openclaw/main.tf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 8bca2019..0ae42932 100755 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -9,7 +9,7 @@ - **GitHub API**: `curl` with tokens from tfvars (`gh` CLI blocked by sandbox) ## Instructions -- **"remember X"**: Use `memory-tool store "content" --category facts --tags "tag1,tag2"` (via exec) for persistent cross-session memory. Also update this file + `AGENTS.md` (if shared knowledge), commit with `[ci skip]`. To recall: `memory-tool recall "query"`. To list: `memory-tool list`. To delete: `memory-tool delete `. Do NOT use MCP tools like `memory_store` — they don't exist. Use the CLI. +- **"remember X"**: Use `memory-tool store "content" --category facts --tags "tag1,tag2"` (via exec) for persistent cross-session memory. Also update this file + `AGENTS.md` (if shared knowledge), commit with `[ci skip]`. To recall: `memory-tool recall "query"`. To list: `memory-tool list`. To delete: `memory-tool delete `. The native `memory_search` and `memory_get` tools are also available for searching indexed memory files. For **storing** new memories, always use the `memory-tool` CLI via exec. - **Apply with SOPS**: Use `scripts/tg` wrapper instead of raw `terragrunt` — auto-decrypts secrets - **New services need CI/CD** (Woodpecker) and **monitoring** (Prometheus/Uptime Kuma) - **New service**: Use `setup-project` skill for full workflow diff --git a/stacks/openclaw/main.tf b/stacks/openclaw/main.tf index d6cf50c6..31e0057b 100644 --- a/stacks/openclaw/main.tf +++ b/stacks/openclaw/main.tf @@ -148,10 +148,10 @@ resource "kubernetes_config_map" "openclaw_config" { } } plugins = { - allow = [] - slots = {} + allow = ["memory-core"] + slots = { memory = "memory-core" } load = { - paths = ["/home/node/.openclaw/extensions"] + paths = ["/home/node/.openclaw/extensions", "/app/extensions"] } } commands = {