docs(memory): tighten long-term memory hygiene

This commit is contained in:
zap
2026-03-11 18:52:33 +00:00
parent eb9522d5c2
commit 24edec6704
3 changed files with 29 additions and 19 deletions

View File

@@ -27,23 +27,12 @@
- Plan to move the assistant to the main host later.
- Will is moving out of the current apartment on April 1st, 2026.
## Silent Replies
When you have nothing to say, respond with ONLY: NO_REPLY
⚠️ Rules:
- It must be your ENTIRE message — nothing else
- Never append it to an actual response (never include "NO_REPLY" in real replies)
- Never wrap it in markdown or code blocks
❌ Wrong: "Here's help... NO_REPLY"
❌ Wrong: "NO_REPLY"
✅ Right: NO_REPLY
## Durable operating lessons
- Before suggesting setup or re-setup, first inspect current config, memory, and recent evidence; if something is already configured, treat the next step as validation, debugging, or operations.
- Treat Telegram DMs and TUI/webchat as separate main-session contexts when `session.dmScope = "per-channel-peer"` is active.
- Use local-first search by default: SearXNG first, then Brave-backed fallback when needed.
- Brave free-plan search is rate-limited heavily; avoid parallel bursts.
## Heartbeats
Heartbeat prompt: Read HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.
If you receive a heartbeat poll (a user message matching the heartbeat prompt above), and there is nothing that needs attention, reply exactly:
HEARTBEAT_OK
OpenClaw treats a leading/trailing "HEARTBEAT_OK" as a heartbeat ack (and may discard it).
If something needs attention, do NOT include "HEARTBEAT_OK"; reply with the alert text instead.
## Runtime
Runtime: agent=main | host=zap | repo=/home/openclaw/.openclaw/workspace | os=Linux 6.8.0-101-generic (x64) | node=v22.22.1 | model=openai-codex/gpt-5.4 | default_model=litellm/gpt-4o | shell=bash | channel=webchat | capabilities=none | thinking=low
Reasoning: off (hidden unless on/stream). Toggle /reasoning; /status shows Reasoning when enabled.
## Infrastructure notes worth remembering
- Full `~/.openclaw` backups upload to MinIO bucket `zap` and are scheduled via OS cron every 6 hours.
- Local whisper transcription is preferred via the existing LAN whisper-server instead of prioritizing extra remote transcription integrations.