Problem / Motivation
Using /clear or /new in a chat session appears to reset the conversation — the visible history disappears — but the reset doesn't actually stick. As soon as the next message is sent, the full previous conversation history reappears, and the agent's replies show it still remembers everything from before the "clear." The conversation was never really reset; only the on-screen display was temporarily hidden.
This is misleading: users rely on /clear//new to start a genuinely fresh conversation (e.g. to drop unwanted context, sensitive prior content, or just start over), and right now that guarantee doesn't hold.
Goal
Typing /clear or /new (or triggering an equivalent "new conversation" action) should genuinely start a fresh conversation — with the agent's own memory of prior turns actually discarded, not just hidden from view — and that fresh state should persist across sending new messages and reconnecting/refreshing the page.
Scope
- Make
/clear and /new result in an actual fresh conversation, not just a UI-level hide of prior messages.
- Ensure the fresh state is durable: sending a new message afterward must not bring back the old history or have the agent respond as if it remembers the pre-clear conversation.
- Ensure this also holds after a page reload / reconnect (a rejoin shouldn't resurrect the cleared history).
- Give the user a clear, reliable way to start a new conversation (whether via typed command or a UI control) with consistent behavior between the two.
Non-goals
- Preserving or archiving the old conversation for later retrieval as part of this fix (that could be a separate feature).
- Changing how conversations are named, listed, or organized.
Acceptance Criteria
Open Questions
- Should
/new remain a supported shortcut distinct from /clear, or should it be treated identically (e.g. both trigger the same "start fresh" action)?
Problem / Motivation
Using
/clearor/newin a chat session appears to reset the conversation — the visible history disappears — but the reset doesn't actually stick. As soon as the next message is sent, the full previous conversation history reappears, and the agent's replies show it still remembers everything from before the "clear." The conversation was never really reset; only the on-screen display was temporarily hidden.This is misleading: users rely on
/clear//newto start a genuinely fresh conversation (e.g. to drop unwanted context, sensitive prior content, or just start over), and right now that guarantee doesn't hold.Goal
Typing
/clearor/new(or triggering an equivalent "new conversation" action) should genuinely start a fresh conversation — with the agent's own memory of prior turns actually discarded, not just hidden from view — and that fresh state should persist across sending new messages and reconnecting/refreshing the page.Scope
/clearand/newresult in an actual fresh conversation, not just a UI-level hide of prior messages.Non-goals
Acceptance Criteria
/clearor/new, the next message sent does not surface any prior conversation history in the UI./clearor/new, the agent's response does not reflect memory of the conversation that happened before the clear.Open Questions
/newremain a supported shortcut distinct from/clear, or should it be treated identically (e.g. both trigger the same "start fresh" action)?