Skip to content

[Bug]: /reset /new don't load daily summary #22338

@armstrong-pv

Description

@armstrong-pv

Summary

When you issue /reset or /new commands the daily summary file isn't loaded, at least with Claude Sonnet 4.5

Steps to reproduce

  1. Create ~/.openclaw/workspace/AGENTS.md with:
    ## Every Session
    On every session start:
    1. Load ONLY these files:
       - SOUL.md, USER.md, IDENTITY.md
       - memory/YYYY-MM-DD.md (if it exists)
  2. Create ~/.openclaw/workspace/memory/< CurrentDate >.md with test content
  3. Run /new
  4. Ask agent: "What context do you have loaded?"

Expected behavior

• Agent loads memory/< CurrentDate >.md before greeting
• Agent confirms daily memory is loaded when asked

Actual behavior

• Agent greets immediately
• Reports daily memory missing

OpenClaw version

2026.2.19-2

Operating system

Linux 6.8.0-51-generic x64

Install method

curl -fsSL https://openclaw.ai/install.sh | bash

Logs, screenshots, and evidence

Image Image

Impact and severity

Users issuing the /reset /new commands and using Claude Sonnet 4.5

Additional information

I believe this file:

https://github.com/openclaw/openclaw/blob/main/src/auto-reply/reply/session-reset-prompt.ts#L1

Should be updated from:

export const BARE_SESSION_RESET_PROMPT =
  "A new session was started via /new or /reset. Greet the user in your configured persona, if one is provided. Be yourself - use your defined voice, mannerisms, and mood. Keep it to 1-3 sentences and ask what they want to do. If the runtime model differs from default_model in the system prompt, mention the default model. Do not mention internal steps, files, tools, or reasoning.";

To:

export const BARE_SESSION_RESET_PROMPT =
  ""A new session was started via /new or /reset. Execute your Session Startup sequence now — read the required files before responding to the user. Greet the user in your configured persona, if one is provided. Be yourself - use your defined voice, mannerisms, and mood. Keep it to 1-3 sentences and ask what they want to do. If the runtime model differs from default_model in the system prompt, mention the default model. Do not mention internal steps, files, tools, or reasoning.";

This should make sure the model follows all of the startup sequence before greeting the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions