Skip to content

Bug: Removed agent still appears in workspace sidebar #347

@baryhuang

Description

@baryhuang

Description

When an agent is removed from a workspace, it still appears in the sidebar under the "Agents" section. The agent count header shows the correct number (e.g., "Agents (2/4)"), but all previously added agents remain visible in the list.

Steps to Reproduce

  1. Add agents to a workspace
  2. Remove an agent from the workspace
  3. Observe the sidebar — the removed agent still appears in the agent list

Expected Behavior

Removed agents should no longer appear in the workspace sidebar agent list.

Actual Behavior

Removed agents persist in the sidebar. The agent count may update, but the agent entry is not removed from the UI.

Screenshot

Workspace sidebar showing agents that should have been removed

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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