Repository navigation
delegate_task: run tracked tasks in another local project - #427
Merged
Merged
Conversation
Tool, contract and docs text for local cross-project tasks; context budget and a tool-use eval case.
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.
Problem
delegate_taskrejected a localtarget.projectIddifferent from the parent's. Usingt3_thread_launchinstead lost task tracking, cancellation, and completion wakes.Change
A different local project now receives an ordinary child thread tracked by the parent's durable task, using the existing RemoteDelegation record/follow/wake lifecycle with local thread services. No peer link or linked-environments setting is required. Same-project delegation is unchanged. Worktree isolation starts from the target repository's HEAD, excluding uncommitted changes. Archived target projects remain allowed, matching
t3_thread_launch.Opus findings addressed
delegatedFromchildren participate in approval propagation; browser coverage verifies a notification opens the parent, not the hidden child.98eb99781c676c6d8aa0410bb58141Localwith the target project title (label-only option; clienton/incopy is unchanged).fd53830b3d71228a460b34fa25a109orchestration.ndjson.db07af7a29be695e03a9914f3d82f8Verification
threadShell, notification coordinator browser tests,OrchestratorMcpService,RemoteDelegation, project handlers, andAgentContextBudget).vp run check:changed: passed — format, lint, both knip checks, GraphQL codegen, typecheck for 37 affected packages, 293 tests across 18 files, and the affected React compiler check.delegate-local-other-project. Live evals were not run: this host has no Anthropic key or vibeproxy.2955bd396b): measured MCP tool-list JSON is 49,064 bytes, down from 49,295 and 11 bytes below main's 49,075. The budget test supplies the measured numbers; this checkout has no budget generator. ShortenedprojectIdandisolationdescriptions retain local-project selection, target-repo HEAD worktrees, and the cross-environment worktree restriction; removed redundant delegation prose. System-append budgets are unchanged.Kept as a draft; no merge or release.
Review fixes implemented by GPT-6 Astra in pi (shuvpi).