-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Feature]: /label slash command & /new <name> session naming for WebChat/Control UI #93422
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Summary
Add a
/label <name>slash command and/or support/new <name>to let WebChat/Control UI sessions carry a user-friendlydisplayName, making it easy to identify and switch between multiple dashboard sessions.Problem to solve
When opening multiple WebChat/Control UI sessions via
/new, each one gets an auto-generated session key likeagent:main:dashboard:<random-uuid>. The session picker in the Control UI lists these by UUID, making it nearly impossible to tell which session was used for which task without opening each one. For power users managing several parallel sessions (e.g., one per project), this adds friction and wastes time.Proposed solution
Two non-mutually-exclusive options:
/label <name>— A slash command that sets the sessiondisplayNamefield in the session store (field already exists inSessionEntryschema, just not surfaced in WebChat). The label appears in the Control UI session picker dropdown instead of the raw UUID-based key./new <name>— Extend the existing/newcommand to accept an optional trailing argument. When provided, OpenClaw creates a fresh dashboard session with adisplayNameset to that name.Both options should persist across session resets and be visible in
openclaw sessions --jsonoutput and the Control UI session selector.Alternatives considered
Impact
/newsession switch.Evidence
SessionEntrystore schema already has adisplayNamefield (see session-management-compaction docs)./newcreates sessions with keys likeagent:main:dashboard:<uuid>with no display name support.Additional information
/newwith no args keeps current behavior.openclaw sessions --jsonoutput for CLI users too.