Ship idle-with-fleet so Enter is a turn while workers run - #692
Merged
TheGreatAxios merged 1 commit intoAug 25, 2026
Merged
Conversation
The prompts told Skywalker to dispatch and go idle, but the runtime still treated a settled parent turn with live workers as an ordinary settle: the run went idle, queued follow-ups drained while the fleet was still running (breaking session-idle semantics), and nothing distinguished "parent busy" from "parent idle, fleet live". The runner now emits a fleet event carrying the live-lane count on every transition. The bridge holds the run busy on that count after the parent turn settles: Enter upgrades to a new primary turn sent immediately instead of queueing a steer behind a parent tool that no longer exists, Alt+Enter follow-ups keep waiting for true session-idle, and the last lane terminalizing releases the hold and drains them. A steer left pending when the hold engages delivers at once — the parent it was steering has already stopped. Base orchestrator guidelines no longer push spawn-then-wait in one breath; they teach ending the turn and collecting on a later one. Docs flip "idle-with-fleet is not shipped" to the shipped behavior.
TheGreatAxios
commented
Aug 25, 2026
TheGreatAxios
left a comment
Collaborator
Author
There was a problem hiding this comment.
Review · Approve
After spawn_agent the parent can settle while workers run: the runner emits fleet live-lane counts and the bridge holds the run busy so Enter is a new turn and Alt+Enter still waits for session-idle.
No findings.
GitHub will not record an approval from the PR author; this comment is the review.
TheGreatAxios
added a commit
that referenced
this pull request
Aug 27, 2026
…parent-goes-idle-after-spawn-so-enter Ship idle-with-fleet so Enter is a turn while workers run
TheGreatAxios
added a commit
that referenced
this pull request
Aug 27, 2026
…parent-goes-idle-after-spawn-so-enter Ship idle-with-fleet so Enter is a turn while workers run
TheGreatAxios
deleted the
cl-7057-ship-idle-with-fleet-parent-goes-idle-after-spawn-so-enter
branch
August 27, 2026 23:59
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
spawn_agentdispatch, the primary can settle its turn while workers keep running: the runner emits afleetevent carrying the live-lane count on every transition, and the bridge holds the run busy on that count instead of treating the parent settle as session-idle.wait_agents/list_agentslater; docs flip "idle-with-fleet is not shipped" to the shipped behavior in PRODUCT, IMPLEMENTATION, and TUI.Verification
bun run checkpasses (lint, typecheck, build, 5535 tests), including new idle-with-fleet bridge tests (hold engages, Enter mid-hold is a new turn via key path, Alt+Enter mid-hold queues then drains at fleet zero, pending-steer delivery at hold engagement, mid-turn zero count does not idle a working parent) andliveFleetCountunit testsbun test ./src/tui ./src/subagent --randomizepassesFixes CL-7057