Fan out over the top of the AI queue: one agent per top entry, count set beside the button (default 3) - #1687
Merged
Conversation
… agent per top entry, the count set beside it (default 3) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014rbYrkf4V76bEszetYStXE
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.
Adds the requested button to spin up X agents working on the top X queue entries — one agent per entry — with X set by the user and defaulting to 3.
What it does
Each project header in the Overview's AI Queue card now carries, beside the open-entries badge:
MAX_AUTO_PM_CONCURRENCY, the same bound as the routine panel's concurrent-agents setting), andBehavior details:
workOnEntryPrompt(entry)— the raw queue line, not the tidied title — for the same reason the drain sweep pins its batch (Setting to set number of concurrent agents #1204): several agents told to work "the first open entry" would all implement the same one.min(X, open)), singular wording for one.Run now=> shows new session instead of the newly created session #1191): a batch has no single agent to follow; the started agents surface in the Agents card right above.busyflag briefly drops.Spec updates (SDD)
AiQueue.SPEC.md: new "Fanning out over the top of the queue" section + TL;DR/user-story entries.AiQueue.test.SPEC.md: coverage lines for the new tests.FEATURES-SPEC.md: feature line under "Starting work" (feature explicitly requested, which I've taken as the human approval the file requires).Tests
7 new tests in
AiQueue.test.tsx(default of 3 skipping done entries, count box driving the batch size, cap at open entries, singular label, stop at first refusal, disabled-while-in-flight incl. mid-batch, no navigation); one existing test updated for the second header button. Dashboard suite: 84 files / 827 tests green;pnpm typecheckclean.🤖 Generated with Claude Code
https://claude.ai/code/session_014rbYrkf4V76bEszetYStXE
Generated by Claude Code