-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Feature] Add ootstrap.mode: persistent option to prevent BOOTSTRAP.md deletion #84132
Copy link
Copy link
Closed
Closed
Copy link
Labels
P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.Low-priority cleanup, docs, polish, ergonomics, or speculative work.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.
Description
Metadata
Metadata
Assignees
Labels
P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.Low-priority cleanup, docs, polish, ergonomics, or speculative work.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.
Type
Fields
Priority
None yet
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:
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":
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:
Environment