Summary
Want /new to reset current session to reduce context token usage.
Steps to reproduce
Steps to reproduce:
- Have an active main session with some context
- Send
/new as a standalone message
- Observe that a subagent is spawned instead of resetting
Expected behavior
Expected behavior:
/new should reset the current session (clear context/tokens in-place)
- Should get a greeting in the same session
- No subagent should be created
Actual behavior
Actual behavior:
/new spawns a new subagent session instead
- Main session context is NOT cleared (tokens unchanged)
- Subagent receives the greeting prompt
OpenClaw version
- OpenClaw version: 2026.2.12 (f9e444d)
Operating system
- Platform: macOS 15.6 (arm64)
Install method
No response
Logs, screenshots, and evidence
**Evidence:**
# Main session NOT reset:
agent:main:main (26k tokens - should be ~0 after /new)
# Unwanted subagent created:
agent:main:subagent:d9c65331-b5a8-4d1c-9452-b39c4f5da0d2
**Documentation reference:**
According to [slash-commands.md](https://docs.openclaw.ai/tools/slash-commands):
> `/new` or `/reset` starts a **fresh session for that chat**
This should reset in-place, not spawn a subagent.
Impact and severity
Impact:
- Users cannot clear session context as intended
- Unwanted subagent sessions accumulate
- Session management becomes confusing
Additional information
No response
Summary
Want /new to reset current session to reduce context token usage.
Steps to reproduce
Steps to reproduce:
/newas a standalone messageExpected behavior
Expected behavior:
/newshould reset the current session (clear context/tokens in-place)Actual behavior
Actual behavior:
/newspawns a new subagent session insteadOpenClaw version
Operating system
Install method
No response
Logs, screenshots, and evidence
Impact and severity
Impact:
Additional information
No response