background-agents icon indicating copy to clipboard operation
background-agents copied to clipboard

Add Support for Workspace Separation

Open ColeMurray opened this issue 8 months ago • 5 comments

When creating sessions, I'd like to be able to group them into specific workspaces. this is ideal, especially in a team environment where there is a large amount of sessions happening at the same time and it is otherwise difficult to find the session that i care about

For UI, i'd expect this to show as a dropdown, likely above the existing search bar. For setting this on a session, it likely makes sense to either infer from the currently selected workspace in the sidebar, or add support for this within the main page input box, similar to the branch and model options.

scope wise: it is fine to only have this be a mostly visual feature, potentially long term this will integrate into the large settings (global/repo-level)

implementation wise: i expect this can probably be accomplished by adding a column on the existing sessions table(s) and adding a new workspaces table.

please follow-up with a proposed implementation

ColeMurray avatar Mar 12 '26 16:03 ColeMurray

Likely be nice to group sessions that are in a review stage as well, its already visible from the title updates but could be visually grouped to make session log less busy.

Can have a play if not imminently being changed for the drop down parts?

przcntn avatar Mar 26 '26 21:03 przcntn

@przcntn can you clarify more about the >in a review stage

ColeMurray avatar Mar 27 '26 06:03 ColeMurray

Apologies @ColeMurray I was mixing up surface areas. The Review-Feedback part is in a layer I added not from background-agents.

The context was I copied over the ideas from openai/symphony where it monitors review comments / CI errors that other agent bots leave on the PR and proactively fixes them however it can lead to a lot of noise on the sidebar if the agent did a poor job in first pass so was thinking of a way of grouping.

Image

przcntn avatar Mar 27 '26 08:03 przcntn

got it. this seems related and could be addressed via the workspace, where you could assign those bots to a specific workspace and have their sessions grouped.

ColeMurray avatar Apr 10 '26 07:04 ColeMurray

Resolved by the Teams feature (#2098, #2158, #2164, #2240, plus the bot bindings in #2183, #2225, #2235), verified on current main.

  • Dropdown: a team switcher sits in the sidebar header, next to search (team-switcher.tsx, rendered in session-sidebar.tsx).
  • Grouping and filtering: the sidebar session list is filtered by the active team.
  • Assignment: new sessions take their team from the sidebar selection or from a team picker in the main input box, alongside the branch and model options.
  • Bot sessions: Slack, Linear, and GitHub bindings can route bot sessions into a team, which covers the grouping case raised in the comments.

Teams go a bit further than the mostly-visual scope requested here: they also carry access control, with teams_enforcement defaulting to shadow. Closing.

open-inspect avatar Oct 25 '26 21:10 open-inspect