Repository navigation
feat(coding-agent): add child-to-parent escalation reports - #117
Merged
Issacboy123 merged 2 commits intoAug 28, 2026
Merged
Issacboy123 merged 2 commits into
Issacboy123 merged 2 commits into
Conversation
Pepps233
force-pushed
the
feat/enable-subagent-escalations
branch
from
August 25, 2026 14:36
5fa9e99 to
12d999e
Compare
Pepps233
force-pushed
the
feat/enable-subagent-escalations
branch
from
August 25, 2026 16:42
12d999e to
400d2ec
Compare
Pepps233
self-requested a review
August 25, 2026 16:50
Pepps233
approved these changes
Aug 25, 2026
Issacboy123
force-pushed
the
feat/enable-subagent-escalations
branch
from
August 27, 2026 10:54
400d2ec to
d9d0cd4
Compare
Issacboy123
force-pushed
the
feat/enable-subagent-escalations
branch
from
August 27, 2026 23:11
d9d0cd4 to
81e863a
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 lets a running child alert its parent about important information before the child finishes. A child can report a blocker, risk, contradiction, or decision that may change the parent's plan. Reports reach only the correct parent, stay within fixed size limits, and can be saved for the next parent turn without starting a new provider request while the parent is idle.
This PR is stacked on
feat/delete-owned-subagent-sessions, the completed persistent-subagent stack.Reasoning
Controller-issued capabilities bind delivery to the exact current child record and live session, preventing a stale or same-name replacement child from selecting or reaching a recipient. A private child-tool injection lane keeps the tool unavailable to root and standalone SDK sessions while reserving its name from public custom tools. Reusing the root's existing FIFO steering and JSONL custom-message paths preserves established ordering and persistence behavior; active queued reports remain non-durable until delivery, and hidden delivery does not imply secrecy.
Changes
escalate_to_parenttool with a 1,000-character message limit and acknowledgement that does not echo submitted content.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