Skip to content

fix(desktop): confirm before re-adding mentioned non-member agents - #3599

Open
Chessing234 wants to merge 1 commit into
block:mainfrom
Chessing234:fix/mention-no-silent-readd
Open

fix(desktop): confirm before re-adding mentioned non-member agents#3599
Chessing234 wants to merge 1 commit into
block:mainfrom
Chessing234:fix/mention-no-silent-readd

Conversation

@Chessing234

Copy link
Copy Markdown
Contributor

Summary

  • Stop silently re-attaching managed agents that are not channel members when they are @mentioned
  • Route those mentions through the existing non-member invite dialog (copy clarifies re-add)
  • ensureManagedAgentMentionsReady only starts agents already in the channel

Why

After Remove from channel, typing @Agent was undoing the removal and immediately prompting the agent (#3577). The channel owner’s only lever to keep an agent out was being silently overridden.

Test plan

  • Remove an agent from a channel, @mention them — invite dialog appears; choosing Do nothing does not re-add
  • Choose Invite — agent is re-added and the message sends
  • Mention an agent already in the channel — no dialog; send works as before

Fixes #3577

Made with Cursor

Mentioning a removed managed agent no longer silently re-attaches them.
Non-member agent mentions go through the invite dialog; ensure-ready
only starts agents that are already channel members.

Signed-off-by: Taksh <takshkothari09@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@Chessing234

Copy link
Copy Markdown
Contributor Author

@tlongwell-block @wesbillman @wpfleger96 mind taking a look when you get a chance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mentioning a removed member silently re-adds them to the channel

1 participant