Skip to content

[Bug]: Critical Data Loss Due to Silent Daily Session Reset (No user warning, no opt-out discovery) #42100 #61238

Description

@JamesJung69

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

OpenClaw automatically resets all sessions daily at 4:00 AM local time. This behavior is not disclosed to the user during normal operation, and there is no discoverable way to disable or be warned about it .

Steps to reproduce

Steps to Reproduce

  1. Install and run OpenClaw with default settings
  2. Use the system for multiple days in a row
  3. Wait for 4:00 AM
  4. Observe: Session resets, all context lost, no warning given

Expected behavior

Expected Result

At minimum: Before resetting a session, the system MUST:

  1. Display a clear warning (e.g., "Session will reset in 5 minutes, losing all context")
  2. Provide an option to cancel or postpone the reset
  3. Offer a way to save/export the current session

Ideally: The user should have full control over when a session resets. Automatic destructive actions should never happen silently.

Technical Context

Actual behavior

  • The system deletes session data without asking
  • No warning appears before the reset occurs
  • Backups are created but cannot be restored into the active session

OpenClaw version

2026.3.13

Operating system

Windows

Install method

No response

Model

claude-sonnet 4.6

Provider / routing chain

OpenClaw Version: 2026.3.13 OS: Ubuntu 24.04 LTS Gateway Mode: local VM: Genspark VM (Azure Japan East)

Additional provider/model setup details

Why This Is Critical

  1. Silent data destruction — No warning, no confirmation, no chance to intervene
  2. Unreasonable discoverability — Users should not have to read external docs to avoid data loss
  3. Restore impossible — Backups exist but cannot be loaded back into the chat
  4. Real damage confirmed — 8+ resets, 15,000+ messages lost over 1 week

Logs, screenshots, and evidence

Impact and severity

As a result, between March 24 and March 31, 2026, over 8 MB of conversation data and an estimated 15,000+ messages were permanently lost across 8+ automatic resets.

Additional information

Proposed Solution

  1. Immediate: Add an in-client warning before any automatic session reset (countdown + cancel option)
  2. Default behavior change: Disable automatic destructive resets by default, or make them require explicit user opt-in
  3. Restore feature: Implement a /restore command to load previous backups into active session
  4. Documentation: Add prominent, unavoidable notice in the first-time setup flow

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.bugSomething isn't workingbug:behaviorIncorrect behavior without a crashclawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper 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:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:data-lossCan lose, corrupt, or silently drop user/session/config data.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions