fix(desktop): align team agent deletion feedback - #4740
Open
SmithLabsLLC wants to merge 1 commit into
Open
Conversation
Signed-off-by: Smith Labs LLC <232409717+SmithLabsLLC@users.noreply.github.com>
Author
Before and after screenshotsAgent cardBefore: the card reports only the managed-agent assignment. After: the card reports the current team membership and required cleanup. Profile settingsBefore: profile deletion reports success even though the team keeps the persona visible. After: profile deletion reports the same team-membership blocker and leaves the agent intact. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Summary
Problem
Deleting a running built-in agent from the card could report only that it was assigned to a managed agent, even when team membership was the blocker. Deleting the same agent from profile settings could then show a success toast while the team kept the persona visible.
Implementation
Manual test
Testing
The full repository-wide
just cirelease suite was not run locally; focused change-specific checks passed and upstream CI will run on this reviewed commit.Screenshots
Agent card
Before: the card reports only the managed-agent assignment.
After: the card reports the current team membership and required cleanup.
Profile settings
Before: profile deletion reports success even though the team keeps the persona visible.
After: profile deletion reports the same team-membership blocker and leaves the agent intact.
Related work
No exact duplicate issue or pull request was found. Issues #4591 and #3085 discuss related team cleanup problems but not this two-entry-point deletion inconsistency.
Deferred