openclaw - 💡(How to fix) Fix [Bug]: BOOTSTRAP.md overwrites existing MEMORY.md, IDENTITY.md, SOUL.md on update [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#70098Fetched 2026-04-23 07:29:18
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Timeline (top)
labeled ×1

After updating OpenClaw (e.g., to v2026.4.21), if BOOTSTRAP.md exists, the agent overwrites existing memory files (MEMORY.md, IDENTITY.md, SOUL.md) instead of checking if they already exist. This causes complete memory loss after updates.

Root Cause

After updating OpenClaw (e.g., to v2026.4.21), if BOOTSTRAP.md exists, the agent overwrites existing memory files (MEMORY.md, IDENTITY.md, SOUL.md) instead of checking if they already exist. This causes complete memory loss after updates.

RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

After updating OpenClaw (e.g., to v2026.4.21), if BOOTSTRAP.md exists, the agent overwrites existing memory files (MEMORY.md, IDENTITY.md, SOUL.md) instead of checking if they already exist. This causes complete memory loss after updates.

Steps to reproduce

Start openclaw in version 2026.4.15 run update (version 2026.4.21) and doctor

Expected behavior

expected: works as ever complete lost of memory after the update

Actual behavior

after update it is like a brand new install

OpenClaw version

2026.4.21

Operating system

Window 11

Install method

npm global

Model

moonshot / kimi k2.5

Provider / routing chain

Local OpenClaw installation (Windows) → Direct execution → No external gateways/proxies

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

The issue can be fixed by modifying the update process to check for existing memory files before overwriting them.

Guidance

  • The problem seems to be caused by the update process not checking for existing memory files (MEMORY.md, IDENTITY.md, SOUL.md) before overwriting them.
  • To verify the issue, try updating OpenClaw to version 2026.4.21 and check if the memory files are overwritten.
  • A possible workaround is to manually backup the memory files before updating OpenClaw and then restore them after the update.
  • The update process should be modified to check if the memory files already exist before overwriting them, to prevent complete memory loss.

Example

No code snippet is provided as the issue does not contain enough information about the update process.

Notes

The issue seems to be specific to the update process of OpenClaw, and the solution may vary depending on the implementation of the update process.

Recommendation

Apply workaround: Manually backup the memory files before updating OpenClaw and then restore them after the update, until a fixed version is released that checks for existing memory files before overwriting them.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

expected: works as ever complete lost of memory after the update

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: BOOTSTRAP.md overwrites existing MEMORY.md, IDENTITY.md, SOUL.md on update [1 participants]