Skip to content

feat(desktop): add agents without starting - #7205

Open
ismcaldwell wants to merge 1 commit into
block:mainfrom
ismcaldwell:codex/471-add-agent-without-start
Open

feat(desktop): add agents without starting#7205
ismcaldwell wants to merge 1 commit into
block:mainfrom
ismcaldwell:codex/471-add-agent-without-start

Conversation

@ismcaldwell

@ismcaldwell ismcaldwell commented Sep 1, 2026

Copy link
Copy Markdown

Summary

Adds an explicit Add without starting action for stopped local managed agents in the channel members sidebar.

The new path:

  • publishes channel membership without calling either managed-agent start command;
  • verifies through the production agent-list seam that the agent remains stopped;
  • reports unconfirmed membership and post-membership status drift as visible failures; and
  • leaves the existing row-click and Add and start behavior unchanged.

The two actions have distinct accessible labels. The regression coverage exercises pointer and keyboard activation and asserts that no start command is emitted.

Related issue

Fixes #7202.

Related but distinct: #4835 concerns finding and re-adding removed personal agents, while #6468 concerns externally managed runtimes.

Testing

  • pnpm check (existing unrelated warnings only)
  • desktop unit suite: 5,886 passed
  • focused Playwright: existing managed-agent invite/remove plus new stopped-agent no-start flow, 2 passed
  • production desktop build
  • workspace Rust formatting, clippy, and all ten infra-free Rust unit groups (including 899 buzz-acp tests)
  • web production build
  • Flutter analyze and mobile suite: 2,019 passed
  • git diff --check

The aggregate local just ci command could not finish desktop-tauri-test because the Mac ran out of disk while linking the unchanged Rust desktop library. No Rust or Tauri source is modified by this PR; the repository-hosted CI remains the authoritative full-platform gate.

Before

Before: a stopped local agent exposes one Add action

After

After: a stopped local agent exposes Add without starting and Add and start

Signed-off-by: Ism Caldwell <formal.manned_04@icloud.com>
@ismcaldwell
ismcaldwell requested a review from a team as a code owner September 1, 2026 19:39
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

🔐 Codex Security Review

Status: review required for the current range.

The current range is 42b42447b0dc47c3e1a4d95caab893567dcd1677...588efb71409cf96a0492921686c63796b9199fa3.
A new review must complete for this exact range. When manual authorization
is required, a Block organization member must comment exactly
@buzz-security-review 588efb71409cf96a0492921686c63796b9199fa3 to authorize a new review.
Any previous review applies only to its recorded range.

@ismcaldwell

Copy link
Copy Markdown
Author

Before and after

Before — stopped local agents exposed a single Add action, which also started the runtime:

before-single-add

After — stopped local agents expose separate Add without starting and Add and start actions:

after-add-without-starting

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.

Desktop: allow adding an existing local agent without starting it

1 participant