-
-
Notifications
You must be signed in to change notification settings - Fork 69.1k
[Bug]: /reset /new don't load daily summary #22338
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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
- Create
~/.openclaw/workspace/AGENTS.mdwith:## 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)
- Create ~/.openclaw/workspace/memory/< CurrentDate >.md with test content
- Run /new
- 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
Impact and severity
Users issuing the /reset /new commands and using Claude Sonnet 4.5
Additional information
I believe this file:
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.