You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: [Ideate Phase does not use predefined agents to create RFE] #182
Summary: Ideate Phase does not use predefined agents to create RFE
Expected Behavior: As shown in previous demos and discussions, the Ideate phase was supposed to use the pre-defined agent definitions to create the rfe.md based on multiple persona inputs.
Actual Behavior: Claude created the rfe.md using its own perspective and data. It did not call the specific agents.
Recent Changes: [Any recent changes that might be related]
🔍 Possible Solution
According to @Gkrumbach07 the original Ideate prompt which directed Claude to use the subagents got lost in one of the recent updates. Could it please be added back?
✅ Acceptance Criteria
Bug is reproduced and root cause identified
Fix is implemented and tested
Regression tests added to prevent future occurrences
@claude confirm that the steps to reproduce the issue have been resolved in main. If they have, report back and let us know we can close this issue. If not, share a root-cause-analysis and suggest a fix for another agent to help triage.
Finding: PR #185 added an agent selector UI and passes selected agents to the Ideate prompt, but the prompt does not actually invoke the agents - it only mentions them as "available."
The PR added agent selection UI and modified /api/projects/[name]/rfe-workflows/[id]/agents/route.ts
However, the Ideate phase prompt in components/frontend/src/app/projects/[name]/rfe/[id]/rfe-phase-cards.tsx:214-215 still has the same behavior
Current Behavior (lines 62-81 in rfe-phase-cards.tsx):
constgetAgentInstructions=()=>{// ... builds a list of selected agents ...return`\n\nIMPORTANT - Selected Agents for this workflow:The following agents have been selected to participate in this workflow. Invoke them by name to get their specialized perspectives:${agentList}You can invoke agents by using their name in your prompts. For example: "Let's get input from ${selectedAgentDetails[0]!.name} on this approach."`;};
The Problem: This instruction is passive - it tells Claude that agents are available but doesn't direct Claude to proactively invoke them. The original behavior (per @Gkrumbach07's comment in the issue) was supposed to have an explicit prompt that instructs Claude to use the agents.
Recommended Fix
The getAgentInstructions() function should be modified to actively direct Claude to invoke the selected agents, not just mention them as available. For example:
constgetAgentInstructions=()=>{if(selectedAgents.length===0)return'';constselectedAgentDetails=selectedAgents.map(persona=>AVAILABLE_AGENTS.find(a=>a.persona===persona)).filter(Boolean);if(selectedAgentDetails.length===0)return'';constagentList=selectedAgentDetails.map(agent=>`- ${agent!.name} (${agent!.role})`).join('\n');return`\n\nIMPORTANT - Multi-Agent Collaboration Required:You MUST gather input from ALL of the following selected agents before finalizing the rfe.md:${agentList}INSTRUCTIONS:1. For EACH agent listed above, invoke them by name using the Task tool2. Ask each agent to provide their specialized perspective on the feature requirements3. Synthesize all agent inputs into a comprehensive rfe.md4. Ensure the final rfe.md reflects diverse viewpoints from all selected personasExample invocation: "I need to get ${selectedAgentDetails[0]!.name}'s perspective on the technical architecture requirements for this feature."`;};
Summary
✅ PR #185 has been merged to main
❌ The issue is NOT resolved - agents are still not being invoked
📋 Action needed: Modify getAgentInstructions() to actively direct Claude to invoke selected agents
The fix requires changing the prompt in components/frontend/src/app/projects/[name]/rfe/[id]/rfe-phase-cards.tsx (specifically the getAgentInstructions() function starting at line 62).
Recommendation: Keep issue #182 open and implement the suggested fix above, or create a new issue to track this remaining work.
Activity
MichaelClifford commentedon Oct 15, 2025
#185 should address this issue
bobbravo2 commentedon Oct 30, 2025
@MichaelClifford thank you!
@claude confirm that the steps to reproduce the issue have been resolved in main. If they have, report back and let us know we can close this issue. If not, share a root-cause-analysis and suggest a fix for another agent to help triage.
claude commentedon Oct 30, 2025
Claude finished @bobbravo2's task —— View job
Investigation Complete: Issue NOT Fully Resolved
I've completed my investigation and found that the issue reported in #182 has NOT been fully resolved, even though PR #185 has been merged to main.
Tasks
Root Cause Analysis
Finding: PR #185 added an agent selector UI and passes selected agents to the Ideate prompt, but the prompt does not actually invoke the agents - it only mentions them as "available."
Evidence:
2096b4c) is merged to main (5 commits back from HEAD)/api/projects/[name]/rfe-workflows/[id]/agents/route.tscomponents/frontend/src/app/projects/[name]/rfe/[id]/rfe-phase-cards.tsx:214-215still has the same behaviorCurrent Behavior (lines 62-81 in rfe-phase-cards.tsx):
The Problem: This instruction is passive - it tells Claude that agents are available but doesn't direct Claude to proactively invoke them. The original behavior (per @Gkrumbach07's comment in the issue) was supposed to have an explicit prompt that instructs Claude to use the agents.
Recommended Fix
The
getAgentInstructions()function should be modified to actively direct Claude to invoke the selected agents, not just mention them as available. For example:Summary
✅ PR #185 has been merged to main
❌ The issue is NOT resolved - agents are still not being invoked
📋 Action needed: Modify
getAgentInstructions()to actively direct Claude to invoke selected agentsThe fix requires changing the prompt in
components/frontend/src/app/projects/[name]/rfe/[id]/rfe-phase-cards.tsx(specifically thegetAgentInstructions()function starting at line 62).Recommendation: Keep issue #182 open and implement the suggested fix above, or create a new issue to track this remaining work.
Gkrumbach07 commentedon Jan 23, 2026
Closing as stale - RFE workflow structure has evolved significantly since this was reported.