Repository navigation
feat(coding-agent): resume coordinated waits for escalations - #119
Merged
Issacboy123 merged 4 commits intoAug 28, 2026
Merged
Issacboy123 merged 4 commits into
Issacboy123 merged 4 commits into
Conversation
Pepps233
force-pushed
the
fix/complete-subagent-coordination
branch
from
August 25, 2026 14:36
1a1d9da to
6b083b4
Compare
Pepps233
force-pushed
the
fix/complete-subagent-coordination
branch
from
August 25, 2026 16:42
6b083b4 to
394b8f0
Compare
Pepps233
self-requested a review
August 25, 2026 18:34
Pepps233
approved these changes
Aug 25, 2026
Issacboy123
force-pushed
the
fix/complete-subagent-coordination
branch
from
August 27, 2026 10:54
394b8f0 to
186e41e
Compare
Issacboy123
force-pushed
the
fix/complete-subagent-coordination
branch
from
August 27, 2026 23:11
186e41e to
b0cca68
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
This PR makes child escalation reports useful while the parent is waiting for a group of subagents to finish. An important report can resume the parent so it can react, while the original child work continues and its final results remain scheduled for delivery. Cancellation, shutdown, repeated reports, and later child retries are handled without extra parent turns or duplicate results.
This PR is stacked on
feat/enable-subagent-escalations, which provides child authorization and active or idle report delivery.Reasoning
A single root-owned coordination object keeps the frozen batch, terminal notices, wait abort controller, and exit reason synchronized across multiple continuations. Treating escalation as a temporary wait exit rather than cancellation lets the root react while children continue, whereas cancellation remains authoritative and prevents an extra provider call. Gating terminal wake or message actions protects the frozen run until normal delivery or explicit consumption releases it.
Changes
Testing
node ../../node_modules/vitest/dist/cli.js --run test/suite/subagent-parent-messaging.test.ts test/suite/subagent-services.test.ts test/suite/subagent-registration.test.ts test/suite/subagent-actions.test.ts test/suite/subagent-coordination.test.ts test/suite/subagent-persistence.test.ts test/suite/agent-session-queue.test.ts test/subagent-controller.test.tsnpm.cmd run checkgit diff --check