-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
P1-high-betaHigh priority - should fix before beta for best experienceHigh priority - should fix before beta for best experiencebugSomething isn't workingSomething isn't workingtestinguxv1-legacyV1-specific issue, retained as reference for Phase 3 UI rebuildV1-specific issue, retained as reference for Phase 3 UI rebuild
Description
Problem
Newly created projects enter a "stuck state" in the discovery phase where no current question is available. The backend logs show repeated warnings about this condition.
Backend Logs (repeated for each new project)
Project 89: Discovery in stuck state - no current question
Project 90: Discovery in stuck state - no current question
Project 91: Discovery in stuck state - no current question
...
Observed Pattern
- Issue occurs immediately after project creation
- Affects projects created via UI during E2E tests
- Projects are in discovery phase but have no question to display
- May be related to [P1] Restart Discovery button non functional #247 (Restart Discovery non-functional) but affects NEW projects
Impact
- New project creation appears broken to users
- Discovery can't proceed without a question
- User left on dashboard with no actionable state
- Forces manual intervention or project recreation
Possible Root Causes
- Discovery initialization not generating first question
- Race condition between project creation and discovery start
- Question generation fails silently
- Discovery state not properly initialized
Related Issues
- [P1] Restart Discovery button non functional #247 - Restart Discovery button non functional (different: affects existing projects)
Affected Files
codeframe/discovery/modulecodeframe/ui/routers/discovery.pycodeframe/agents/lead_agent.py(discovery orchestration)
Expected Behavior
- User creates new project
- Discovery starts automatically
- First discovery question is immediately available
- User can answer questions without intervention
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1-high-betaHigh priority - should fix before beta for best experienceHigh priority - should fix before beta for best experiencebugSomething isn't workingSomething isn't workingtestinguxv1-legacyV1-specific issue, retained as reference for Phase 3 UI rebuildV1-specific issue, retained as reference for Phase 3 UI rebuild