Repository navigation
Sidebar: nest forks under their parent and keep a delegating family on Working - #1421
Merged
Merged
Conversation
A fork (handoffFrom without orchWorker) now groups under the thread that started it, like an orchestration worker. A family sits on the Working shelf while any member is quietly working, unless a member needs the user, so a lead that finished its turn no longer reads done while its fork runs. orchWorker keeps its backend meaning. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A plain fork is titled "Fork: <lead title>". Nested rows strip that prefix for orchWorkers, which made a nested fork read as a copy of its lead. Only strip it for orchWorkers. Tests that click a fork card now expand the lead's family first, since forks start collapsed like workers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
#1415 asserts the chip-started thread is visible in the sidebar. With plain forks now nested (collapsed) under their source, the test expands the source's family first; the comments in handleStartSuggestion say where the worker shows up. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Two sidebar bugs:
orchWorker) nested under the thread that started them. Forks from suggestion chips and the Fork button showed as separate rows, so a running fork could sit on the Working shelf apart from its parent.Changes
isFamilyChild(anyhandoffFrom) now drives renderer grouping:crewAncestorIds,nestWorkerFamilies,workerIdsByRoot, search context and the settled/pinned nesting.isCrewWorkerkeeps its backend meaning, so crew notices, spend caps and peer messaging are untouched.buildFlatSidebarfiles a family as one unit. It goes on Working while any member is running, unless a member is waiting on the user, stalled or failed. A family with nothing running, for example all workers stopped, stays in the inbox.buildWaitStatescounts plain forks, so a parent with a running fork reads Delegating.Behaviour to note: an old thread whose plain fork was stopped mid-run and never restarted will now show "Waiting on 1 worker · stopped" instead of Done. That already happened for agent workers.
Verification:
npm run test:rendererpasses 2674/2674,npm run typecheckandnpx vite buildare clean. New tests: an idle lead with a running fork or worker files to Working; a family with a blocked or failed member stays in the inbox.🤖 Generated with Claude Code