openclaw/docs
Jealous a3eed2b70f
fix(agents): avoid injecting memory file twice on case-insensitive mounts (#26054)
* fix(agents): avoid injecting memory file twice on case-insensitive mounts

On case-insensitive file systems mounted into Docker from macOS, both
MEMORY.md and memory.md pass fs.access() even when they are the same
underlying file. The previous dedup via fs.realpath() failed in this
scenario because realpath does not normalise case through the Docker
mount layer, so both paths were treated as distinct entries and the
same content was injected into the bootstrap context twice, wasting
tokens.

Fix by replacing the collect-then-dedup approach with an early-exit:
try MEMORY.md first; fall back to memory.md only when MEMORY.md is
absent. This makes the function return at most one entry regardless
of filesystem case-sensitivity.

* docs: clarify singular memory bootstrap fallback

* fix: note memory bootstrap fallback docs and changelog (#26054) (thanks @Lanfei)

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
2026-03-13 14:39:51 +05:30
..
.i18n fix(docs): revert accidental es/pt-BR translation scaffold from #18473 2026-02-17 02:23:41 +01:00
assets docs: add Vercel sponsorship (#29270) 2026-03-02 06:25:46 +00:00
automation mattermost: fix DM media upload for unprefixed user IDs (#29925) 2026-03-10 14:22:24 +05:30
channels docs: fix session key :dm: → :direct (#26506) 2026-03-13 14:28:33 +05:30
cli docs: fix session key :dm: → :direct (#26506) 2026-03-13 14:28:33 +05:30
concepts fix(agents): avoid injecting memory file twice on case-insensitive mounts (#26054) 2026-03-13 14:39:51 +05:30
debug Docs: enable markdownlint autofixables except list numbering (#10476) 2026-02-06 10:08:59 -05:00
design docs: tighten subscription guidance and update MiniMax M2.5 refs 2026-03-03 00:02:37 +00:00
diagnostics Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
experiments docs(protocol): document slash-delimited schema lookup plugin ids 2026-03-06 08:53:29 -05:00
gateway docs: fix session key :dm: → :direct (#26506) 2026-03-13 14:28:33 +05:30
help fix: quiet Telegram command overflow retry logs 2026-03-13 01:45:56 +00:00
images docs(feishu): Feishu docs – add verificationToken and align zh-CN with EN (openclaw#31555) thanks @xbsheng 2026-03-02 21:33:41 -06:00
install build: align Node 22 guidance with 22.16 minimum 2026-03-12 20:07:44 +05:30
ja-JP docs: fix broken dashboard image on i18n pages (#38031) 2026-03-07 00:22:19 +03:00
nodes Gateway: fail closed unresolved local auth SecretRefs (#42672) 2026-03-10 21:41:56 -05:00
platforms fix: harden windows gateway fallback launch 2026-03-13 04:58:35 +00:00
plugins docs: context engine 2026-03-06 08:55:58 -05:00
providers docs(ollama): update onboarding flow 2026-03-13 02:03:54 +00:00
refactor chore(docs): drop refactor cleanup tracker 2026-03-09 00:26:20 +00:00
reference fix(agents): avoid injecting memory file twice on case-insensitive mounts (#26054) 2026-03-13 14:39:51 +05:30
security docs: fix Mintlify-incompatible links in security docs (#27698) 2026-03-03 14:51:28 -08:00
start fix: align Ollama onboarding docs before landing (#43473) (thanks @BruceMacD) 2026-03-13 02:03:54 +00:00
tools refactor: validate provider plugin metadata 2026-03-13 01:19:35 +00:00
web feat: add fast mode toggle for OpenAI models 2026-03-12 23:31:31 +00:00
zh-CN Revert "docs: add Browserbase as hosted remote CDP option" 2026-03-08 18:48:10 +00:00
CNAME refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
auth-credential-semantics.md follow-up: align ingress, atomic paths, and channel tests with credential semantics (#33733) 2026-03-03 20:29:46 -06:00
brave-search.md docs: update Brave Search API docs for Feb 2026 plan restructuring (#40111) 2026-03-08 14:06:21 -04:00
ci.md CI: gate Windows checks by windows-relevant scope (#32456) 2026-03-02 19:10:58 -08:00
date-time.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
docs.json docs: add Kubernetes install guide, setup script, and manifests (#34492) 2026-03-12 07:28:21 -04:00
index.md build: raise Node 22 compatibility floor to 22.16 2026-03-12 20:07:44 +05:30
logging.md Feat/logger support log level validation0222 (#23436) 2026-02-22 11:15:13 +01:00
nav-tabs-underline.js docs(ui): add animated underline for nav tabs (#21912) 2026-02-20 09:33:46 -05:00
network.md docs: canonicalize docs paths and align zh navigation (#11428) 2026-02-07 15:40:35 -05:00
perplexity.md fix(secrets): resolve web tool SecretRefs atomically at runtime 2026-03-09 22:57:03 -05:00
pi-dev.md docs: replace removed pi test script with current commands 2026-02-22 21:07:34 +01:00
pi.md fix(pi): stop history image reinjection token blowup 2026-02-26 16:38:20 +01:00
prose.md docs: canonicalize docs paths and align zh navigation (#11428) 2026-02-07 15:40:35 -05:00
style.css fix(ios): force tls for non-loopback manual gateway hosts (#21969) 2026-02-20 16:28:47 +00:00
tts.md Docs: clarify OpenAI-compatible TTS endpoints 2026-03-05 16:57:51 -05:00
vps.md Docs: remove MDX-breaking secret markers 2026-03-07 10:09:00 -08:00
whatsapp-openclaw-ai-zh.jpg Docs: add zh-CN landing notice + AI image 2026-02-02 18:35:01 +01:00
whatsapp-openclaw.jpg refactor: rename to openclaw 2026-01-30 03:16:21 +01:00