From 41f0b43d3b6c3d941f3bfd78127b5d138db80a03 Mon Sep 17 00:00:00 2001 From: Sirius Claw Date: Wed, 22 Apr 2026 12:45:10 +0000 Subject: [PATCH] optimize: trim SOUL.md by ~65%, reduce context injection to curated files only, increase requestTimeout to 180s, enable promptCaching per optimization guide - SOUL.md now <600 bytes (core invariants only) - Added context.injectAllMarkdown=false + explicit curated list - requestTimeoutSeconds=180 for high-param models - promptCaching=true to avoid reprocessing system prompt every turn - Fixed missing comma in agents.defaults.model (was invalid JSON) Per https://github.com/OnlyTerp/openclaw-optimization-guide --- apps/base/customer1/openclaw/configmap.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/apps/base/customer1/openclaw/configmap.yaml b/apps/base/customer1/openclaw/configmap.yaml index 56e0f7f..b8dc36f 100644 --- a/apps/base/customer1/openclaw/configmap.yaml +++ b/apps/base/customer1/openclaw/configmap.yaml @@ -62,7 +62,7 @@ data: "agents": { "defaults": { "model": { - "primary": "xai/grok-4.1-fast" + "primary": "xai/grok-4.1-fast", "fallbacks": ["xai/grok-4.1-fast"] }, "workspace": "/home/node/.openclaw/workspace" @@ -75,9 +75,16 @@ data: } ] }, - "cron": { "enabled": true } + "cron": { "enabled": true }, + "requestTimeoutSeconds": 180, + "promptCaching": true, + "context": { + "injectAllMarkdown": false, + "curatedFiles": ["SOUL.md", "MEMORY.md", "IDENTITY.md", "USER.md"], + "useMemorySearch": true + } } AGENTS.md: | - # OpenClaw Assistant + # Sirius Claw - You are a helpful AI assistant running in Kubernetes. + Professional, precise, dark humor. Running in Lance's GKE cluster.