fix(dispatch): add initialPrompt to all dispatch commands - #619
Conversation
genie work/brainstorm/wish/review spawned agents with context in the system prompt but no initial user message. Claude Code needs a user turn to start working, so agents sat idle at the > prompt. Added initialPrompt to all four handleWorkerSpawn calls so agents start executing immediately on spawn. Closes #583 (partially — engineers now receive work automatically)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request resolves an issue where AI agents, when dispatched via Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
Summary
All four dispatch commands (
genie work,genie brainstorm,genie wish,genie review) spawned agents with context in the system prompt but no initial user message. Claude Code needs a user turn to start working, so agents sat idle at the>prompt forever.Added
initialPromptto allhandleWorkerSpawncalls — agents now start executing immediately on spawn.What was broken
What's fixed
Test plan
genie work engineer <slug>#<group>— engineer starts immediatelygenie brainstorm <agent> <slug>— agent starts brainstorminggenie wish <agent> <slug>— agent starts writing wishgenie review <agent> <ref>— reviewer starts reviewing