mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:50:49 +00:00
@@ -52,8 +52,7 @@ legacy `--mask` collection flags and older MCP tool names when needed.
|
||||
configured `memory.qmd.paths`, then runs `qmd update` + `qmd embed` on boot
|
||||
and periodically (default every 5 minutes).
|
||||
- The default workspace collection tracks `MEMORY.md` plus the `memory/`
|
||||
tree. Lowercase `memory.md` remains a bootstrap fallback, not a separate QMD
|
||||
collection.
|
||||
tree. Lowercase `memory.md` is not indexed as a root memory file.
|
||||
- Boot refresh runs in the background so chat startup is not blocked.
|
||||
- Searches use the configured `searchMode` (default: `search`; also supports
|
||||
`vsearch` and `query`). If a mode fails, OpenClaw retries with `qmd query`.
|
||||
|
||||
@@ -109,7 +109,7 @@ Bootstrap files are trimmed and appended under **Project Context** so the model
|
||||
- `USER.md`
|
||||
- `HEARTBEAT.md`
|
||||
- `BOOTSTRAP.md` (only on brand-new workspaces)
|
||||
- `MEMORY.md` when present, otherwise `memory.md` as a lowercase fallback
|
||||
- `MEMORY.md` when present
|
||||
|
||||
All of these files are **injected into the context window** on every turn unless
|
||||
a file-specific gate applies. `HEARTBEAT.md` is omitted on normal runs when
|
||||
|
||||
@@ -49,7 +49,7 @@ cp docs/reference/AGENTS.default.md ~/.openclaw/workspace/AGENTS.md
|
||||
## Session start (required)
|
||||
|
||||
- Read `SOUL.md`, `USER.md`, and today+yesterday in `memory/`.
|
||||
- Read `MEMORY.md` when present; only fall back to lowercase `memory.md` when `MEMORY.md` is absent.
|
||||
- Read `MEMORY.md` when present.
|
||||
- Do it before responding.
|
||||
|
||||
## Soul (required)
|
||||
@@ -67,8 +67,8 @@ cp docs/reference/AGENTS.default.md ~/.openclaw/workspace/AGENTS.md
|
||||
|
||||
- Daily log: `memory/YYYY-MM-DD.md` (create `memory/` if needed).
|
||||
- Long-term memory: `MEMORY.md` for durable facts, preferences, and decisions.
|
||||
- Lowercase `memory.md` is legacy fallback only; do not keep both root files on purpose.
|
||||
- On session start, read today + yesterday + `MEMORY.md` when present, otherwise `memory.md`.
|
||||
- Lowercase `memory.md` is legacy repair input only; do not keep both root files on purpose.
|
||||
- On session start, read today + yesterday + `MEMORY.md` when present.
|
||||
- Capture: decisions, preferences, constraints, open loops.
|
||||
- Avoid secrets unless explicitly requested.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user