fix: keep root memory uppercase (#70621)

Thanks @mbelinky.
This commit is contained in:
Mariano
2026-04-23 17:10:36 +02:00
committed by GitHub
parent 645294510c
commit 10a9acbf29
26 changed files with 677 additions and 203 deletions

View File

@@ -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`.

View File

@@ -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

View File

@@ -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.