Repository navigation
Conversation
Global setting, off by default. create_task with relation 'independent' takes an optional project, by id or by name ignoring case; an unknown or ambiguous name lists the projects. Each task in another project asks the user first in a native dialog that shows both projects, the task and its prompt, with Deny as the default, one dialog at a time. The call waits for the answer, and rechecks the setting, pause, orchestration and session after it. The task is otherwise an ordinary independent task of the target project: the creator's agent, sandbox and permission propagation, its main branch, and the creator's independent-task cap. Children stay in the creator's project. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gnutix
added a commit
to gnutix/parallel-code
that referenced
this pull request
Nov 16, 2026
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
An agent working in one project sometimes finds work that belongs to another one. For example, an app's agent hits a bug in a library you also have open in Parallel Code. Today it can only describe the bug: 53a6add made other projects readable, but
create_taskstill creates tasks in the caller's project only.This adds the write half, kept as narrow as the read half:
create_taskwithrelation: 'independent'takes an optionalproject: an id, or a name matched without regard to case. An unknown name answers with the list of projects, and an ambiguous one with names and ids. Naming the caller's own project is an ordinary independent task.relation: 'child'withprojectis refused, so children stay in their parent's project.Main resolves names through the renderer's project list (the request the phone already uses), because project names and removals live there.
docs/design-doc.mddescribes the setting next to the read setting.Screenshots
Settings > Agents, with agent orchestration on:
Test plan
npm run checknpm test(both suites)delegation.test.tscases: refused while off (no listing, no dialog), waits for approval and passes the target project, replays without a second dialog, a reused request ID for another project is refused, denial creates nothing, own project skips the dialog, unknown and ambiguous names list projects, switching the setting off or pausing during the dialog refuses after approval, one dialog at a time, children refused.🤖 Generated with Claude Code (Opus 5.5)