Skip to content

[Feature Request]: Auto-pull recent session context on daily reset #82334

Description

@lovelefeng-glitch

Feature Request

Problem

When the daily session reset fires at the configured time (e.g. 4am), a brand-new session is created with zero context from the previous session. This creates a jarring "interruption" experience:

  1. User has an active conversation with the AI (context, references, ongoing discussions)
  2. Session resets → new session starts completely blank
  3. User sends a message → AI has no idea what was discussed before
  4. User must manually re-explain context, defeating the purpose of a personal AI assistant

Current Behavior

  • Daily reset at atHour: 4 creates a clean session
  • No mechanism to carry forward recent conversation context
  • The only workaround is manually referencing past topics or relying on MEMORY.md (which is manually maintained)

Proposed Solution

On daily session reset, automatically inject a context summary of the previous session into the new session. This could work as:

  1. Auto-summary injection: Generate a concise summary of the last N messages (or last N minutes) from the previous session and prepend it as system context in the new session
  2. Configurable option: Something like:
"session": {
  "reset": {
    "mode": "daily",
    "atHour": 4,
    "carryContext": {
      "enabled": true,
      "maxMessages": 20,
      "summaryPrompt": "Summarize the recent conversation context for continuity"
    }
  }
}
  1. Lightweight alternative: Even just injecting the last 5-10 message titles/topics (not full content) would help the AI understand "we were talking about X"

Why This Matters

  • Continuity: Personal AI should feel like an ongoing relationship, not a series of disconnected sessions
  • Productivity: Users shouldn't need to re-explain context every morning
  • The "interruption" feeling: Even though daily resets are good for context window management, the hard reset feels like the AI "forgot" everything — which breaks trust

Alternatives Considered

  • MEMORY.md: Works for explicit notes but misses ongoing discussions and ephemeral context
  • Session history API: Users could manually query, but this defeats the "automatic" expectation
  • Longer sessions: Just delays the problem; context window still fills up

Environment

  • OpenClaw version: 2026.5.12
  • Platform: Windows 11
  • Session reset config: mode: "daily", atHour: 4

Additional Context

This is a UX improvement request. The daily reset mechanism works correctly — the ask is to make the transition between sessions smoother by preserving conversational continuity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions