Skip to content

[Bug]: /new command spawns subagent instead of resetting session #53335

@ChenBerlin

Description

@ChenBerlin

Bug type

Regression (worked before, now fails)

Summary

/new cannot reset current session to reduce context token usage.

Steps to reproduce

same as Bug#16732, but /reset can reduce context token usage.

Expected behavior

/new can reduce context token usage.

Actual behavior

/new cannot reduce context token usage but create a new subagent session.

OpenClaw version

2026.3.23

Operating system

macOS 26.3 (25D125)

Install method

No response

Model

gpt-5.4 openai-codex

Provider / routing chain

opencalw -> codex -> openai

Additional provider/model setup details

model: openai-codex(OAuth)

Logs, screenshots, and evidence

Impact and severity

Users cannot clear session context as intended
Unwanted subagent sessions accumulate
Session management becomes confusing

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    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