Skip to content

bug: Workspace Main after Reset shows only the reset notice, not the new-chat empty state #3795

Closed

Description

@vybe

Problem

After Reset on an agent's Main chat in the Workspace, the fresh Main shows only the centred system line

Main was reset. The previous conversation is saved as "…".

and nothing else — the new-chat empty state (briefing, hints, suggestions) never appears, so the reset chat looks blank instead of inviting a first message.

Root cause

reset_main_session (src/backend/client_portal/service.py) writes one role: "system" message (MAIN_RESET_NOTICE) into the freshly minted Main. The conversation renders its empty slot only when messages.length === 0 (src/frontend/src/components/portal/PortalConversation.vue), so that one signpost suppresses the whole new-chat state.

Everything else already treats the row as empty: the notice does not bump message_count/last_message_at, so the landing rule (agentEmptyChat) and Reset's "already fresh" no-op both see a fresh chat. Only the renderer disagrees.

Acceptance Criteria

  • A chat whose only messages are role: "system" lines renders the new-chat empty state (briefing + suggestions)
  • The reset system line stays visible (muted signpost) alongside the empty state
  • A chat with any user/assistant message renders no empty state (unchanged)
  • Unit test pins the "empty = no non-system messages" rule

Activity

  1. vybe commented on Oct 18, 2026

    @vybe
    ContributorAuthor

    /claim

  2. github-actions commented on Oct 18, 2026

    @github-actions

    Claimed by @vybe. Label status-in-progress added.

    Next steps:

    1. Create branch: feature/3795-<short-slug>
    2. Implement the feature
    3. Open a PR with Fixes #3795
  3. added
    status-in-devMerged to dev, awaiting release cut to main
    and removed on Oct 19, 2026
  4. removed
    status-in-devMerged to dev, awaiting release cut to main
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions