fix(delegation): settle stopped subagents reliably - #1215
Draft
wen2zhou wants to merge 1 commit into
Draft
Conversation
wen2zhou
force-pushed
the
fix/subagent-termination-ui-state
branch
from
August 14, 2026 12:25
98c5a93 to
143a13c
Compare
wen2zhou
force-pushed
the
fix/subagent-termination-ui-state
branch
from
August 14, 2026 14:01
143a13c to
8e186f7
Compare
wen2zhou
marked this pull request as ready for review
August 14, 2026 14:23
wen2zhou
force-pushed
the
fix/subagent-termination-ui-state
branch
from
August 14, 2026 14:51
8e186f7 to
6194fcc
Compare
wen2zhou
marked this pull request as draft
August 14, 2026 14:51
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
A user-reported regression caused stopped subagents to lose output that had already been produced, affected delegated ask-user cards, and allowed notebook
host.stopChildto block indefinitely when provider, artifact, or lease cleanup did not settle.Proposed change
delegated-cleanupdeep Module instead of expanding the delegated-work composer.workspace-subagent-runtime-transcriptdeep Module, leaving the runtime presentation hook focused on subscription and lifecycle fencing.Cancelledlabel and warning-color status semantics.Scope
Acceptance
host.stopChildreturns without waiting indefinitely for external cleanup.Cancelled.Review focus
Related issue
User-reported regression; no issue number.
Verification
All checks below ran after the last material edit:
session_persistenceModule suite: 6 files passed, 265 tests passed.npm run typecheck:nodenpm run typecheck:webgit diff --checkwith no whitespace errors.The known renderer callable-surface count mismatch, stale local Prisma client failures, and Windows E2E failure were independently identified as unrelated to this PR and were not changed here.