Skip to content

Commit 02ae79f

Browse files
committed
docs(memory): keep startup daily-memory wording root scoped
1 parent 88b204f commit 02ae79f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/concepts/system-prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ long-term summary; detailed daily notes belong in `memory/**/*.md` where
197197
the bootstrap file limits below.
198198

199199
<Note>
200-
`memory/**/*.md` daily files are **not** part of the normal bootstrap Project Context. On ordinary turns they are accessed on demand via the `memory_search` and `memory_get` tools, so they do not count against the context window unless the model explicitly reads them. Bare `/new` and `/reset` turns are the exception: the runtime can prepend recent daily memory as a one-shot startup-context block for that first turn.
200+
`memory/**/*.md` files are **not** part of the normal bootstrap Project Context. On ordinary turns they are accessed on demand via the `memory_search` and `memory_get` tools, so they do not count against the context window unless the model explicitly reads them. Bare `/new` and `/reset` turns are the exception: the runtime can prepend recent root-level `memory/*.md` daily memory as a one-shot startup-context block for that first turn.
201201
</Note>
202202

203203
Large files are truncated with a marker. The max per-file size is controlled by

docs/gateway/config-agents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ knob.
183183
normal workspace bootstrap injection.
184184
- `agents.defaults.startupContext.*`:
185185
one-shot reset/startup model-run prelude, including recent daily
186-
`memory/**/*.md` files. Bare chat `/new` and `/reset` commands are
186+
root-level `memory/*.md` files. Bare chat `/new` and `/reset` commands are
187187
acknowledged without invoking the model.
188188
- `skills.limits.*`:
189189
the compact skills list injected into the system prompt.

docs/reference/token-use.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ OpenClaw assembles its own system prompt on every run. It includes:
1919
with optional per-agent override at
2020
`agents.list[].skillsLimits.maxSkillsPromptChars`.
2121
- Self-update instructions
22-
- 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 reset/startup model runs can prepend a one-shot startup-context block with recent daily memory for that first turn. Bare chat `/new` and `/reset` commands are acknowledged without invoking the model. The startup prelude is controlled by `agents.defaults.startupContext`.
22+
- 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` files are not part of the normal bootstrap prompt; they remain on-demand via memory tools on ordinary turns, but reset/startup model runs can prepend a one-shot startup-context block with recent root-level `memory/*.md` daily memory for that first turn. Bare chat `/new` and `/reset` commands are acknowledged without invoking the model. The startup prelude is controlled by `agents.defaults.startupContext`.
2323
- Time (UTC + user timezone)
2424
- Reply tags + heartbeat behavior
2525
- Runtime metadata (host/OS/model/thinking)

0 commit comments

Comments
 (0)