diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 723eaeaf6..0e9610576 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "f1662bff92aa1052a0aab6d8d1611ea8fc142836", - "syncedAt": "2026-04-23T15:35:16.363Z" + "sha": "deb1364dfbe6e4561f1d6f388a837832186b3c7f", + "syncedAt": "2026-04-23T15:41:32.724Z" } diff --git a/docs/help/faq.md b/docs/help/faq.md index bcc1759e0..4d4fb8528 100644 --- a/docs/help/faq.md +++ b/docs/help/faq.md @@ -1410,8 +1410,9 @@ for usage/billing and raise limits as needed. These files live in the **agent workspace**, not `~/.openclaw`. - **Workspace (per agent)**: `AGENTS.md`, `SOUL.md`, `IDENTITY.md`, `USER.md`, - `MEMORY.md` (or legacy fallback `memory.md` when `MEMORY.md` is absent), - `memory/YYYY-MM-DD.md`, optional `HEARTBEAT.md`. + `MEMORY.md`, `memory/YYYY-MM-DD.md`, optional `HEARTBEAT.md`. + Lowercase root `memory.md` is legacy repair input only; `openclaw doctor --fix` + can merge it into `MEMORY.md` when both files exist. - **State dir (`~/.openclaw`)**: config, channel/provider state, auth profiles, sessions, logs, and shared skills (`~/.openclaw/skills`). diff --git a/docs/reference/token-use.md b/docs/reference/token-use.md index 5ae89ae31..4955f6168 100644 --- a/docs/reference/token-use.md +++ b/docs/reference/token-use.md @@ -21,7 +21,7 @@ OpenClaw assembles its own system prompt on every run. It includes: with optional per-agent override at `agents.list[].skillsLimits.maxSkillsPromptChars`. - Self-update instructions -- Workspace + bootstrap files (`AGENTS.md`, `SOUL.md`, `TOOLS.md`, `IDENTITY.md`, `USER.md`, `HEARTBEAT.md`, `BOOTSTRAP.md` when new, plus `MEMORY.md` when present or `memory.md` as a lowercase fallback). Large files are truncated by `agents.defaults.bootstrapMaxChars` (default: 12000), and total bootstrap injection is capped by `agents.defaults.bootstrapTotalMaxChars` (default: 60000). `memory/*.md` daily files are not part of the normal bootstrap prompt; they remain on-demand via memory tools on ordinary turns, but bare `/new` and `/reset` can prepend a one-shot startup-context block with recent daily memory for that first turn. That startup prelude is controlled by `agents.defaults.startupContext`. +- Workspace + bootstrap files (`AGENTS.md`, `SOUL.md`, `TOOLS.md`, `IDENTITY.md`, `USER.md`, `HEARTBEAT.md`, `BOOTSTRAP.md` when new, plus `MEMORY.md` when present). Lowercase root `memory.md` is not injected; it is legacy repair input for `openclaw doctor --fix` when paired with `MEMORY.md`. Large files are truncated by `agents.defaults.bootstrapMaxChars` (default: 12000), and total bootstrap injection is capped by `agents.defaults.bootstrapTotalMaxChars` (default: 60000). `memory/*.md` daily files are not part of the normal bootstrap prompt; they remain on-demand via memory tools on ordinary turns, but bare `/new` and `/reset` can prepend a one-shot startup-context block with recent daily memory for that first turn. That startup prelude is controlled by `agents.defaults.startupContext`. - Time (UTC + user timezone) - Reply tags + heartbeat behavior - Runtime metadata (host/OS/model/thinking)