feat(desktop): add per-agent working directories - #4977
Open
iminierai-aig wants to merge 1 commit into
Open
Conversation
Signed-off-by: Johnny <iminierai@gmail.com>
iminierai-aig
force-pushed
the
pr004/per-agent-workdir
branch
from
August 5, 2026 23:42
5116201 to
c1c5fee
Compare
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
Adds an optional machine-local working directory to each Desktop-managed agent so its
buzz-acpprocess can start in an explicitly selected workspace instead of always using the shared Buzz nest.buzz-acpparent processThis is working-directory enforcement only. It is not a sandbox, credential boundary, or filesystem isolation mechanism.
Related issue
Addresses the optional per-agent working-directory portion of #3364. #3822 describes broader channel-scoped/runtime-portable workspace routing, which remains out of scope.
No duplicate implementation PR was found.
Testing
After rebasing onto
mainat06b60e6:edit-agent.spec.tsPlaywright tests passed, including working-directory save/reopen persistencegit diff --checkpassedBefore the rebase, an isolated x86_64 macOS app bundle also built with a development-only identifier and completed a 12-second startup smoke test without fatal errors. The relevant checks were run separately rather than through one aggregate
just ciinvocation.UI
Advanced agent settings expose the optional machine-local path and state the security boundary explicitly.