openclaw - 💡(How to fix) Fix [Feature] Add ootstrap.mode: persistent option to prevent BOOTSTRAP.md deletion [1 comments, 2 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#84132Fetched 2026-05-20 03:43:42
View on GitHub
Comments
1
Participants
2
Timeline
8
Reactions
1
Author
Timeline (top)
labeled ×6closed ×1commented ×1

Fix Action

Fix / Workaround

Our use case: We have a startup self-check workflow (startup-check.py, memory-router.py recall, WAL sync, etc.) that needs to run on every session start. The current "read-then-delete" behavior means we have to either:

  1. Recreate the file manually after each /new
  2. Use workarounds like template files + auto-rebuild scripts

Current Workaround

RAW_BUFFERClick to expand / collapse

Problem

When a new session starts (/new), EasyClaw reads BOOTSTRAP.md and then deletes it as a "consume-once" mechanism. This is problematic for users who need the bootstrap content to persist across sessions.

Our use case: We have a startup self-check workflow (startup-check.py, memory-router.py recall, WAL sync, etc.) that needs to run on every session start. The current "read-then-delete" behavior means we have to either:

  1. Recreate the file manually after each /new
  2. Use workarounds like template files + auto-rebuild scripts

Proposed Solution

Add a configuration option in easyclaw.json:

json { "agents": { "defaults": { "bootstrap": { "mode": "persistent" } } } }

Or per-agent: json { "agents": { "list": [ { "id": "main", "bootstrap": { "mode": "persistent" } } ] } }

When mode: "persistent":

  • BOOTSTRAP.md is read and injected into context on every /new
  • The file is NOT deleted after reading
  • The file remains available for subsequent sessions

Current Workaround

We already set "skipBootstrap": true and use AGENTS.md to reference our bootstrap logic, but this loses the clean separation that BOOTSTRAP.md provides.

Expected Behavior

Users should be able to choose between:

  • consume (default): Current behavior - read once, delete (good for one-time setup prompts)
  • persistent: Read on every session start, never delete (good for recurring workflows)

Environment

  • EasyClaw Version: 1.3.52 (build 2026.5.18.548)
  • OS: Windows 11 (26200)
  • Channel: Telegram

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…

Still need to ship something?

×6

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

Back to top recommendations

TRENDING